Jump to:

3432 Posts in 1025 Topics by 865 members

Template Questions

SilverStripe Forums » Template Questions » problem accessing backend cms

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

Page: 1
Go to End
Author Topic: 733 Views
  • AL
    Avatar
    Community Member
    7 Posts

    problem accessing backend cms Link to this post

    Hi,

    I've created a new theme, actually a copy of blackcandy.
    I've modified the _config.php file to SSViewer::set_theme('newtheme');
    And now I can't access the cms backend thru http://localhost/silverstripe/admin command. I can't log in because no form is displayed.
    The system automatically redirects to http://localhost/silverstripe/Security/login?BackURL=%2Fsilverstripe%2Fdev%2Fbuild
    and displays my new theme as i can find at http://localhost/silverstripe...
    I have no control over the cms.
    This happens every time I want to create a new theme.

    Any ideas why?

    Thanks,
    Alex

  • martimiz
    Avatar
    Forum Moderator
    1067 Posts

    Re: problem accessing backend cms Link to this post

    If it's an exact copy of BlackCandy, it should work, at least after a ?flush=all ... Make sure the $Form variable is present in the content area of the Page.ss area, because that is what makes the (login)form appear. Make sure to flush again after you add it (if it's missing).

  • AL
    Avatar
    Community Member
    7 Posts

    Re: problem accessing backend cms Link to this post

    Thanks for your reply martimiz.
    Yes, its finally working. I had this $Form variable on my custom Home Page page type...maybe that's why it didn't work in the first place.

    733 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.