roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Johnson (JIRA)" <nore...@atlassian.com>
Subject [Roller-JIRA] Resolved: (ROL-1458) Referrers macro not showing count
Date Sun, 01 Jul 2007 03:08:30 GMT

     [ http://opensource.atlassian.com/projects/roller/browse/ROL-1458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David Johnson resolved ROL-1458.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0

FIxed in trunk (4.0) and 3.1 branch

> Referrers macro not showing count
> ---------------------------------
>
>                 Key: ROL-1458
>                 URL: http://opensource.atlassian.com/projects/roller/browse/ROL-1458
>             Project: Roller
>          Issue Type: Bug
>          Components: Macros
>    Affects Versions: 3.1
>            Reporter: David Johnson
>            Assignee: David Johnson
>            Priority: Minor
>             Fix For: 3.1.1, 4.0
>
>
> From Gary Kephart on the Roller mailing list:
> > The Referer list shows up, but there's no count next to it like there
> > was on Roller 1.0.
> > How do I fix this?
> And later:
> > Found the answer to this. If you look in WEB-INF/velocity/weblog.vm,
> > you'll see the macro "showReferrersList" defined. Within that macro, it
> > references the boolean variable $includeHits. That variable is not found
> > anywhere else, and so is permanently set to false. In Roller 1.0, it was
> > a parameter to the macro. So I added it back in like so:
> > 
> > #macro(showReferrersList $refs $max $maxWidth $includeHits)
> > 
> > Then, you have to go to Preferences:Templates and edit your weblog file.
> > 
> > For me, this was Gary's Weblog. In there, it calls the above macro, and
> > you have to pass it in a value for $includeHits, like so:
> >
> >  #showReferrersList($refs 30 20 true)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/roller/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message