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.

Archive /

Our old forums are still available as a read-only archive.

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

theme


Reply


3 Posts   985 Views

Avatar
livvving

Community Member, 9 Posts

21 February 2008 at 8:55am

everything's up and running - but I can't see how to change a theme.

Also, I uploaded a flash swf file and a wmf file to the uploads folder, but don't seem to be able to get hold of them to add them to a page.

Avatar
saimo

Community Member, 67 Posts

21 February 2008 at 10:42am

Thats another setting in _config.php

For example:
SSViewer::set_theme("mytheme");

would set silverstripe to use css files and templates from the themes/mytheme folder.
a theme works mostly like it does in the tutorial, except a theme only contains the css, templates and images directories.

About the swf file:
There is a button in the editor for this. Or are you having problems seeing the files in the editor?

Avatar
livvving

Community Member, 9 Posts

21 February 2008 at 2:39pm

thanks, I'll go check that out - doesn't seem very user friendly to edit themes that way though.

As for the swf and wmf files - I uploaded them easily enough, but don't see them in the right hand column when I click on the add flash or add movie icons in the text edit window - like I do with still images.