Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 Menu over more pages
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

kohle
Novice

9 Posts

Posted - 14 Apr 2009 :  19:54:56  Show Profile  Visit kohle's Homepage  Reply with Quote
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.

Or is there a other way ?




T00N
Super User

573 Posts

Posted - 15 Apr 2009 :  08:48:11  Show Profile  Visit T00N's Homepage  Reply with Quote
Why would you want to hide a menu item?
I think it's just confusing when the menu changes.

You better use the menu item to show that you are on that particular page bij showing it in a different colour or with a line underneath it.
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 15 Apr 2009 :  10:08:26  Show Profile  Visit s.dav's Homepage  Reply with Quote
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)

Regards, Davide
Go to Top of Page

kohle
Novice

9 Posts

Posted - 20 Apr 2009 :  22:44:34  Show Profile  Visit kohle's Homepage  Reply with Quote
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)

Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 21 Apr 2009 :  09:20:51  Show Profile  Visit s.dav's Homepage  Reply with Quote
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 ;-)

Regards, Davide
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000