Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Admin Page top bar and footer bar editing.


Reply

7 Posts   2287 Views

Avatar
snovvvolf

28 June 2008 at 9:05pm Community Member, 51 Posts

any one know that where can i edit the admin page top bar, i want to change the HELP link. and the footer at the admin page, to edit the silver stripe 2.2.2 and edit profile link?

Avatar
Willr

28 June 2008 at 9:46pm Forum Moderator, 5511 Posts

You can disable things in the top nav by adding this to your mysite/_config.php

Object::addStaticVars('LeftAndMain', array(
   'removed_menu_items' => array(
   'help',
)
));

To edit the footer you will need to modify the file at cms/templates/LeftAndMain.ss

Avatar
snovvvolf

29 June 2008 at 1:54am (Last edited: 29 June 2008 9:50pm), Community Member, 51 Posts

willr,

i can't find the mysite/_config.php file.

in my silver stripe scripts just have mysite/code/page.php only dint saw any _config.php file in mysite.

Avatar
Wojtek

29 June 2008 at 3:25am Community Member, 149 Posts

maybe you have installed SilverStripe with the tutorial option? If so, the _config.php path should be tutorial/_config.php

Avatar
snovvvolf

29 June 2008 at 4:20am Community Member, 51 Posts

Hi Wojtek,

in my silver stripe folder have tutorial folder but inside the folder i can saw any _config.php there, in may tutorial just have Code, CSS, Images and Template folder.

and all those folder in my tutorial also can't find _config.php.

Avatar
Willr

29 June 2008 at 10:35am Forum Moderator, 5511 Posts

snovvvolf,

What did you install? Did you install SilverStripe using the "Empty Template - ready for the tutorial" option or the "Blackcandy" option, for the site to be working then there must be a _config.php file in mysite/ or tutorial/

Just to test can you see a _config.php file in the cms/ or sapphire folders? Maybe your user doesnt have rights to view files beginning with a _

Avatar
snovvvolf

29 June 2008 at 4:17pm Community Member, 51 Posts

sorry wojtek, and willr is my mistake, i just find the _config.php in my laptop silver tripe folder, i dint login in to my server to check it, now i get it already, the _config.php is the file create when i install the SS cms.