VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: iojens on September 03, 2014, 21:30:29 PM

Title: Creating module content related to the current VM view
Post by: iojens on September 03, 2014, 21:30:29 PM
Hello,

I would appreciate any hints where I could find some documentation on how to do the following. Basically I would like to create some modules that change or display special information depending on the current VM view / content. A simple example - let's say for whatever reason in the product detail view I would like to display the product name in a seperate module or change the class of a css-selector if the module is loaded in the context of the category overview.

I guess I could query the url parameters and start from there, but it would be nice if there is a more convinient way. Maybe some helper functions exist and I can use the same syntax as in the template views for virtuemart.

Thanks for any help

Cheers

Jens