Forum Search
- Forum
- Joomla Extensions Support Questions
- Virtuemart Extensions Support Questions
- VM Mod Controller Doesnt exclude specific pages
VM Mod Controller Doesnt exclude specific pages
- aaronrrc
- Topic Author
- Offline
- Fresh Boarder
-
Less
More
- Posts: 6
- Thank you received: 0
8 years 6 months ago - 8 years 6 months ago #98
by aaronrrc
VM Mod Controller Doesnt exclude specific pages was created 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!
PD: Anyone knows how to add css class to a mod controller module???

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.
- boggler
- Offline
- Moderator
-
Less
More
- Posts: 1283
- Karma: 18
- Thank you received: 155
8 years 6 months ago #102
by boggler
Replied by boggler on topic VM Mod Controller Doesnt exclude specific pages
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.
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
-
Less
More
- Posts: 6
- Thank you received: 0
8 years 6 months ago #105
by aaronrrc
Replied by aaronrrc on topic VM Mod Controller Doesnt exclude specific pages
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
- Forum
- Joomla Extensions Support Questions
- Virtuemart Extensions Support Questions
- VM Mod Controller Doesnt exclude specific pages
Time to create page: 0.245 seconds