Adding link to Planet 2.0
#1
Just popping in
Just popping in


See User information
1) I am trying to add a "more..." link at the end of the feed intro rather than have the users click the "Source" link to go to the web article.

2) Also I need to remove the "next" and "previous" story links.

I have not been able to find the source files for either of these. Any help would be appreciated.

Posted on: 2006/9/3 7:12
 Top  Twitter  Facebook    Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Adding link to Planet 2.0
#2
Friend of XOOPS
Friend of XOOPS


See User information
To edit the article view page:

1) The Source link is on line 13 of template/article.html.

<a href="<{$article.link}>" target="_blank"><{php}>echo planet_constant("MD_SOURCE")<{/php}>a>


Copy the link code, paste it anywhere you want, and update the template.

You can replace the variable "MD_Source" to "More" on the new link:
<a href="<{$article.link}>" target="_blank"><{php}>echo planet_constant("MD_SOURCE")<{/php}>a>
becomes
<a href="<{$article.link}>" target="_blank">Morea>

Or, you can globally change the word "Source" to "More", by editing "_MD_SOURCE" on line 43 of language/yourlanguage/main.php.
define($GLOBALS["VAR_PREFIXU"]."_MD_SOURCE","Source");
becomes
define
($GLOBALS["VAR_PREFIXU"]."_MD_SOURCE","More");


2) To remove sibling articles, visit control panel preferences/planet and set sibling articles to off.

Posted on: 2006/9/3 11:42
 Top  Twitter  Facebook    Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Adding link to Planet 2.0
#3
XOOPS Contributor
XOOPS Contributor


See User information
Thank you tcnet
I look forward to your help with the modules on d.x.o
like:
planet: http://dev.xoops.org/modules/xfmod/project/?planet
mediawiki: http://dev.xoops.org/modules/xfmod/project/?mediawiki

Posted on: 2006/9/3 14:13
 Top  Twitter  Facebook    Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Adding link to Planet 2.0
#4
Just popping in
Just popping in


See User information
Thanks tcnet. Works great.

Posted on: 2006/9/3 18:04
 Top  Twitter  Facebook    Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Adding link to Planet 2.0
#5
Friend of XOOPS
Friend of XOOPS


See User information
Thanks phppp!
Glad to help where I can.

BTW,
Many thanks for the Planet module. It added over 300 articles to my site within minutes of install!

Posted on: 2006/9/3 18:06
 Top  Twitter  Facebook    Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Adding link to Planet 2.0
#6
Friend of XOOPS
Friend of XOOPS


See User information
homerGZ >> My pleasure!

Posted on: 2006/9/3 18:08
 Top  Twitter  Facebook    Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Adding link to Planet 2.0
#7
Just popping in
Just popping in


See User information
Thanks to all involved with the development of this excellent module.

Posted on: 2006/9/3 21:28
 Top  Twitter  Facebook    Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 







You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You can vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.

[Advanced Search]


Login
Username:

Password:

Remember me



Lost Password?

Register now!
Search
Recent Posts
Who's Online
190 user(s) are online (88 user(s) are browsing Support Forums)

Members: 0
Guests: 190

more...
Donat-O-Meter
Make donations with PayPal!
Stats
Goal: AU$15.00
Due Date: May 31
Gross Amount: AU$0.00
Net Balance: AU$0.00
Left to go: AU$15.00
Latest GitHub Commits
Recent forum posts
Recent Comments
About us
Learn
Use
Develop GitHub
Contribute
Connect
Terms of Use | Privacy Policy | Hosted by Arvixe Hosting | RSS 2.0 Button