Page 1 of 1

viewing entry body

Posted: Tue Sep 19, 2006 11:49 pm
by jumanjisama
hi all,

i just wanna ask if i could make the link:

Continue reading 'bla bla bla'

redirect to the point where the entry body begins instead of directing visitors to the point where the extended body begins.

i hope you guys understand what i wanna achieve here.any help is really appreciated, thanks in advance :)

Posted: Wed Sep 20, 2006 2:42 am
by stm999999999
in the entries.tpl of your choosen template you will find code like this:

Code: Select all

 {if $entry.has_extended and not $is_single_entry and not $entry.is_extended}
    	    	    <br class="wrap"/><br /><br /><a href="{$entry.link}#extended">{$CONST.VIEW_EXTENDED_ENTRY|@sprintf:$entry.title}</a><br />
        	    {/if}
change it to

Code: Select all

 {if $entry.has_extended and not $is_single_entry and not $entry.is_extended}
    	    	    <br class="wrap"/><br /><br /><a href="{$entry.link}">{$CONST.VIEW_EXTENDED_ENTRY|@sprintf:$entry.title}</a><br />
        	    {/if}
without the #extended

Posted: Wed Sep 20, 2006 3:42 am
by jumanjisama
nice, it worked !!! but didnt know that it was this easy :) anyway thanks for the help man

Posted: Wed Sep 20, 2006 3:15 pm
by stm999999999
Yeah, s9y is easy, isn't it? ;-)