Easy Button & Menu Maker V4

General posts about www.blumentals.net website
Post Reply
Peebee45
Posts: 4
Joined: Wed Aug 06, 2014 9:13 pm

Easy Button & Menu Maker V4

Post by Peebee45 »

Hi there,
You probably had this loads of times so apologies in advance.
Trying to add buttons to pages on our club website (www.pohas.co.uk), have managed ok to do pages located in root directory, however some pages are in sub directories and having a nightmare. can get the buttons on, but any page in a sub directory when for example you click the 'home' button it throws a 404 error as the button is targeted to go to home page in sub directory, when in fact 'home' is in root directory.
Not sure i explained that very well, but any 'newbie' help much appreciated.
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Easy Button & Menu Maker V4

Post by Aivars »

This is quite easy to fix. Instead of linking to "index.html" link to "/index.html" (notice the slash) and that will always lead to the root.
Blumentals Software Programmer
Peebee45
Posts: 4
Joined: Wed Aug 06, 2014 9:13 pm

Re: Easy Button & Menu Maker V4

Post by Peebee45 »

Thanks for the reply, but where do i change the link, ie, in what part of the process/file?
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Easy Button & Menu Maker V4

Post by Aivars »

It can be either the links in EBMM:
ebmmurlfield.png
ebmmurlfield.png (2 KiB) Viewed 11516 times
or in your case since the menu has already been inserted in the site it might be easier to change the HTML code in the problem pages:

E.g. change <li title="Home"><a href="index.html"> to <li title="Home"><a href="/index.html"> (similarly for all menu links).
Blumentals Software Programmer
Peebee45
Posts: 4
Joined: Wed Aug 06, 2014 9:13 pm

Re: Easy Button & Menu Maker V4

Post by Peebee45 »

Thanks very much!

Working fine now.
Post Reply