Jump to:

1374 Posts in 487 Topics by 520 members

Themes

SilverStripe Forums » Themes » How to Cahnge Name of mysite ??

Discuss SilverStripe Themes.

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

Page: 1
Go to End
Author Topic: 1515 Views
  • spencerlim
    Avatar
    Community Member
    16 Posts

    How to Cahnge Name of mysite ?? Link to this post

    Example , i using vista theme ,
    i go vista/template/page.ss
    i retype the name ,
    and the tagline
    once i saved and refresh the page ,
    found that css and layout no more
    only background and text...
    may i know where is the problem ?
    i tried to repaste the original file ,
    but the problem still exist and i can't use the theme anymore...
    someone help please ??

  • gaston
    Avatar
    Community Member
    24 Posts

    Re: How to Cahnge Name of mysite ?? Link to this post

    Salut,

    I suggest the following:

    • - download and extract the theme (i.e. Vista) into the themes subdirectory. Change _config.php to use this theme and check it is working.
    • - copy the entire theme directory to a new theme directory with them of your choice (i.e. MyTheme)
    • - change _config.php to use MyTheme and check that it is working (All links in MyTheme will still point to Vista, but that is ok)
    • - edit all css and ss files in MyTheme to point to MyTheme directories and no longer to Vista and retest

    This way, you have the original Vista theme always at hand to check and compare.

    Hope it helps, Mathias

  • spencerlim
    Avatar
    Community Member
    16 Posts

    Re: How to Cahnge Name of mysite ?? Link to this post

    any program that allowed me to edit .ss file ?
    i think this is the problem ,
    may be everytime they apply wrong format for me ~

  • gaston
    Avatar
    Community Member
    24 Posts

    Re: How to Cahnge Name of mysite ?? Link to this post

    Salut,

    I use notepad++ (http://notepad-plus.sourceforge.net/uk/site.htm), a very nice source code editor. For testing I use Firefox with Firebug and IE-tab as Add-on, so that I can see the html and css structures and switch between IE and FF on a mouse click. For graphics I use Xara.

    Take care that the trasfer tool is uploading files correctly. If you work on a Windows PC and upload to a Linux server, you better transfer css and ss files as text(ascii) then as binary. (Unix and Windows use different line end characters, but modern ftp clients know how to handle this)

    Ciao, Mathias

  • spencerlim
    Avatar
    Community Member
    16 Posts

    Re: How to Cahnge Name of mysite ?? Link to this post

    i tried your way ,
    dirst , i apply to >>Vista , checked
    then create Mythemes , copy into ... Failed , show blank
    then recreate themes , copy themes to themes ; www./themes/themes/vista
    and changed to themes @ _config
    show blackcandy theme without layout...
    haven edit page.ss yet ~
    where is the problem @.@

  • spencerlim
    Avatar
    Community Member
    16 Posts

    Re: How to Cahnge Name of mysite ?? Link to this post

    Thx for your guild line for uploading ,
    currently i using mac os leopard
    and temporary editing locally ,
    once done only upload at once =)

  • spencerlim
    Avatar
    Community Member
    16 Posts

    Re: How to Cahnge Name of mysite ?? Link to this post

    wow...dude , finally i solve my problem...
    i download all advance text editor for mac , and edit the text , finally successes=)
    you help me a lot ...
    you great work is appreciate =D
    THANK YOU ~

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