Dummy Menuitem
Hi Andy,
My way to handle URL's has nothing to do with ColdFusion itself. It's a legal way to use URL parameters, often used by content managment systems.
Yes, this funny numbers are looking like a directory name, but it ins't. A URL parser manages the url. This technique was created to avoid to have the ?-sign in the url.
Instead of
index.cfm?0084035000000000000000
we have
index.cfm/0084035000000000000000
Now we are search engine friendly. The old rumour, that dynamic webpages are not made for search engines is now history. It's all server based. The browser (Any brand, any version) has no problem at all.
To use this technique, libraries are available for PHP, ColdFusion, ASP and other middleware.
Maybe your recognize now, that this technique is not exotic as you think.
If you want to be save for the future, i should continue to support url's like that. You can find tons of URL's like i use in the wild.
I never had problem with your great menu with my funny url's in other projects i made.
The good thing is: I removed the url property from the ai() string. It works. Everything works. Everything is perfect. Except: I'm hungry, it's time for lunch.
My way to handle URL's has nothing to do with ColdFusion itself. It's a legal way to use URL parameters, often used by content managment systems.
Yes, this funny numbers are looking like a directory name, but it ins't. A URL parser manages the url. This technique was created to avoid to have the ?-sign in the url.
Instead of
index.cfm?0084035000000000000000
we have
index.cfm/0084035000000000000000
Now we are search engine friendly. The old rumour, that dynamic webpages are not made for search engines is now history. It's all server based. The browser (Any brand, any version) has no problem at all.
To use this technique, libraries are available for PHP, ColdFusion, ASP and other middleware.
Maybe your recognize now, that this technique is not exotic as you think.
If you want to be save for the future, i should continue to support url's like that. You can find tons of URL's like i use in the wild.
I never had problem with your great menu with my funny url's in other projects i made.
The good thing is: I removed the url property from the ai() string. It works. Everything works. Everything is perfect. Except: I'm hungry, it's time for lunch.
cheers
====================================
Merlin Consulting
Martin Schaible
Bahnhofstrasse 27
CH-8702 Zollikon
====================================
====================================
Merlin Consulting
Martin Schaible
Bahnhofstrasse 27
CH-8702 Zollikon
====================================
Hi folks,
A question for you Andy... in comparing things to decide whether to highlight a menu item or not, I assume you compare the item's pagematch value to the current location... right? Are you looking for pagematch in location, as a substring (i.e. using indexOf() ).
I that's how it works, then let's take, for example, the first item in the main menu, "Über uns". It seems to me that all of the pages that can be gotten to from the submenus under "Über uns" all begin with
Could you then define the "Über uns" main menu item as follows:
Modifications to the current definition are (1) I removed the url property, so that clicking the item would do nothing, (2) added the pointer property so the pointer doesn't turn to a hand, (3) set the pagematch property to index.cfm/0084109... woud that cause the "Über uns" main menu item to be highlighted when any of the pages gotten to through the NavSub1_0 submenu were displayed???
OK... so that was more than one question....
Kevin
I think we had reached that conclusion. But the lack of the required page highlighting came to light (good pun, huh?) and Martin assumed that a url had to be defined in the aI() string to get the required highlighting. I figured there was probably a solution using the pagematch property, but when I started to test that theory, I found that the page matching didn't seem to be working in 5.07... unless I totally did it wrong, which is always a possibility.Andy wrote:...If this IS the case, all you need to do is remove the url property from the aI() string
A question for you Andy... in comparing things to decide whether to highlight a menu item or not, I assume you compare the item's pagematch value to the current location... right? Are you looking for pagematch in location, as a substring (i.e. using indexOf() ).
I that's how it works, then let's take, for example, the first item in the main menu, "Über uns". It seems to me that all of the pages that can be gotten to from the submenus under "Über uns" all begin with
Code: Select all
index.cfm/0084109
Code: Select all
aI('text=Über uns;showmenu=NavSub1_0;pagematch=index.cfm/0084109;pointer=default;status= .:. Über uns .:. ;');
OK... so that was more than one question....

Kevin
Hi Kevin,
Thanks for your feedback.
I had only to remove the URL-Thing and it works, including changing the colors, but works in my intranet only. I think, different problem occured. I opened this thread a while ago, to discuss the issue http://milonic.com/forum/viewtopic.php?t=3806
I think, its a problem with absolute and relative addressing. Please read the my last post.
I had the same idea to introduce pagematch . I have to play around a bit the get it running. If this feature runs really, it will fix some other cms-specific issues with teaser-articles and full-articles. But this is a different story...
Thanks for your feedback.
I had only to remove the URL-Thing and it works, including changing the colors, but works in my intranet only. I think, different problem occured. I opened this thread a while ago, to discuss the issue http://milonic.com/forum/viewtopic.php?t=3806
I think, its a problem with absolute and relative addressing. Please read the my last post.
I had the same idea to introduce pagematch . I have to play around a bit the get it running. If this feature runs really, it will fix some other cms-specific issues with teaser-articles and full-articles. But this is a different story...
cheers
====================================
Merlin Consulting
Martin Schaible
Bahnhofstrasse 27
CH-8702 Zollikon
====================================
====================================
Merlin Consulting
Martin Schaible
Bahnhofstrasse 27
CH-8702 Zollikon
====================================
Hi Andy,
I repaired the file by myself.
Unfortunately, this release 5.09 does not show up the submenues anymore.
I didn't change anything, i replaced the file only.
I repaired the file by myself.
Unfortunately, this release 5.09 does not show up the submenues anymore.
I didn't change anything, i replaced the file only.
cheers
====================================
Merlin Consulting
Martin Schaible
Bahnhofstrasse 27
CH-8702 Zollikon
====================================
====================================
Merlin Consulting
Martin Schaible
Bahnhofstrasse 27
CH-8702 Zollikon
====================================
Hi Andy,
I downloaded the files again. Now they a working.
I realized, that the serialnumber will be included automatically. Is that a new feature? If yes, it makes no sense for multi-license owners. They have to change the serial number matching the customer anway,
Still one bug is there: A selected menu item does not change the background color.
I downloaded the files again. Now they a working.
I realized, that the serialnumber will be included automatically. Is that a new feature? If yes, it makes no sense for multi-license owners. They have to change the serial number matching the customer anway,
Still one bug is there: A selected menu item does not change the background color.
cheers
====================================
Merlin Consulting
Martin Schaible
Bahnhofstrasse 27
CH-8702 Zollikon
====================================
====================================
Merlin Consulting
Martin Schaible
Bahnhofstrasse 27
CH-8702 Zollikon
====================================
Just on the off chance this might be it....someone else had that problem, in their case it turned out that the url they had in the data file was http://www.whatever.com but if you typed that in the browser a / was automatically inserted perhaps something like that is happening and maybe the menu doesn't recognize it as the same. Just a thought.
Ruth
Ruth