For example I have a master-page and 5 pages I need a menu ( some links) and they have to change on every page. Like, on the mainpage I dont need a link to go to the mainpage, on the second page I need this link.
Now I put the the links I need on top of every dhe page. I need them in different languages, so I code with php.
Is there are better way for doing this. I thinking about a php script generating my menus, depending of the page no and placing it in a iframe or so.
My idea was placing it on master-page. But how can I pass the pageno. to control the php script.
I suggest you to leave always visible all menu items or you'll confuse your clients. You can put the menu in a .dhe file and include this file into all pages; then using an hotspot object you can disable the menu items you don't want for a specific page (by drawing the hotspot over the menu item)
Include a .dhe file is an idea, but every change of this file I must make a manual refresh on every page where it?s included.
It would be good to choose an option at export time to do this automatically. And maybe an additional property for the "dhe included object" like "auto refresh at export"
Ok, I need a dynamic menu. I will try to realize it with php and iframe or html object.
quote:Originally posted by s.dav
I suggest you to leave always visible all menu items or you'll confuse your clients. You can put the menu in a .dhe file and include this file into all pages; then using an hotspot object you can disable the menu items you don't want for a specific page (by drawing the hotspot over the menu item)
A .dhe file object is automatically refreshed when you reload the page so: 1- make the changes you want to the .dhe included pages 2- export your project and you're done ;-)