2006-01-14, 12:28 PM
Is there a way to make a custom menu in portal to stand to the left with welcom menu,latest thread,etc...?I need it to put some banners...
Custom menus in portal!?
|
2006-01-14, 12:28 PM
Is there a way to make a custom menu in portal to stand to the left with welcom menu,latest thread,etc...?I need it to put some banners...
ow yeah you can
in Admin CP > Templates > Modify / Delete > Expand > Portal Templates > Portal Find this $welcome above it add $adv now go back to the list, find the button New Template at the top add a new template called portal_adv and add this code to it
or you may add the code directly above $welcome and in portal.php just above // Get the online users add eval("\$adv = \"".$templates->get("portal_adv")."\";"); Many regards
2006-01-14, 02:00 PM
Thanks Zaher you were really helpful and polite to me!I ought you one
Just one more thing.How to set that menu to be on the right side of the portal?
2006-01-14, 02:56 PM
ow alright
again in Admin CP > Templates > Modify / Delete > Expand > Portal Templates > Portal FInd this
just below it add
see !! the $adv which is the template we have made is here. so make sure to name it correct as u made it. many regards
I have got this:
"Hosting" menu needs to be on the right.I wrote the code as you said watching the menu name (adv)!
2006-01-15, 01:31 PM
well no make sure you have put the code menitoned in my last post after
because it worked for me! and u may check it at my testing forum
2006-01-15, 10:01 PM
It won't work
Here is the whole code: <html> <head> <title>$settings[bbname]</title> $headerinclude </head> <body> $header <table width="$theme[tablewidth]" cellspacing="0" cellpadding="$theme[tablespace]" border="0" align="center"> <tr><td valign="top" width="200"> $adv <table cellspacing="0" cellpadding="0" border="0" width="100%"> <tr> <td class="tborder"> <table border="0" cellspacing="$theme[borderwidth]" cellpadding="$theme[tablespace]" width="100%"> <tr> <td class="thead"><strong>Hosting</strong></td> </tr> <tr> <td class="trow1"> </div><div align="center"><a href="http://www.soloymi.com?hosting_id=143" target="_blank"><img src="http://www.soloymi.com/markica.php?hosting_id=143" border="0"></div></a> </td> </tr> </table></td></tr></table> <br /> $welcome $pms $search $stats $whosonline $latestthreads </td> <td class="trow"> </td> <td width="*" valign="top"> $announcements </td> <td class="trow"> </td> <td width="200" valign="top"> $adv </td> </td> </tr> </table> $footer </body> </html>
alright what u have done is that u have put the code for the new box in the same template above $welcome
this code i mean
so what ur going to do now is wheter to make the new template called adv with this code or replace $adv with this code. but i prefer the new template one anyway i will put the code below
best regards
2006-01-20, 08:01 PM
Ok zaher i can now create menus alone but there is one more thing i need to know.
I created main menu and there are some links like download,texts,etc... My portal looks like this http://slackware-srbija.org but i don't know how to make it when i click download or texts link i get new page instead of news i have in the middle? |
« Next Oldest | Next Newest »
|