Shopping Basket

 x 

Cart empty


Log In

Find Us Elsewhere

SSL

Forum Search

Keyword

VM Mod Controller Doesnt exclude specific pages

  • aaronrrc
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
8 years 6 months ago - 8 years 6 months ago #98 by aaronrrc
Hello, Im using VM MOD Controller and I want to exclude a module in specific pages, but when I select VM Pages and VM Pages to Exclude the module title and position still appears on excluded pages. I tried to disable title in module configuration but still appears a blank space in module position... Im using Corona Yootheme template. Somebody help me please!:blink:

PD: Anyone knows how to add css class to a mod controller module???
Last edit: 8 years 6 months ago by aaronrrc.

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

More
8 years 6 months ago #102 by boggler
Have you remembered to unpublish the module that you want to display?

It could be a problem with your template. The first step is to check the documentation here: http://www.spiralscripts.co.uk/Documentation/mod-vm-modcontroller-documentation.html - specifically read the section at the bottom called 'Empty Modules'. Follow the instructions, and upload the modules.php file to the system template folder.

It is also possible that your site template includes some custom chrome, which is poorly written because it does not check if there is any module content before outputting the title. If it does it will be in a file in your site template called modules.php. You will need to find the function that controls your module output and edit - we can advise on this if necessary.

You don't apply css to the VM Modcontroller module, you apply it to the module being displayed. If you want to use a module class suffix apply it to the module being displayed. The VM Modcontroller does one thing only, it tests whether or not the module being displayed should appear on a particular page. If it should, then the ModController sends the output to the template. If it should not, then the ModController sends nothing. It does not control what the output is in any way.

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

  • aaronrrc
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
8 years 6 months ago #105 by aaronrrc
Thank you for the quick reply Susan!, I followed documentation, so I will try editing my template modules.php file and tell you if works, thanks!

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

Moderators: boggler
Time to create page: 0.245 seconds

Donate to Us

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