Hi,
i have made a site where i use the newsmodule and at the bottom of the summary-template there is:
{$entry->morelink}
Now this is a complete link with the anchor-tags.
Is there a tag that will only represent the link without the anchortags?
I want to make an image the "more-link".
For now i have copied the Link and after i put in a news-item , I edit the html of the summary-part so the image is clickable.
Regards,
Jan
News module only the link to "more"
- PinkElephant
- Forum Members
- Posts: 171
- Joined: Fri Feb 06, 2009 2:08 pm
Re: News module only the link to "more"
Hi,
The (Summary) template help reads...
The (Summary) template help reads...
HTHdetail_url (string) - The URL to the detail view of the article.
link (string) (deprecated) - The URL to the detail view of the article.
titlelink (string) (deprecated) - A link (usign [sic] the article title as the text) to the detail view of the article.
morelink (string) (deprecated) - A link (using a translation of the word "more" as the text), to the detail view of the article.
moreurl (string) (deprecated) - A URL to the detail view of the article.
Re: News module only the link to "more"
Thanks,
i found : $entry->moreurl
could you point to the "The (Summary) template help".
I searched for the helptexts but as you can see this was late in the evening.
I just searched for it and somehow oversee where that is.
I have everything working on this new site, but using the right tag makes life easier . .
Regards,
Jan
i found : $entry->moreurl
could you point to the "The (Summary) template help".
I searched for the helptexts but as you can see this was late in the evening.
I just searched for it and somehow oversee where that is.
I have everything working on this new site, but using the right tag makes life easier . .
Regards,
Jan
- PinkElephant
- Forum Members
- Posts: 171
- Joined: Fri Feb 06, 2009 2:08 pm
Re: News module only the link to "more"
Yes, it's a bit hidden, especially if you use file based templates. There may be other routes but if you start a new template there's a 'Template Help' link top-right of the template content textarea.
Re: News module only the link to "more"
Thanks,
i found it! This is realy helpful!
I will change the template straight away.
Regards,
Jan
i found it! This is realy helpful!
I will change the template straight away.
Regards,
Jan