Support Center

Knowledgebase
View categorized listing of all common frequently asked questions.
Video Tutorials
Create a Movie & TV Show review website.
Customize the jReviews themes.
Review user profiles with the Everywhere addon.
Forum
Community forum
Submit a Ticket
Use your client area email to access the ticket system.
Downloads
Guides, modules and more...
 
Welcome, Guest. Please login or register.
Did you miss your activation email?
January 08, 2009, 09:27:04 PM
22868 Posts in 5233 Topics by 2978 Members
Latest Member: mini_me
News: Use your client area email when you sign up to the forum so we can identify you as a trial or licensed user. Otherwise we may not answer your questions.
 
jReviews Support Forum  |  jReviews 1.x - jReviews Modules and Hook Components  |  Modules & bots  |  Use a variable in module title « previous next »
Pages: [1]
Author Topic: Use a variable in module title  (Read 380 times)
eskwire
Sr. Member
****
Offline Offline

Posts: 180



WWW
« on: December 18, 2007, 06:55:09 PM »

I have been setting up the jReviews range module for my paper shredder site.  Everything is going very well.  Had an issue with sh404SEF and displaying the correct range results, so I just disabled the jreviews SEFs in the sh404SEF component.

Fellowes Paper Shredder

In the right column you will see a "search by price" and "search by number of pages per pass"

I have been playing with the category autodetect setting, pretty neat.

It would be very cool if you could put a variable in the module title that displayed the section or category.

Example

Search by Price for {CATEGORY} Shredders

So when in the Fellowes seciton, the module title would display

Search by Price for Fellowes Shredders


I know that some of this stuff crosses over to the joomla core.  Perhaps a jReviews title could be created and the joomla module would be turned off.

Anyone have any ideas for this?  It is a small detail but one that could help someone from getting "lost" on the site.

Not a big deal, figured it was worth at least a post to see any ideas that other may have!

Thanks!

Logged

Let Intown Web design help you with   jReviews Support
Best Headphone Reviews
Alejandro
Global Moderator
Administrator
Hero Member
*****
Offline Offline

Posts: 9030


« Reply #1 on: December 18, 2007, 09:07:09 PM »

I don't think you can dynamically change the title of a module, but I haven't tried. Maybe it's in the the $module object and one can replace it's value. However even then you would have to make changes to the code to show one thing when you are on a section or non-jReviews page and something else when you are on the category page and you would still need to modify a query to get the title. Too much work Smiley
Logged

Reviews Ahoy! - Submit your jReviews site here.
eskwire
Sr. Member
****
Offline Offline

Posts: 180



WWW
« Reply #2 on: December 18, 2007, 09:21:47 PM »

Thanks for the reply!

I agree.

I am not going to be the one to modify the joomla code.  :-)

I would be a cool feature to have the category display in the module when the category autoselect feature is being used.

What would be involved to add a line that would print below the joomla module heading but above the numeric range results?  This line could contain a title with a category variable in it.
Logged

Let Intown Web design help you with   jReviews Support
Best Headphone Reviews
Pages: [1]
« previous next »
    Jump to: