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.

Themes

Discuss SilverStripe Themes.

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

How to Cahnge Name of mysite ??


Reply

7 Posts   1559 Views

Avatar
spencerlim

9 April 2009 at 5:46pm Community Member, 16 Posts

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 ??

Avatar
gaston

9 April 2009 at 9:20pm (Last edited: 9 April 2009 9:21pm), Community Member, 24 Posts

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

Avatar
spencerlim

9 April 2009 at 10:51pm Community Member, 16 Posts

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

Avatar
gaston

9 April 2009 at 11:40pm Community Member, 24 Posts

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

Avatar
spencerlim

9 April 2009 at 11:48pm Community Member, 16 Posts

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

Avatar
spencerlim

9 April 2009 at 11:51pm Community Member, 16 Posts

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

Avatar
spencerlim

10 April 2009 at 12:38am Community Member, 16 Posts

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 ~