menues in different sub- and sub-subdiretories

Post your questions and problem reports here.
Post Reply
pke
Posts: 4
Joined: Tue Jun 16, 2009 10:20 pm

menues in different sub- and sub-subdiretories

Post by pke »

I have easy button menue maker pro 1.6. All works but: I have a project with about 50 pages in different sub and sub- sub directories: AND I must change links, buttones, add new ones and delete old ones. this works on ONE page /the first index.htm / but not on all other pages.
It can't be that i must replace all the mues in all the pages!!!! - if this is so... I cant use this!
I hope i do something wrong!! thanks for a quick answer
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: menues in different sub- and sub-subdiretories

Post by Karlis »

When generating menu code, you can generate it based on absolute links relative to your domain name.

To do this, use Insert into Web Page -> Just generate HTML code and in the next step enter directory name that starts with / e.g. "/menu". Then you will have to upload all the created menu files under http://www.yourwebsite.com/menu (if you chose "/menu" as the directory for the files) and you will be able to use the *same* HTML code in any sub-directories of your site.
Karlis Blumentals
Blumentals Software
www.blumentals.net
pke
Posts: 4
Joined: Tue Jun 16, 2009 10:20 pm

Re: menues in different sub- and sub-subdiretories

Post by pke »

Thanks - but if i make changes on the menue - i have to implant the new html code in every page.
- Can't i plant the html-code in one extra site and just change this - and it will be correct for every page?
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: menues in different sub- and sub-subdiretories

Post by Aivars »

You can keep it in one place if you use server-side programming such as PHP. Move the menu code to an include file and include the menu in all pages that you want to use it.
Blumentals Software Programmer
Post Reply