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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Themes /

Discuss SilverStripe Themes.

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

How to Cahnge Name of mysite ??


Go to End


7 Posts   2761 Views

Avatar
spencerlim

Community Member, 16 Posts

9 April 2009 at 5:46pm

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

Community Member, 26 Posts

9 April 2009 at 9:20pm

Edited: 09/04/2009 9:21pm

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

Community Member, 16 Posts

9 April 2009 at 10:51pm

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

Community Member, 26 Posts

9 April 2009 at 11:40pm

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

Community Member, 16 Posts

9 April 2009 at 11:48pm

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

Community Member, 16 Posts

9 April 2009 at 11:51pm

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

Community Member, 16 Posts

10 April 2009 at 12:38am

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 ~