Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi there,
I'm installed Umbraco 4.03 a couple of days ago. How can I make the classic read more link, like news articles in other CMS (for example like in joomla)?
Any suggestion are appreciated.
Alessandro
Alex,
If you want to display a list of news articles and a 'read more' link following a title and teaser, this is a quick
take on what you might do. I haven't validated the xslt. Just a quick type.
<xsl:for-each select="$currentPage/node [@nodeTypeAlias = 'newsStory']"> <div> <strong><xsl:value-of select="@nodeName"/></strong><br/> <p> <xsl:value-of select="data [@alias='storyTeaser'] "/> </p> <a href="{umbraco.library:NiceUrl(@id)}">Read More...</a> </div> </xsl:for-each>
If you haven't gotten that involved with the xslt and macros yet, I would suggest downloading the CWS package for demo of
how to implement news.
http://our.umbraco.org/projects/creative-website-starter-(cws)
-Chris
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
"Read More.... " link
Hi there,
I'm installed Umbraco 4.03 a couple of days ago. How can I make the classic read more link, like news articles in other CMS (for example like in joomla)?
Any suggestion are appreciated.
Alessandro
Alex,
If you want to display a list of news articles and a 'read more' link following a title and teaser, this is a quick
take on what you might do. I haven't validated the xslt. Just a quick type.
If you haven't gotten that involved with the xslt and macros yet, I would suggest downloading the CWS package for demo of
how to implement news.
http://our.umbraco.org/projects/creative-website-starter-(cws)
-Chris
is working on a reply...