jReviews Support Forum

jReviews 1.x - jReviews Modules and Hook Components => Modules & bots => Topic started by: kheruc on January 04, 2008, 05:46:45 PM



Title: 2 Dashboards - different templates
Post by: kheruc on January 04, 2008, 05:46:45 PM
I will be using latest items and latest user reviews modules.
How can I make a different template for each module (two different mod_jrdashboard.html files)?


Title: Re: 2 Dashboards - different templates
Post by: Alejandro on January 04, 2008, 06:01:44 PM
Use the template suffix parameter in the module and rename the template file by adding the suffix. For example:

Latest items
template suffix: _items
template: mod_jrdashboard_latest.html

Latest reviews
template suffix: _reviews
template: mod_jrdashboard_reviews.html


Title: Re: 2 Dashboards - different templates
Post by: eskwire on June 09, 2008, 04:14:52 PM
Thanks for this post!

I had a client that needed to do just that.

Worked like a charm!

I was glad to learn about this feature.  I keep being amazed how flexible jReviews can be.

Thanks Again!