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   2295 Views

Avatar
snovvvolf

Community Member, 51 Posts

28 June 2008 at 9:05pm

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

Forum Moderator, 5513 Posts

28 June 2008 at 9:46pm

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

Community Member, 51 Posts

29 June 2008 at 1:54am

Edited: 29/06/2008 9:50pm

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

Community Member, 149 Posts

29 June 2008 at 3:25am

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

Avatar
snovvvolf

Community Member, 51 Posts

29 June 2008 at 4:20am

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

Forum Moderator, 5513 Posts

29 June 2008 at 10:35am

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

Community Member, 51 Posts

29 June 2008 at 4:17pm

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.