shortened story preview
i would like to display the stories on my frontpage up to a limited length, like <% story.content part="text" limit="300" %
>, and display them full length at their respective story pages. however, i would have to set the 'limit' parameter in the skin that affects all three story display skins. how can i change just the preview skin?
Chronistin
delete [story.skin name="display"] from the skin 'preview' and insert [story.content part="title"] & [story.content part="text"] directly.
nex
that's brilliant, thank you!
doing this, i realized that story.content with the limit parameter is totally useless for the intended purpose. it changes formatting to be suitable for really small quotes, like in the "recently modified" box. what i'd like to have is displaying some 10 lines of the story, with linebreaks, links etc. intact.
i guess i have no chance to do this with the current antville version. (?)
Chronistin
not my genius; it was hns who once upon a time helped me solve a problem similar to yours. however, what i wanted then was to display just the title & not the text, so i can't help you with the new problem.
nex
"display just the title & not the text" was actually a very clever tip. what i _could_ do would be introducing a new content field that contains just the introduction to the article, like it works on corro5ion. in the long run, i'd like to give the limit parameter more power, however. maybe one time i'm so bored that i'll think of a better implementation myself :-)