The Joomla! Forum ™





Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Sun Aug 13, 2006 10:30 am 
User avatar
Joomla! Hero
Joomla! Hero
Offline

Joined: Thu Aug 18, 2005 4:35 pm
Posts: 2860
Location: Cheshire, England
I have just been helping in Q&T regarding inability to assign modules to pages where the menu item is of type Link - URL
forum topic http://forum.joomla.org/index.php/topic,84676.0.html

The end result is that there is a confusion over how these links work in practice. A fundamental point needs to be made in the help page.

I also feel that this should be added to a note / tooltip in the admin so I have submitted it as an enhancement on the tracker.
Here is a copy of that:

Quote:
When you add a link of type url to a menu for an internal page, most people will copy the link from the browser. This will mean that the Itemid is included in the link.

In this situation, joomla (rightly) does not generate a new Itemid for the new linked page. Most people are unaware of this and if they want to have specific module / template assignments on that page, they can't as the page will not show up in page assignment lists.

People need to be aware that if they want to do specific module / template assignments for their new link - url, then they must remove the Itemid=xx from the url that they add in the new link.

Example:

If we use this url for a sub album in a pony gallery component, it will NOT have the ability to assign modules to it specifically
index.php?option=com_ponygallery&Itemid=31&func=viewcategory&catid=2

But if we reve the Itemid, like below, it will allow module assignments
index.php?option=com_ponygallery&func=viewcategory&catid=2

Solution:

Joomla seems to be working perfectly, to provide both options, it is just that most users will not be aware of this.

I will submit a suggestion to the Documentation forum for the help page, but I think that people would just not realise that there were 2 ways of doing it. I do not think that they would naturally look at the help page.

I suggest that this should be included as a note or tool tip on the add link - url admin page.


Suggestion for help page addition:
Important note regarding module / template assignments for links of type URL:
When linking to internal joomla pages, there are two possible outcomes for module assignments depending on the url that you supply for the link.

If your link includes an existing Itemid e.g. &Itemid=65
Then joomla will generate a menu item with the same Itemid, and module assignments for your new menu link will be the same as those of the original page you copied the link from.
e.g. if you link to a sub page of a gallery component, and it includes the Itemid from the gallery component link, then module assignments will be those of the main gallery component link.

If your link does not include an Itemid ( you may remove it if you wish ), then joomla will generate a new Itemid for your menu item and you will be able to assign modules / templates to that page specifically.

_________________
Do you want the answer to be as vague as your question?


Last edited by humvee on Fri Feb 02, 2007 12:25 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Tue Aug 15, 2006 2:56 am 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Fri Aug 12, 2005 12:47 am
Posts: 1808
Location: Quebec City, Canada
toubkal,

Thanks! I'll take a look at your suggestion in further detail.

_________________
Michelle Bisson, POPcliQ, http://www.popcliq.com
Joomla / OSM Trademarks Team Member


Top
 Profile  
 
PostPosted: Wed Oct 11, 2006 4:05 am 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Fri Aug 12, 2005 12:47 am
Posts: 1808
Location: Quebec City, Canada
toubkal,

Please emty your mailbox and then contact me on pm.

Thanks!

_________________
Michelle Bisson, POPcliQ, http://www.popcliq.com
Joomla / OSM Trademarks Team Member


Top
 Profile  
 
PostPosted: Thu Nov 09, 2006 6:33 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Mon Mar 27, 2006 8:27 pm
Posts: 320
Location: Indiana, USA
Removing the ItemIDs from the URL line did fix this issue for me.

_________________
Professional Joomla extensions by DTH Development
// http://www.DTHDevelopment.com //
DT Register - event registration // DT Billing // DT Donate // DT Menu


Last edited by directtech on Thu Nov 09, 2006 6:35 pm, edited 1 time in total.

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 



Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group