Shopping Basket

 x 

Cart empty


Log In

Find Us Elsewhere

SSL

Forum Search

Keyword

VM Mod Controller not show on manufacturer page

More
8 years 2 months ago #159 by boggler
Hello, if you want the module to display on the product details page you need to add 'shop.product_details' on the list of pages selected on the VM Page parameter.

You only need to select specific flypages if you only want to display on one or more specific types of flypages.

If you are asking for something else please explain in a bit more detail what you want.

Please Log in or Create an account to join the conversation.

More
8 years 2 months ago #160 by boggler
I forgot to add, using an URL rewriting extension should not affect the module, unless it is a poorly written one that overwrites the request variables. In a good SEF extension the original request variables should still be available to the module, whatever the URL being viewed looks like.

If starting to use an SEF extension has caused problems you should raise this with the author of the SEF extension, it is most likely that it has overwritten one of the request variables.
The following user(s) said Thank You: Yannos31

Please Log in or Create an account to join the conversation.

  • Yannos31
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
8 years 2 months ago #161 by Yannos31
i use Artio joomsef who give a lot setting possibility.
Now i know than url rewriting don't create issue with vm controller i m sure it come from my artio setting.

Thanks for informations.

Please Log in or Create an account to join the conversation.

  • Yannos31
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
8 years 2 months ago #162 by Yannos31
i have find origin of problem

My sef system add manufacturer_id on all detail product page (in real url)
the nice hack you give me upper display module each-time manufacturer_id is use.

is there a way to exclude shop.product_details page of the hack ?

IF manufacturer_id is use AND shop.product_details isn't use -> $renderModule = true;

Thanks

Please Log in or Create an account to join the conversation.

More
8 years 2 months ago - 8 years 2 months ago #165 by boggler
Yes you can modify the code:-

[code type=php-brief]$manufacturer = JRequest::getVar('manufacturer_id', null);
if(isset($manufacturer) && $page != 'shop.product_details')
{
$renderModule = true;
}
[/code]
Last edit: 8 years 2 months ago by boggler. Reason: correcting coding error
The following user(s) said Thank You: Yannos31

Please Log in or Create an account to join the conversation.

Moderators: boggler
Time to create page: 0.340 seconds

Donate to Us

If you like our extensions, consider making a donation to say thanks.