superbuis
Newbie
Posts: 1
Registered: 5/12/2007
Member Is Offline
|
| posted on 5/12/2007 at 11:34 AM |
|
|
Static root folder
Hello,
I've downloaded, installed and configured the free Tigra Tree menu (Demo1) and it works great! But I now have the following setup, where I run into
some issues.
I've a php/mysql website and I build the Tirgra menu from some tables. Works fine as well. This is my setup:
index.php
header.php
footer.php
/member/viewmemberinfo.php
The footer.php contains the menu javascript call and reference to menu_items.php. But this footer is also used in the viewmemberinfo.php. The problem
is that it adds the member folder into my menu links now. So for example from my footer.php in the index.php the menu generates a link to
member/viewmemberinfo.php. When this page is opened, the footer.php in the viewmemberinfo.php rebuild the menu, but adds the folder "member" to all
the links, which I ofcourse do not want. I'm not realy familiar with Javascript, just some general knowledge. So it's hard for me to figure out
where this folder is defined exactly. So my question is: where do I define/overrule the folder reference? Again, I have the Demo1.
I hope my problem description is clear enough. Thanks in advance for your reply!
|
|
|
tigra
Administrator
Posts: 1926
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 5/12/2007 at 04:12 PM |
|
|
use absolute paths, they point to the same location regardless of where you are now
i.e. /member/viewmemberinfo.php (with slash at the beginning)
|
|
|
|