I can't find anything in the tutorials or the wiki because the links are broken.
this is the link to my site. www.markedbytheboys.com/fanfiction
As you can see the menu bar has the home, challenges, authors, forum, ect...
I want to add a new button there that links to another site. I was using the CSS ZEN skin if that matters. I don't know where to go to adjust this menu, add the button and hyperlink.
"Quoth the raven, `Nevermore.'" - EAP
You should go into the skin's variables.php and add it there.
This is the relevant section:
$blocks["menu"]["status"] = '1';
$blocks["menu"]["content"] = array (
0 => 'adminarea',
1 => 'logout',
2 => 'login',
3 => 'search',
4 => 'tens',
5 => 'browse',
6 => 'members',
7 => 'home');
$blocks["menu"]["style"] = 0;
You'll have to create a new page link in the Admin > Page Links area. The thing in single quotes is whatever you set the name as in Page Links. Make sense? Haven't looked at this in ages but that's what I remember...
You'll have to add a new line in there with the 8, and then if you want you can also change the order. So like you could do
$blocks["menu"]["content"] = array (
0 => 'forums',
1 => 'adminarea',
2 => 'logout',
3 => 'login',
4 => 'search',
5 => 'tens',
6 => 'browse',
7 => 'members',
8 => 'home');
Forums is something I actually did. So the Page Link was like this:
Name: forums
Text of Link: Forums
Link URL: http://forums.dracoandginny.com
Link Target: Same Window (or you can use New Window if you like)
Link Access Level: All (or you can do Admin / Member only links if you want)
This is nice in some skins, because you can have the menus set in-site with the Menu block and not through the variables.php, which means you change menu block and it changes all skins except those overriden by variables.php (like CSSZen). You can also use this to split your menus like in many of my skins. ( http://dracoandginny.com/index.php?skin=Photobooth2)
Ok I am at work right now, but I will definitely try this tonight. Can you tell me what the purpose of the numbering is? Please check back with me in case I screw this up hehehe π Thank you so much. I really appreciate it. you have no clue how much.
"Quoth the raven, `Nevermore.'" - EAP
The numbering is because it's an array and it needs a key.
http://php.net/manual/en/language.types.array.php
Yeah, this was definitely all in the wiki. I remember editing / writing it. : D I think it's Carissa that set up the site so I'll message her and see if it can be fixed.
I hope the wiki can go back up. It would be helpful. I will try this when I get home.
"Quoth the raven, `Nevermore.'" - EAP
these directions worked perfectly. Thank you so much.
"Quoth the raven, `Nevermore.'" - EAP
