1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Style XenPorta block for LnBlog

Discussion in 'Resource and Add-on Requests' started by Ladegro, Jul 27, 2012.

  1. Ladegro

    Ladegro Member

    Hi, hope this is the right place to ask.

    I'm using the block for LnBlog with XenPorta so we get recent blog entries listed on our site.
    Now I want to give those recent post a more prominent place on the home page, so instead of putting them in the sidebalk, i'd like to have a real blog-like UI where the most recent posts are shown with a little preview text and a link to read more.

    As I requested this by the author, his reply was that it shouldn't be hard to do in the template but that he himself doesn't have the time for it, see http://xenforo.com/community/threads/ln-blog.26841/page-9#post-390058

    So could anyone point me in the right direction here? I figure I need to edit the EWRblock_LNBlogEntriesBlock template, but how?

    Thanks in advance.
     
  2. principia

    principia Well-Known Member

    Im not a coder, but maybe a look at the recent news block will help you.
     
  3. Ladegro

    Ladegro Member

    Thanks for that suggestion, that put me in the right direction indeed.
    For the record, it was done using the following if-clause:

    Code:
           <xen:if is="{$position} == 'top-left' OR {$position} == 'mid-left' OR {$position} == 'btm-left' OR {$position} == 'sidebar'">
    
     
  4. principia

    principia Well-Known Member

    where to put the code?
     
  5. Ladegro

    Ladegro Member

    I'm working on an addition to the block which I'll post here when it's finished.
     
    Cal and principia like this.
  6. DRE

    DRE Well-Known Member

    This was made for LN Blog but was there ever one made for XI Blogs?
     

Share This Page