Jump to:

1374 Posts in 487 Topics by 520 members

Themes

SilverStripe Forums » Themes » "balance" theme not working

Discuss SilverStripe Themes.

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

Page: 1 2
Go to End
Author Topic: 3208 Views
  • affilimate
    Avatar
    Community Member
    9 Posts

    "balance" theme not working Link to this post

    Hi,

    I tried to install the "balance" theme, but the website totally disappears and all I see is white - I have tried other themes and they worked but balance seems weird anyway when I look in the folders - there are several files that start wit ._ and the theme folder is deep in the folder tree - can anyone advice?

  • mandrew
    Avatar
    Core Development Team
    32 Posts

    Re: "balance" theme not working Link to this post

    Hi Ron,

    Just had a look at the balance theme and its file structure is a bit different to the other themes.

    Make sure you add the folder balance into the themes folder on your website.

    If you have added the Users folder then it could get confused and bring up a white screen.

    Mike.

  • affilimate
    Avatar
    Community Member
    9 Posts

    Re: "balance" theme not working Link to this post

    Hi Mike,

    yes I was able to get that far but I what I was saying is that the theme wasn't working. I've added the balance folder and all I can see is a white screen. - Please try it and see.

    Regards,
    Ron

  • mandrew
    Avatar
    Core Development Team
    32 Posts

    Re: "balance" theme not working Link to this post

    Hi Ron,

    Gave it a go and the theme seems to work ok?

    All I did was:
    - drop the folder 'balance' into the themes directory
    - change this line "SSViewer::set_theme('blackcandy');" in mysite/_config.php file to "SSViewer::set_theme('balance');"
    - add ?flush=1 to the url i.e. http://www.mysite.com/?flush=1

    Is this the steps you followed?

    Mike.

  • affilimate
    Avatar
    Community Member
    9 Posts

    Re: "balance" theme not working Link to this post

    yes, that's exactly what I did. I was surprised that it worked for you so I looked again to see if I can find another cause and I did find something strange. In the file /public_html/themes/balance/templates/Includes there is a weird file that does not belong there called

    .pureftpd-upload.4ac97b3f.15.3759.7900bc4c

    I googled it and found out that this is some error that occurred when uploading it (damn you filezilla!)

    I tried to delete it but it won't let me and I don't seem to find any useful info out there in Googleland. Everyone is talking about some advanced database commands and permissions but that's way beyond my knowledge

    Could that weird file be the cause?

  • affilimate
    Avatar
    Community Member
    9 Posts

    Re: "balance" theme not working Link to this post

    Awsome! it worked all of a sudden! I just tried again (without flush) and it worked!

    Sweet! However, if you can just tell me how to get rid of that weird file above then that would be great!

  • mandrew
    Avatar
    Core Development Team
    32 Posts

    Re: "balance" theme not working Link to this post

    Hi,

    If some error occurred when uploading the file and created this weird file, chances are that you don't have all the files, which would explain why you are getting an error.

    Try downloading the template again and see if you get this file again (or any other errors?) , delete the existing theme and add the new one.

    This should hopefully solve your issue.

    Mike.

  • affilimate
    Avatar
    Community Member
    9 Posts

    Re: "balance" theme not working Link to this post

    Hi Mike,

    tried all that - replaced all files but I couldn't delete that folder that the file was in and obviously neither the foders above (all the way to "balance" and that's why I was asking for help to delete that file.

    Ron

    3208 Views
Page: 1 2
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.