By Andy on Wednesday, 12 November 2014
Replies 16
Likes 0
Views 0.9K
Votes 0
I want to add a Joomla module that'll show only on my 'front page' EasySocial Events List Menu item... it seems at the moment if I add a module to show only on that menu item, it will still show on the individual event detail pages...

... I suspect this is how Joomla works... but is there any way to stop a module set to appear on the main Events listing from appearing on the detailed event entries too?
I would suggest advance module manager @ nonumber
·
Wednesday, 12 November 2014 11:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Andy,

Sorry for late reply to this,
Do you mean that when you set the module display on Easysocial Events menu item page, then the module will appear in this Events menu item page and the single events page layout?

If I'm getting wrong your meaning here, can you possible provide us step by step how to reproduce this? Please advise.

by the way, thanks for heading up on this Alexandre Cayer
·
Wednesday, 12 November 2014 14:59
·
0 Likes
·
0 Votes
·
0 Comments
·
This reminds me of Joomgally's clever method for displaying modules on specific pages: http://www.en.joomgallery.net/documentation/common-information/module-positions.html

By having this you are not only able to use Joomla's positions based on the template, but have much more control over the modules display. You could pick a specific spot in ES and specifically which page (view) for it to load in. So if you want a ad to display only on the photos page on a specific spot, you could do that with this method. This would extend the possibilities a lot in terms of customizations. If this was applied to apps and modules, it would cut out a lot of custom requests for displaying objects and make it easy to help make our own layout! Plus we could insert our own code into specific places making hacks way less needed. Flexibility is at the heart of ES which is why I'm proposing this. Additionally this would not be overwhelming to a Joomla newbie.
·
Wednesday, 12 November 2014 15:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex. Yes you understand me.

I've created the ES Events List Menu Item and I want to add a module on that page. But I don't want it to appear on the event detail pages too.

I know EasySocial has lots of built-in module positions but I don't think there's a suitable one for me to use here?

I'd prefer not to use any other add-ons to weigh down my site any further (but thanks for the suggestions guys... I can explore those if there's no EasySocial solution)
·
Wednesday, 12 November 2014 20:01
·
0 Likes
·
0 Votes
·
0 Comments
·
I have the same problem like Andy, it is the same with Groups, Members and Photo pages. I did not found a way to exclude the module from other sites then the main list menu item.
·
Wednesday, 12 November 2014 23:51
·
0 Likes
·
0 Votes
·
0 Comments
·
subscribe++
·
Thursday, 13 November 2014 01:01
·
0 Likes
·
0 Votes
·
0 Comments
·
You can use Metamod module and just create a recipe for this.
As for me and my site, I basically just create some template over rides.
Ken
·
Thursday, 13 November 2014 09:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Imagine how cool it would be if ES had module positions for specific places natively in place. But yeah, for now metamod would probably do the trick.
·
Thursday, 13 November 2014 09:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Josh.... You know the team are cool.... http://docs.stackideas.com/administrators/module_positions/module_positions

It's just there isn't one there for the Events List page.
·
Thursday, 13 November 2014 09:19
·
0 Likes
·
0 Votes
·
0 Comments
·
OMG Andy, lol I've never been on the admin section, always checked dev lol that's something good to know.

Thanks
·
Thursday, 13 November 2014 09:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Wow! I knew about the custom positions, but didn't know there was that many! According to the docs page it was published recently. Well then, ES is looking great in the customization department. Now all we need is app/fields to allow them to go into those module positions. We could then pretty much do any layout we want if that was added.
·
Thursday, 13 November 2014 11:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Andy,

Sorry for late reply to this,
Unfortunately that was not possible to do this in current system.
But you can do some hack in your module file
Example : Easysocial stream module
JoomlaFolder\modules\mod_easysocial_stream\mod_easysocial_stream.php


$view = JRequest::getCmd('view', '');
$viewLayout = JRequest::getCmd('layout', '');

if ( ($view == 'events' || $view == 'groups') && $viewLayout == 'item') {
return;
}

So that it will check if that page is the events/groups details page then the module will not show on that page.

By the way, thanks all guys heading up on this.
·
Thursday, 13 November 2014 15:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Arlex,

thank you for sharing this solution, I will give a try in the next days!

Is there any markable difference between Metamod and Advanced Module Manager? I used Advanced Module Manager and felt the modules dashboard is getting real slow with it.

@Ken
As for me and my site, I basically just create some template over rides.


How did you do that?
·
Thursday, 13 November 2014 16:06
·
0 Likes
·
0 Votes
·
0 Comments
·
@Manuel

Same thing as Arlex did ^_^
Ken
·
Thursday, 13 November 2014 18:42
·
0 Likes
·
0 Votes
·
0 Comments
·
@Ken Thank you for your quick answer that helps a lot in found the best way!
·
Thursday, 13 November 2014 18:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for sharing Ken
·
Thursday, 13 November 2014 18:57
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post