Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » MetaMod
- » MetaMod General Support
- » Show Only Right Column on Product...
Show Only Right Column on Product Page and make other pgs width 100%
Show Only Right Column on Product Page and make other pgs width 100%
Metamod Show Only Right Column on Product Page and make other pgs width 100%
Hi. Please help if you know this. I am using Joomlart JA-zeolite and I created a metamod module that is set to the position "right" (the right column). All the modules that suppose to show up in the right colmun is set posistion to the metamod module. And I used the following php code to make them only show up on VM product page. All other pages such as article page should not have the right column, the main content area should be 100% of the page width.
if ($option == "com_virtuemart") {
$page = JRequest::getVar("page");
$product_id = JRequest::getVar("product_id");
/* PRODUCT DETAILS page */
if ($page == "shop.product_details") {
/* modules that should appear for specific products */
if ($product_id == "34") return "metamod-right";
}
}
This worked partially, the containing modules does not show in the right column of other pages except product page. However a blank right column is still there. Blank divs are all still there. <div id="ja-right"> and the main content area width is still 73%. <div "ja-mainbody" style="width:=73%"> and I still see the empty metamod module, <div id="Mod142" class="ja-module ja-box-br module">.
Is it possible to make the div "ja-mainbody" width:=100%? This seems to be needing php hack.
I am using Joomla 1.5.22, metamod 2.6
Thank you.
Re: Show Only Right Column on Product Page and make other pgs width 100%
Hi Will,
this is a FAQ:
http://www.metamodpro.com/metamod/faq/2 … etamod-was
The simple answer is that if you install MetaMod Pro, the blank right column will magically disappear
Cheers,
Stephen
Re: Show Only Right Column on Product Page and make other pgs width 100%
Hi Stephen:
I bought the metamod pro plugin and it was able to completely take out the right blank column in FireFox. However it does not for IE 7 8 or 9.
I checked the source code. <div "ja-mainbody" style="width:=100%"> I dont know why it is not extending for IE.
Please help.
Thank you,
Will
Re: Show Only Right Column on Product Page and make other pgs width 100%
- Index
- » MetaMod
- » MetaMod General Support
- » Show Only Right Column on Product...
Board Info
- Board Stats:
- Total Topics:
- 1689
- Total Polls:
- 6
- Total Posts:
- 5944
- Posts this week:
- 1
- User Info:
- Total Users:
- 7669
- Newest User:
- norton4568
- Members Online:
- 1
- Guests Online:
- 156
- Online:
- norton4568
Forum Legend:
Topic
New
Locked
Sticky
Active
New/Active
New/Locked
New Sticky
Locked/Active
Active/Sticky
Sticky/Locked
Sticky/Active/Locked