Hi Jan,
ich habe mir die Installationsanleitung des menues nochmal genauer angeschaut! Man muss in vb lediglich 4 templates hinzufügen und dann in globals.php dies tun:
Next part is a small but important hack in "GLOBALS.PHP" is needed to make the templates work.
First look for this line: "// ###################### Start templates #######################"
You can find it around line 248, you are now in the right section of the file.
You also now should see the following 2 lines:
$templatesused.='gobutton,timezone,username_loggedout,username_loggedin,phpinclude,headinclude,header,footer,forumjumpbit,forumjump,nav_linkoff,nav_linkon,navbar,nav_joiner';
$templatesused.=',pagenav,pagenav_curpage,pagenav_firstlink,pagenav_lastlink,pagenav_nextlink,pagenav_pagelink,pagenav_prevlink';
fill in "xmenu_menustyle," before "headerinclude"
fill in "xmenu_cssexpr,xmenu_menucode,xmenu_menudef" before "header"
A few lines down you should see the following line: "// parse css, header & footer ##################"
This is around line 276
There you change the following lines:
eval("\$headinclude = \"".gettemplate('headinclude')."\";");
eval("\$header .= \"".gettemplate('header')."\";");
into:
eval("\$xmenustyle = \"".gettemplate('xmenu_menustyle')."\";");
eval("\$headinclude = \"".gettemplate('headinclude')."\";");
eval("\$xmenucssexpr = \"".gettemplate('xmenu_cssexpr')."\";");
eval("\$xmenucode = \"".gettemplate('xmenu_menucode')."\";");
eval("\$xmenudef = \"".gettemplate('xmenu_menudef')."\";");
eval("\$header .= \"".gettemplate('header')."\";");
As you can see we have put in 4 extra template evaluations.
Still nothing apears on your pages, for this to happen you now need to edit
2 templates, namely "headinclude" and "header"
In "headinclude" look for the following tag: </style>
put the variable called $xmenustyle just before that.
In "Header" look for: <!-- toplinks -->
Just below that you find your current menu links or system
On my board i replaced that with the 3 remaining variables which are evaluated templates
with the same name, it looks like this:
<!-- toplinks -->
$xmenucssexpr
$xmenucode
$xmenudef
<!-- /toplinks -->
IMPORTANT: leave the order as you see it here
-------------------------------------------------------------------------------------------------------------------------
After this you should see the menusystem with the menudefinition that i left in for you as example
If you just want to use this as soon as posible and don't want experimenting then DON'T edit
xmenu_cssexpr and xmenu_menucode.
Following templates you should edit:
xmenu_menudef contains all menudefinitions and examples just comment out and change as needed.
xmenu_menustyle contains all coloring for the menu system
***********************************************************
added because i forgot in first place: *
*
I have put the 3 used images now in the pack. *
just put them in the images directory of the style you install this hack in. *
***********************************************************
-------------------------------------------------------------------------------------------------------------------------
Success with your menusystem,
Kannst du mir sagen wie ich das in die 4images Dateien bekomme?
Naja die templates auch hier hinzuzufügen ist ja nicht das Problem.
Sondern wo ist der entsprechende Code in der globals.php von 4images.
Ist leider vom Code her anderst geschrieben, da blick ich überhaupt nicht durch!
Wäre super wenn du mir helfen könntest!
Grüße