- Posts: 12
- Thank you received: 0
Getting rid of modules under product
Ive tried to change this but keep coming up against a brick wall. I have created a menu of artists, which are sub categories of the 'view by artist' menu link. Then have modules that link to each artist. So for each artist they have a 'originals' and a 'printed' module. like here:
www.astburygreen.co.uk/index.php?option=...blog&id=37&Itemid=63
But when you click through to a product these modules appear underneath the 'related products' section Ive added. Like here:
www.astburygreen.co.uk/index.php?option=...3&category_pathway=0
How can I take the modules off the products page?
Thanks
Please Log in or Create an account to join the conversation.
That means that these modules will always be displayed under the content area.
The easiest solution will be to select a "menu" in the hikashop options of your modules. and then set these modules to display on all the pages except that menu you selected (you can do that in the normal joomla options of your modules).
Please Log in or Create an account to join the conversation.
I maybe reading your instructions wrong though, might need to break it down a bit more
Thanks for your help
Please Log in or Create an account to join the conversation.
Then, in the hikashop options of the module set the option "menu" to that specific menu that you didn't select and voilà.
Please Log in or Create an account to join the conversation.
Right well I've done what you said but I don't think your understanding what I'm needing.
All this is doing is adding the 'originals' to the bottom of all my pages but the one it needs to be on:
www.astburygreen.co.uk/index.php?option=...blog&id=37&Itemid=63
This is the one page it needs to be on and not on any others but at the same time not appearing at the bottom of the product page when clicking on a product???
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
This page is now correct displaying both originals and printed:
www.astburygreen.co.uk/index.php?option=...blog&id=37&Itemid=63
But when you click on one of the products both these sections appear at the bottom of the product underneath 'related products' this is what I want to get rid of.
www.astburygreen.co.uk/index.php?option=...3&category_pathway=0
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
One problem, its now been replaced with a 'featured original' module and a 'featured printed' module which has been set to the front page. Is there a php file I can edit just to stop anything sitting underneath my product page?!!
Its behaving strangely, there seems to be no reason for them to be there?!!!
Thanks for your help so far, great support
Please Log in or Create an account to join the conversation.
if(JRequest::getVar('option')!='com_hikashop'||JRequest::getVar('ctrl')!='product'||JRequest::getVar('task')!='show'){
//display of the bottom modules
}
Please Log in or Create an account to join the conversation.
Also, if you look at the site, its funny that when you click through to the products you get the front page 'featured artists' and the has the home page link is active, as if its actually redirecting to the front page?!!!
Please Log in or Create an account to join the conversation.
You should ask your template provider.
Please Log in or Create an account to join the conversation.
sooooo, this is the php effecting the bottom where the modules are appearing. How can I make sure they dont appear under the products?
code from index.php template referring to the bottom holder of modules:
<?php /** Begin Main Bottom **/ if ($gantry->countModules('mainbottom')) : ?>
<div id="rt-mainbottom">
<?php echo $gantry->displayModules('mainbottom','standard','standard'); ?>
<div class="clear"></div>
</div>
<?php /** End Main Bottom **/ endif; ?>
Any help would be great
Thanks
Please Log in or Create an account to join the conversation.
That may be simpler, perhaps?!!!
Please Log in or Create an account to join the conversation.
<?php echo $gantry->displayModules('mainbottom','standard','standard'); ?>
you can write:
<?php if(JRequest::getVar('option')!='com_hikashop'||JRequest::getVar('ctrl')!='product'||JRequest::getVar('task')!='show'){ echo $gantry->displayModules('mainbottom','standard','standard'); } ?>
Please Log in or Create an account to join the conversation.