<more> link / where its text is defined?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
docman
Forum Members
Forum Members
Posts: 103
Joined: Sat Oct 10, 2009 4:25 pm

<more> link / where its text is defined?

Post by docman »

Hi, where is the text for the link used in preview of News defined?

Thanks for your help in advance.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

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

Post 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
cyberman

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

Post 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..."
docman
Forum Members
Forum Members
Posts: 103
Joined: Sat Oct 10, 2009 4:25 pm

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

Post 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.
Post Reply

Return to “CMSMS Core”