Page 1 of 1

disable preview content in extended view?

Posted: Sat May 28, 2005 9:50 pm
by JulianDE
Hi all,

first of all I would like say that I am very happy with this great blog software and would like to thank the developers.

My question / wish:
When following the link "vollständig lesen" (I guess it's something like "continue to full view" in English) I would prefer to just read the extended part of the entry. Is there a simple way to disable the preview part to show up again in the extended view? I guess I could remove a certain block of code from the entry.tpl?

thank you very much,

best regards,

Julian

Re: disable preview content in extended view?

Posted: Sun May 29, 2005 2:38 am
by garvinhicking
Yes, that's true.Just edit your entries.tpl file and check for a "#extended" part and remove it. You can search the forums about it, I wrote at least 2 times which code needs to be removed :)

(Search for "#extended" :)

Regards,
Garvin

Posted: Sun May 29, 2005 9:17 am
by JulianDE
Thank you Garvin,

yes, before placing my question I did find when to remove the "#extended" term. But I think I have to clarify :) What I would like to have:

DISABLE the preview text when in extended view mode. In other words: In extended view mode I would like to see the extended entry ONLY, not the preview part. :)

Sorry but I didn't find anything doing a search. Is there a way to remove a certain block of code?

thanks a lot,

best regards,

Julian :)

Posted: Sun May 29, 2005 7:54 pm
by JulianDE
OK, I don't know nothing about PHP, but having peeked and poked in the past (c64) and written some "turbo pascal" apps helped me to figure it out in the default.tpl:

Code: Select all

{if not $entry.is_extended}
                {$entry.body}
            {/if}
I hope this won't affect anything else and lead to problems :D

thanks again,

Julian

Posted: Mon May 30, 2005 11:03 am
by garvinhicking
That's exactly the place I meant, and when searching the forums about "#extended" this piece of code also shows up *g*

So, yeah - that's perfectly fine to modify. You shouldn't face any side-issues :)

Regards,
Garvin

Posted: Mon May 30, 2005 11:11 am
by JulianDE
Hi Garvin,

I only found topics about people want to remove the "#extended" in order to avoid the software jumping to the extended point (scroll bar). And I didn't find something like I've added now ('if not $entry.is_extended'). But I guess I've not searched properly :D

However, nice to hear that this shouldn't call any other issues :-)

Thanks a lot again, fast and great support here.

Julian :-)