roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Crick Opinion <crickopin...@yahoo.com>
Subject Re: Pinning an entry
Date Thu, 01 May 2008 17:14:19 GMT
You can do this by changing the frontpage template Weblog.vm. If you are using frontpage template
as it is, it displays, pinned entries on the last page (where there is no more "next>"
link). You'll need to modify the template  to display it on all or some of the pages. I have
done it at http://www.crickopinion.com  to display on all the pages except the main page by
changing:

                        ##if(!$pager.nextLink)  ==> comment/delete this
                        #if($pager.prevLink)  ==> add this line

                            #set($pinnedEntries = $site.getPinnedWeblogEntries(5))
                            #foreach($pinnedEntry in $pinnedEntries)

hth,
-CO



----- Original Message ----
From: skipjack <skipjac@gmail.com>
To: user@roller.apache.org
Sent: Wednesday, April 30, 2008 10:01:03 PM
Subject: Re: Pinning an entry

Is there a way for a blog to have a entry pinned to it's top?

On Sun, Apr 27, 2008 at 10:08 AM, Crick Opinion <crickopinion@yahoo.com> wrote:
> Hi All,
>
>  We have been using Roller 4.0 for our site. User guide briefly mentions that the admin
user can pin an entry using front page theme.
>
>  Could some provide me instructions on how to pin and unpin and entry? Do I need to change
frontpage code? Or is it something I can achieve in the UI?
>
>  Thanx,
>
>  -CO
>
>
>
>
>       ____________________________________________________________________________________
>  Be a better friend, newshound, and
>  know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ



-- 
Programming is art



      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message