Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ivan Markovic 2 posts 22 karma points
    Oct 16, 2013 @ 14:03
    Ivan Markovic
    0

    Read more

    Hello,

    I am new umbraco user and I installed umbraco on my server,installed personal webpage template,use feijoa skin,setup some pages and now I have problem.

    I wanna write blog and I create a BlogDatefolder and create few posts. My problem is that cannot find the option or solution how to set a read more link. BlogListPosts macro show full text and I just want one or two paragraphs shown and then option for visitor to just clik on read more and then to redirect on full post page just like it happens when you click the name of the post.

    Thank you for reply.

  • Ivan Markovic 2 posts 22 karma points
    Oct 17, 2013 @ 14:58
    Ivan Markovic
    0

    I solved my problem. Just edit few lines of code in my umbBlogListPosts.xslt and get just what I want.
    Here is code:

             <div class="entry-content">

      <xsl:value-of select="substring($post/bodyText,1,800 )" disable-output-escaping="yes"/>

    ....

      <a href="{umbraco.library:NiceUrl($post/@id)}">Read more</a>

          </div>

     

Please Sign in or register to post replies

Write your reply to:

Draft