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
disable preview content in extended view?
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: disable preview content in extended view?
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
(Search for "#extended"
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
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
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
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:
I hope this won't affect anything else and lead to problems
thanks again,
Julian
Code: Select all
{if not $entry.is_extended}
{$entry.body}
{/if}
thanks again,
Julian
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
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
So, yeah - that's perfectly fine to modify. You shouldn't face any side-issues
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
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
However, nice to hear that this shouldn't call any other issues
Thanks a lot again, fast and great support here.
Julian
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
However, nice to hear that this shouldn't call any other issues
Thanks a lot again, fast and great support here.
Julian