The problem is that i gona have 3 menus.
One for non logged in
one english logged in
one swedish logged in
So ofcourse i create 3 folders here is 2:
English
Swedish
I want to have them in folders because it gets alot more easier
to seperate them and update each one if i have too..
The menu as it gona look when its done (As you can see its the whole header i gona change )
Demo 1 (Done?)
So i created a temporary file one folder down from the menu files:
TESTPAGE
In the menu folder i created a tpl file whit the code i got from the menu builder to put on the acually page:
Code: Select all
<HTML>
<BODY>
<center>
<table border=0 cellpadding=0 cellspacing=0><tr><td><script language="javascript" src="sfengarrays.js"></script>
<script language="javascript">
var HOPBn=false;uagent = window.navigator.userAgent.toLowerCase();HOPBn=(uagent.indexOf('opera') != -1)?true:false;
if(document.all){if(HOPBn==true){ document.write("<scr"+"ipt language=\"javascript\" sr"+"c=\"sfmenuengopera.js\"></scr"+"ipt>");document.write('<div id="enghmplcmenu1" style="position:relative;width:485px;height:22px;background:#000000;padding:0px;overflow:hidden;border-width:0px;"></div>');}
else{ document.write("<scr"+"ipt language=\"javascript\" sr"+"c=\"sfmenuengie.js\"></scr"+"ipt>");document.write('<div id="enghmplcmenu1" style="position:relative;width:485px;height:22px;background:#000000;padding:0px;overflow:hidden;border-width:0px;"></div>');}}
else{if(document.layers){ document.write("<scr"+"ipt language=\"javascript\" sr"+"c=\"sfmenuengns4.js\"></scr"+"ipt>");document.writeln('<table><tr><td width=485>');document.writeln('<ilayer id="enghmplcmenu1" width=485 height=0 bgcolor="#1D4496"></ilayer>');document.writeln('</td></tr></table>');}
else{ document.write("<scr"+"ipt language=\"javascript\" sr"+"c=\"sfmenuengns.js\"></scr"+"ipt>");}}
</script></td></tr></table>
</center>
</BODY>
</HTML>
blue.tpl
In the testpage i created 1 folder down i included the tpl file whit this code
Code: Select all
<?php include 'http://www.volunteerforum.se/Minmapp/Portalen/meny/testblue/blue.tpl'?>
TESTPAGE
Any idé how i could fix this problem