viewing entry body

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
jumanjisama
Regular
Posts: 16
Joined: Tue Sep 19, 2006 2:02 pm

viewing entry body

Post 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 :)
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Post 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
Ciao, Stephan
jumanjisama
Regular
Posts: 16
Joined: Tue Sep 19, 2006 2:02 pm

Post by jumanjisama »

nice, it worked !!! but didnt know that it was this easy :) anyway thanks for the help man
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Post by stm999999999 »

Yeah, s9y is easy, isn't it? ;-)
Ciao, Stephan
Post Reply