Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Admin Page top bar and footer bar editing.

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

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

Page: 1
Go to End
Author Topic: 2221 Views
  • snovvvolf
    Avatar
    Community Member
    51 Posts

    Admin Page top bar and footer bar editing. Link to this post

    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?

  • Willr
    Avatar
    Forum Moderator
    5464 Posts

    Re: Admin Page top bar and footer bar editing. Link to this post

    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

  • snovvvolf
    Avatar
    Community Member
    51 Posts

    Re: Admin Page top bar and footer bar editing. Link to this post

    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.

  • Wojtek
    Avatar
    Community Member
    149 Posts

    Re: Admin Page top bar and footer bar editing. Link to this post

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

  • snovvvolf
    Avatar
    Community Member
    51 Posts

    Re: Admin Page top bar and footer bar editing. Link to this post

    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.

  • Willr
    Avatar
    Forum Moderator
    5464 Posts

    Re: Admin Page top bar and footer bar editing. Link to this post

    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 _

  • snovvvolf
    Avatar
    Community Member
    51 Posts

    Re: Admin Page top bar and footer bar editing. Link to this post

    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.

    2221 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.