View Full Version : Whqt's New - add text at bottom of template
LenBackus
05-13-2008, 07:17 AM
Brian, this is directed at the Dyna module that we customized and uploaded for use on CMPS.
I would like to add "more news here >>" to the bottom of the module. Which files or templates will I edit for that?
Brian
05-13-2008, 01:26 PM
Is the "more news here" just going to be shown once at the bottom of the list of entries? If so, the easiest method might be to create a new template module with the 'Use Module Wrapper Template' setting disabled and with code that looks something like this:
<a href="/dynamics/index.php$session[sessionurl_q]" style="float: $stylevar[right]">More News Here</a>
Then just edit the page(s) you want that link to appear on and move your new module just below the Dynamics module.
LenBackus
05-14-2008, 05:16 PM
Brian, a badly worded request on my part.
I want the "more news here >>" to point at "browsecategory" so I was just asking which file or template is used by "what's new" so I can go in and add the text link.
So I discovered it is the adv_dyna_entrybit_lean template. But I still don't know just what to add.
Here is the code I need in there, if you can tell me the right place to put it.
<A HREF="http://www.longrangehunting.com/content/outdoor-news-2/">More News Here >></A>
Brian
05-14-2008, 07:12 PM
What I posted above should still work... Just create the CMPS Template module with the code I posted for the content, then edit your homepage and position that module right below the Outdoor News module.
LenBackus
05-14-2008, 07:50 PM
Done, thanks.
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.