Monday, 24 April 2017
  9 Replies
  1.6K Visits
0
Votes
Undo
In the front end (i.e. as a website visitor) when you click on next month in the calendar display, or select to change the default view from month to week or today, a new URL is created in a child item format, e.g. http://e.g.my-domain.co.uk/jevents/monthcalendar/2017/5 where the original URL was just http://my-domain.co.uk/jevents.

However, if there are Joomla modules (not Jevents modules) set to display on the main page but not on child items - or another module is set to display on child items only and not the parent - via the Assignments tab in the (Joomla) module manager, these settings are ignored and only the parent settings, i.e. of the original URL, are displayed.

Why?
7 years ago
·
#187109
0
Votes
Undo
Hello,

Did you set the target menu item within the module?

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

7 years ago
·
#187134
0
Votes
Undo
Hello,

Did you set the target menu item within the module?

Many thanks
Tony


Hello, Tony.
I'm not sure I quite understand your question. I am using Jevents as a component and adding a module from my Joomla template (which contains html text with information about how to make a booking, but no calendar information) assigned to the /jevents menu item using the standard Joomla module manager. As I tried to explain, this Joomla template module is assigned to the main page, i.e. mywebsite/jevents, in the sidebar position, which is adjacent to the component area (in desktop mode, or above it in mobile mode), but this module should not appear on child items, e.g. mywebsite/jevents/monthcalendar/2017/05. But it does. It doesn't seem to recognise that these new URLs generated by Jevents are, in fact, child items.

Regards,
Gillian
7 years ago
·
#187212
0
Votes
Undo
Hello,

I am afraid that is the way Joomla! works with module assignments. However, using Advanced Module Manager Free you can set it to display only on a certain URL. As well as not on child items.

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

7 years ago
·
#187215
0
Votes
Undo
Hi, thanks Tony, but I already have Regularlabs Advanced Module Manager installed. What I meant by 'Joomla default' was that I'm using a template module and not a Jevents module.

Anyway, have a look at the URL I have provided below. This is the primary URL where the Jevents component is displayed. If you click on the 'by Week' it creates a child URL but the sidebar module to the left of the calendar is still showing.

The attached image shows the module assignment where you can see clearly that it is assigned to 'jevents' and 'No' for 'Also on child items' so I'm really unsure why it's not working.

It's also set not to display on phones as it appears in another position lower down for phones.
7 years ago
·
#187324
0
Votes
Undo
Hello,

Child Items only works with child menu items. Technically event details pages are not child items so you need to set it to display on a specific URL instead.

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

7 years ago
·
#187871
0
Votes
Undo
Hi Tony,

Sorry for delay; I have been away.

I am not talking about 'event details pages'. I am talking about what happens when you change the default view from what loads when you first go on the page, e.g.:
mywebsite .com/jevents
then click on the next month, e.g. June, which creates a new child URL like this:
mywebsite .com/jevents/monthcalendar/2017/6

Similarly, if you change from 'By month' view (my default) to 'By week' view it changes from /jevents to /jevents/eventsbyweek/2017/05/08 which, I believe, is a child item. It certainly follows the child item structure.

If you do as I suggest and click on the link I provided and then click next month you should see exactly what I'm talking about.

Thanks,
Gillian
7 years ago
·
#187926
0
Votes
Undo
Hello Gillian,

Yes it follows the child structure for SEO purposes. But as you haven't created a eventsbyweek child menu item it's not applicable. This is standard Joomla! practice.

You need a menu Item to render a component and assign modules to. If you don't have them, then well we can't do anything about that and we have to use the original menu item and extend it. But since Joomla! only loads the modules on Menu Items we cannot control how Joomla! loads modules.

You would then need to create real child menu items for each view to get the effect you want. Or just do as I suggested and set it to only show on specific urls with Advanced Module Manager.

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

7 years ago
·
#187967
0
Votes
Undo
Thanks, Tony.
I understand what you're saying about the by week view.

However, in an earlier post, I did say that I was using Advanced Module Manager and setting the module to NOT appear on child items, but that instruction was being ignored and when a child item is created, e.g. by clicking on the next month, the module still appears. The calendar is, in fact, acting more like blog articles in this respect.

I think I can get the effect I require another way, though.
7 years ago
·
#188024
0
Votes
Undo
Hello Gillian,

But as I have said numerous times that setting in advanced module manager only works for child MENU items. this isn't a menu item.

So as previously mentioned you need to set it to only show on a specific URL not Menu item. So visit the menu item in the frontend and copy the URL from the browser and paste this in to the Advanced Module Manage options under specific URL's.

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

  • Page :
  • 1
There are no replies made for this post yet.