Author Topic: WB2 edit to header_menu help required  (Read 6920 times)

Offline raewyn64

  • New member
  • *
  • Posts: 6
    • Whakamarama
WB2 edit to header_menu help required
« on: June 15, 2013, 09:18:01 PM »
Hello again

I have my own web site and I have a link on it which takes anyone to my Weather Blues 2 site. I want to do the same on my Weather Blues 2 site with a menu button that will take viewers back to my website.

I have got into the header_menu.php file and edited it to add another button to my header screen which is called "Website".  That has come up fine on my Weather Blues2 header.  However i cannot get the link right for it automatically take the viewer to my web site.

So here is what I have
Firstly the line i have added in header_menu.php is
<li><a href="index.html" title="Website Home"><span>Website</span></a></li>

I know that the "index.html" is part of the problem.

My web page structure works like this

website homepage is rdr.co.nz/index.html

in ftp it sits as follows
public_html/index.html

My weather sits off
public_html/weather/index.php

My problem is how can I tell my button called website to open up rdr.co.nz/index.html?

Can anyone help me please?
Thanks so much - really enjoying this weaterh website  :-*

Raewyn

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: WB2 edit to header_menu help required
« Reply #1 on: June 15, 2013, 09:37:47 PM »
Hi Raewyn,

What you want is to call a file in "parent" folder (1 level up).
To do so, you just add ../ before filename:

...a href="../index.html"....

Regards,
Jacques
Please, consider supporting this site 

Offline raewyn64

  • New member
  • *
  • Posts: 6
    • Whakamarama
Re: WB2 edit to header_menu help required
« Reply #2 on: June 15, 2013, 10:12:03 PM »
perfect again.
I was so close just didn't have the language just right for it to do what I wanted.

Thanks so much once again - I really apprecaite your help

Raewyn