<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Forum posts to 'Archive'</title>
		<link>http://www.silverstripe.org/archive/rss</link>
		<atom:link href="http://www.silverstripe.org/archive/rss" rel="self" type="application/rss+xml" />
		<description></description>

		
		<item>
			<title>Re: Problems with the CMS backend, when developing a new theme</title>
			<link>http://www.silverstripe.org/archive/show/147629?start=0#post154199</link>
			<description>&lt;p&gt;&lt;strong&gt;maybe i re-styled some class that uses the cms itself...&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;The CMS will include 2 files from your theme - typography.css and editor.css if you have those 2 files and any styles in them then yes that would effect your CMS.&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: Problems with the CMS backend, when developing a new theme &lt;a href=&quot;http://www.silverstripe.org/archive/show/147629?start=0#post154199&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/147629?start=0#post154199&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Tue, 26 Aug 2008 17:27:25 +1200</pubDate>
			<dc:creator>willr</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/147629?start=0#post154199</guid>
		</item>
		
		<item>
			<title>Re: Problems with the CMS backend, when developing a new theme</title>
			<link>http://www.silverstripe.org/archive/show/147629?start=0#post154193</link>
			<description>&lt;p&gt;Wilr,&lt;/p&gt;&lt;p&gt;I've noticed that once logged in, things look good, i mean, with blackcandy theme...&lt;/p&gt;&lt;p&gt;I've managed this issue remaining logged in (and using the &quot;remember password&quot; feature), so i log directly to the cms every time i visit the /admin url.&lt;/p&gt;&lt;p&gt;So i Alternatively edit the config.... file, for the theme to display. It's a very basic workaround, but it helped me to develop almost the complete site.&lt;/p&gt;&lt;p&gt;Anyway, i would love to know how to fix this issue... maybe i re-styled some class that uses the cms itself...&lt;/p&gt;&lt;p&gt;Regards&lt;/p&gt;&lt;p&gt;Eduardo&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: Problems with the CMS backend, when developing a new theme &lt;a href=&quot;http://www.silverstripe.org/archive/show/147629?start=0#post154193&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/147629?start=0#post154193&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Tue, 26 Aug 2008 17:19:18 +1200</pubDate>
			<dc:creator>CriaturaCreativaStudio</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/147629?start=0#post154193</guid>
		</item>
		
		<item>
			<title>Re: Problems with the CMS backend, when developing a new theme</title>
			<link>http://www.silverstripe.org/archive/show/147629?start=0#post148376</link>
			<description>&lt;p&gt;Requirements::themedCSS(&quot;layout&quot;); &lt;br /&gt;Requirements::themedCSS(&quot;typography&quot;); &lt;br /&gt;Requirements::themedCSS(&quot;editor&quot;); &lt;br /&gt;Requirements::themedCSS(&quot;never_styles&quot;); &lt;/p&gt;&lt;p&gt;Have you got a layout.css , typography.css and editor.css in the yourtheme/css/.  If you aren't using them then you dont need to include them. But if they are not there then it shouldnt use your css file thats just odd!.&lt;/p&gt;&lt;p&gt;What is changing in the backend? is it just the font sizes or color. &lt;/p&gt;&lt;p&gt;You could try copy all your styles from never_styles to layout.css and then see if it effects the backend.&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: Problems with the CMS backend, when developing a new theme &lt;a href=&quot;http://www.silverstripe.org/archive/show/147629?start=0#post148376&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/147629?start=0#post148376&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Mon, 18 Aug 2008 13:18:46 +1200</pubDate>
			<dc:creator>willr</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/147629?start=0#post148376</guid>
		</item>
		
		<item>
			<title>Re: Problems with the CMS backend, when developing a new theme</title>
			<link>http://www.silverstripe.org/archive/show/147629?start=0#post148022</link>
			<description>&lt;p&gt;hello willr....thanks for your answer...&lt;/p&gt;&lt;p&gt;seems like i dont understand the cms structure at all... i alternativelly have or my &quot;redjeans&quot; theme for all the site (live site and cms), or the blackcandy for both parts...&lt;/p&gt;&lt;p&gt;Anything i'm doing is wrong.&lt;/p&gt;&lt;p&gt;I don't understand how the backend manages the blackcandy style, since i'm specifying the new style on the config file... i alternatively have one visualization or the other.. never the two as i'm specting...&lt;/p&gt;&lt;p&gt;i have this line on mysite/_config.php&lt;/p&gt;&lt;p&gt;SSViewer::set_theme('redjeans');&lt;/p&gt;&lt;p&gt;on mysite/code/Page.php&lt;/p&gt;&lt;p&gt;.....&lt;br /&gt;class Page_Controller extends ContentController {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;function init() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;parent::init();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Requirements::themedCSS(&quot;layout&quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Requirements::themedCSS(&quot;typography&quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Requirements::themedCSS(&quot;editor&quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Requirements::themedCSS(&quot;never_styles&quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;.....&lt;/p&gt;&lt;p&gt;As it is, now im seeing my theme both in the site and the backend...&lt;/p&gt;&lt;p&gt;I'm tried referencing only my new styles, and it dindt work too, so last configuration ive tried is reference all the 4 stylesheets.&lt;/p&gt;&lt;p&gt;Hope you can help me wiht this issue, it's driving me mad&lt;/p&gt;&lt;p&gt;Regards&lt;/p&gt;&lt;p&gt;Eduardo&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: Problems with the CMS backend, when developing a new theme &lt;a href=&quot;http://www.silverstripe.org/archive/show/147629?start=0#post148022&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/147629?start=0#post148022&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Mon, 18 Aug 2008 06:54:50 +1200</pubDate>
			<dc:creator>CriaturaCreativaStudio</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/147629?start=0#post148022</guid>
		</item>
		
		<item>
			<title>Re: Problems with the CMS backend, when developing a new theme</title>
			<link>http://www.silverstripe.org/archive/show/147629?start=0#post147635</link>
			<description>&lt;p&gt;Its strange that the backend is including your CSS. Is that Requirements::themedCSS() in the function init() in the Page_Controller class?.&lt;/p&gt;&lt;p&gt;Normally the CMS can be styled from your theme but using a file called editor.css and typography.css - maybe create those 2 files - leave them blank but see if the cms is still playing up&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: Problems with the CMS backend, when developing a new theme &lt;a href=&quot;http://www.silverstripe.org/archive/show/147629?start=0#post147635&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/147629?start=0#post147635&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Sun, 17 Aug 2008 12:36:52 +1200</pubDate>
			<dc:creator>willr</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/147629?start=0#post147635</guid>
		</item>
		
		<item>
			<title>Problems with the CMS backend, when developing a new theme</title>
			<link>http://www.silverstripe.org/archive/show/147629#post147629</link>
			<description>&lt;p&gt;Hello there!&lt;/p&gt;&lt;p&gt;Mi name is Eduardo Cesario, you may know me by my Organica Creativa design on Zen Garden.&lt;/p&gt;&lt;p&gt;I'm developing a very basic site, my first one using the cms. Everything it's going quite well.&lt;br /&gt;I'm runing MAMP on a Macbook Pro.&lt;/p&gt;&lt;p&gt;When i've updated the files to let the CMS know wich theme use (in my case, called &quot;redjeans&quot;), the previews looks ok, but the problem ocurrs when i want to log in agian on the cms to continue adding contents into it.&lt;br /&gt;The backend uses also my new theme! i want to mantain the original theme for the backend, mainly because when the final client use the site, it will be a mess if it doenst display correctly.&lt;/p&gt;&lt;p&gt;i've edited two files as follows:&lt;/p&gt;&lt;p&gt;mysite/_config.php&lt;/p&gt;&lt;p&gt;SSViewer::set_theme('redjeans');&lt;/p&gt;&lt;p&gt;mysite/code/Page.php&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Requirements::themedCSS(&quot;never_styles&quot;);&lt;/p&gt;&lt;p&gt;and deleted the 3 original lines (wich are the blackcandy files). I dont know how to manage this, it's weird that i've lost all the original theme for the backend.... maybe i'm doing something wrong, so i ended up here, becuse im tired to reconfigure the 2 files each time i want to swicth to the backoffice.&lt;/p&gt;&lt;p&gt;(for you to know, yes, i refreshed the urls using flush=1)&lt;/p&gt;&lt;p&gt;hope someone could help me&lt;/p&gt;&lt;p&gt;best regards and thanks!&lt;/p&gt;&lt;p&gt;Eduardo&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: Problems with the CMS backend, when developing a new theme &lt;a href=&quot;http://www.silverstripe.org/archive/show/147629#post147629&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/show/147629#post147629&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Sun, 17 Aug 2008 12:28:52 +1200</pubDate>
			<dc:creator>CriaturaCreativaStudio</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/147629#post147629</guid>
		</item>
		

	</channel>
</rss>