Page 1 of 1

<more> link / where its text is defined?

Posted: Tue Jan 05, 2010 10:12 pm
by docman
Hi, where is the text for the link used in preview of News defined?

Thanks for your help in advance.

Re: <more> link / where its text is defined?

Posted: Wed Jan 06, 2010 5:59 am
by RonnyK
In the summary template of News, is the logic for the text that is showing. This is coming in the default template from the "summary"=text of the News entry, where the more-link is the link to the "detail"-text.

So every News item can have Summary (=optional) and Detail (=required). The summary-block in News entry can be hidden from the News-settings.

So in default, when 'more' link is showing, then you see the Summary-text, where the more-link links to the Detail-text.

Ronny

Re: <more> link / where its text is defined?

Posted: Wed Jan 06, 2010 7:07 am
by cyberman
docman wrote: Hi, where is the text for the link used in preview of News defined?
Please make a look at the modules help - there's a parameter for modifiying it
(optional) moretext="more..." - Text to display at the end of a news item if it goes over the summary length. Defaults to "more..."

[SOLVED] <more> link / where its text is defined?

Posted: Wed Jan 06, 2010 10:15 am
by docman
Thanks. It works. It works in spite of the fact that moretext was not defined in the call (I have rewritten the text "more ..." to something else in a file that I cannot recall). Now that I included moretext="blabla", it still works. It is my fault not documenting it.

Anyway, thanks so much.