Login Form

#222 – Modules shown on bid pages

Posted in ‘BF Auction’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Sunday, 11 May 2014 09:31 AEST
Joomla! version: 3.3.0
BF auction 1.5.4

I have the "Auction" menu item as my default page on my site.
There i also have a lot of modules showing different info. These modules are setup to be visible only for the front page.
But when selecting an auction item from the auction page the modules are still visible.

Is there a way to remove then and only show then on the front page ?

Sunday, 11 May 2014 22:36 AEST 10'
BF Quiz Plus 3 Years
Hi Picht,
Normally module assignment is based on menu item id (Itemid), but as you've discovered the active menu is still the same when you click on an auction item. Perhaps you could hack your site template and add some additional rules that also look at the view, and use this to determine if the module position is displayed or not.

For example:

$app = JFactory::getApplication();
$option = $app->input->getCmd('option', '');
$view = $app->input->getCmd('view', '');

<?php if ($option =='com_bfauction_plus' && $view="bfauction_plus") : ?>

<?php endif; ?>


Follow us on twitter http://twitter.com/tamlynsoftware
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.
Go to top