Suggestion for event-entrypaging
Posted: Mon Jul 17, 2006 9:47 pm
I see at Carl's site a piece of code to display a title for an articel without a title. It takes the first 200 characters of the body text:
To truncate very long titles in the head of the site I change it for my blog:
here it is in action:
http://blog.stephan.manske-net.de/archi ... nd-so.html
Can these (important for me is the truncate of long titles) add to the the event-entrypaging-plugin? It seems very ugly to me, if very long titles are in the next/prev-section:
http://blog.stephan.manske-net.de/archi ... stand.html
It would be the best to change the length in the plugin-config: "0" for no truncation and "x" for x>0 the wanted lenght.
Code: Select all
<a href="{$entry.link}">
{$entry.title|@default:$entry.body|
truncate:200:" ..."}</a>Code: Select all
{$head_title|@default:$blogTitle|truncate:60:' ...'}http://blog.stephan.manske-net.de/archi ... nd-so.html
Can these (important for me is the truncate of long titles) add to the the event-entrypaging-plugin? It seems very ugly to me, if very long titles are in the next/prev-section:
http://blog.stephan.manske-net.de/archi ... stand.html
It would be the best to change the length in the plugin-config: "0" for no truncation and "x" for x>0 the wanted lenght.