|
|
#1 |
![]() Join Date: Nov 2003
Location: Denmark
Posts: 309
![]() |
hi
I am trying to assign a template to a link item ( not component ) but it dosent allow that. The menu dosent even appear in the assign window. Assigning to components works fine. Any suggestions Mike
__________________
Webdesign / templater / pixelpusher |
|
|
|
|
|
#2 |
![]() Join Date: Aug 2004
Posts: 99
![]() |
I'm also having this problem assigning templates:
http://forum.mamboserver.com/showthr...098#post107098 :sad: |
|
|
|
|
|
#3 |
![]() Join Date: Aug 2004
Posts: 99
![]() |
No one?
![]() |
|
|
|
|
|
#4 |
![]() Join Date: Nov 2003
Location: Denmark
Posts: 309
![]() |
could anyone from developer team confirm this or not........kinda important
![]()
__________________
Webdesign / templater / pixelpusher |
|
|
|
|
|
#5 |
![]() Join Date: Aug 2004
Location: Hack City, Earth.
Posts: 1,062
![]() |
From CP (4.5.1a)
Site-->Template Manager-->Site Templates You should see all your installed templates. Tick one for assignment and hit the Assign button. You should see a list of your menu items and make a link to that. If this is not displayed on your screen, than there is maybe a problem with your Mambo distribution. Regards. |
|
|
|
|
|
#6 |
![]() Join Date: Nov 2003
Location: Denmark
Posts: 309
![]() |
yes iknow walb...but thats not the problem ;O)....components work fine but not with links....the same as my other installations.
__________________
Webdesign / templater / pixelpusher |
|
|
|
|
|
#7 |
![]() Join Date: Aug 2004
Location: Hack City, Earth.
Posts: 1,062
![]() |
Maybe I don't understand your problem.
Could you be somewhat more explicit? |
|
|
|
|
|
#8 |
![]() Join Date: Oct 2003
Location: Muskegon, MI
Posts: 1,913
![]() |
Now I'm not a coder, but from what I can gather, the problem is that a url link does not have either an itemid or a sectionid because it is not published as content. Therefore, it won't show up in the module editor pages list either.
Maybe someday we will be able to assign a menu item to a section the same way we can assign it to a parent item, so it will pick up the formatting for whatevever section we want. In the meantime, url menu items will use the default template. |
|
|
|
|
|
#9 |
![]() Join Date: Oct 2003
Location: Sweden
Posts: 760
![]() |
You can't assign a template to a link.
You can only assign a template to an item from menu that has Itemid on it's own. The URL links usualy inherit the itemid of the item they point to. Or they just point to external site in which case there is no point in assigning a template to it. |
|
|
|
|
|
#10 |
![]() Join Date: Nov 2003
Location: Denmark
Posts: 309
![]() |
ok thanks guys....thought i was going crazy here. The reason why i would assign a template to a link is that in some components you dont assign direktly to the component itself, but for a link composed from the component.
cheers Mike
__________________
Webdesign / templater / pixelpusher |
|
|
|
|
|
#11 |
|
Posts: n/a
|
Has the template change via URL been removed in 4.5.1?
It's just you could "reskin" your sites through URL in 4.5.. |
|
|
|
#12 | ||
![]() Join Date: Oct 2003
Location: Marikina, Manila, Philippines
Posts: 5,153
![]() |
Quote:
Quote:
__________________
All my posts are copyright © Rey Gigataras [aka stingrey] and cannot be be reproduced without permission Former Mambo Core Team Member July 2004 - August 2005 |
||
|
|
|
|
|
#13 |
![]() Join Date: Apr 2004
Posts: 5
![]() |
I've found quite a simple way of assigning templates to selected categories AND sections, working around mambos bug that shows only the categories of the first section:
In your PhpMyAdmin go to the table mos_templates_menu. You'll see the templates you've assigned so far, being applied to specific itemid's. You just have to insert a row containing the name of the template in the "template" field, as well as the itemid number in the "menuid" field. You'll find the itemid by checking the link to the specific section or category you want to assign a template to. Obs.: You still have to assign the template to the categories separately, it doesn't inherit the template of its section. I guess (read: hope) this feature will be officially corrected in the next release. |
|
|
|
|
|
#14 |
![]() Join Date: Apr 2005
Posts: 2
![]() |
you rock Raptus!!!!
The MyPHP thing works like a charm! it fixes 3 hours of searching to fix the no template for "Link Url" Thingo wheew.. nice ! very Nice! |
|
|
|
|
|
#15 |
![]() Join Date: Mar 2005
Location: Sherbrooke, Qc, Canada
Posts: 8
![]() |
I am still wondering how to select a different template for a sub menu item.
ie: mainmenu item = cars sub menu 1= toyota sub menu 2= honda sub menu 3=ford main menu would be like a seperator or pointer sub1 = would change color template to green sub2 = would change color template to red sub3 = would change color template to blue is this possible. i remember in old Mambo versions we could select in the"link" the template assigned to it.. is it still working and how? thanks for all information |
|
|
|
|
|
#16 |
![]() Join Date: Jan 2005
Posts: 99
![]() |
Bump
same question as above! |
|
|
|
|
|
#17 |
![]() Join Date: Jul 2004
Posts: 354
![]() |
I am using phpShop on a site and only the main component is listed when assigning templates. I have created my own menu for phpShop rather than using the shop menu module. I thought this might allow me to assign a different template to different areas of the store, but the option to assign templates to URL link is not available. I am using the latest version of Mambo. I have assigned a template for the main shop component, but really need the ability to assign a different template to other areas via the URL link. Is there any way to do this?
|
|
|
|
|
|
#18 |
![]() Join Date: Jul 2004
Posts: 354
![]() |
Still wondering... anyone?
|
|
|
|
|
|
#19 |
![]() Join Date: May 2004
Posts: 26
![]() |
I'm having the exact same issue...
I have a number of menu items, most of which are links to components, however two of them are links to components with parameters passed to display certain things (using gallery if you wanted to know!). As such these two menu items are just URL Links, and when trying to Assign a template to those menu items they don't show up, only the link to the main gallery (which is purely a component link). I'm thinking this would be problematic at the best of times at present, due to the way the templates are chosen? Or is there a way to do this? |
|
|
|
|
|
#20 |
![]() Join Date: Oct 2003
Location: Marikina, Manila, Philippines
Posts: 5,153
![]() |
The matter is due to the Itemid system of Mambo.
When you create a Link - URL mambo does not assign it a uniquie Itemid. And a uniquie Itemid is needed to power everything from template assigment, to module assigment, access control the pathway etc. Mambo does not assign it an Itemid because it does not know in what cases it should. For example if you are using Mambo for an external link, you obviously dont want it assigned an Itemid. Example: www.mamboserver.com cant be www.mamboserver.com&Itemid=24 Lets say you linking to an internal Mambo link which already has an itemid Example: index.php?option=com_content&task=view&id=5&Itemid =6 cant be index.php?option=com_content&task=view&id=5&Itemid =6&Itemid=24 So the problem is to find an easy way to tell mambo that this particular Link - Url should be assigned an Itemid. At the moment the most likelyworkable solution is via a param for the menu item
__________________
All my posts are copyright © Rey Gigataras [aka stingrey] and cannot be be reproduced without permission Former Mambo Core Team Member July 2004 - August 2005 |
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|