<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Create a Dynamic CSS File in MODx</title>
	<atom:link href="http://www.gregorysmart.com/2010/02/11/create-a-dynamic-css-file-in-modx/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gregorysmart.com/2010/02/11/create-a-dynamic-css-file-in-modx/</link>
	<description>Web development, modx, css, standards, managed web hosting, business class email solutions.</description>
	<lastBuildDate>Sat, 28 Jan 2012 22:15:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Gregory Smart</title>
		<link>http://www.gregorysmart.com/2010/02/11/create-a-dynamic-css-file-in-modx/comment-page-1/#comment-607</link>
		<dc:creator>Gregory Smart</dc:creator>
		<pubDate>Wed, 15 Jun 2011 12:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.gregorysmart.com/?p=841#comment-607</guid>
		<description>I have also ran across this Revo color picker lately, it has been working well for me: http://modxcms.com/forums/index.php?topic=59277.0</description>
		<content:encoded><![CDATA[<p>I have also ran across this Revo color picker lately, it has been working well for me: <a href="http://modxcms.com/forums/index.php?topic=59277.0" rel="nofollow">http://modxcms.com/forums/index.php?topic=59277.0</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: e-Stonia Web</title>
		<link>http://www.gregorysmart.com/2010/02/11/create-a-dynamic-css-file-in-modx/comment-page-1/#comment-606</link>
		<dc:creator>e-Stonia Web</dc:creator>
		<pubDate>Wed, 15 Jun 2011 10:04:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.gregorysmart.com/?p=841#comment-606</guid>
		<description>Actually the solution was to have the part of the CSS code (where I need to be able to change values for each page separately) in a chunk and then I can have in the chunk TV. So I can let customer for example choose header image for each page via TV and header image is defined in CSS.</description>
		<content:encoded><![CDATA[<p>Actually the solution was to have the part of the CSS code (where I need to be able to change values for each page separately) in a chunk and then I can have in the chunk TV. So I can let customer for example choose header image for each page via TV and header image is defined in CSS.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Creating a User Config Page in Revo &#124; Greg Smart</title>
		<link>http://www.gregorysmart.com/2010/02/11/create-a-dynamic-css-file-in-modx/comment-page-1/#comment-505</link>
		<dc:creator>Creating a User Config Page in Revo &#124; Greg Smart</dc:creator>
		<pubDate>Tue, 19 Oct 2010 16:41:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.gregorysmart.com/?p=841#comment-505</guid>
		<description>[...] Config document and retrieve any TV value(s). This approach can also be extended, as I described in Create a Dynamic CSS File in MODx, to allow the end user the control over just about any of your site&#8217;s CSS values as [...]</description>
		<content:encoded><![CDATA[<p>[...] Config document and retrieve any TV value(s). This approach can also be extended, as I described in Create a Dynamic CSS File in MODx, to allow the end user the control over just about any of your site&#8217;s CSS values as [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: e-Stonia Web Developers</title>
		<link>http://www.gregorysmart.com/2010/02/11/create-a-dynamic-css-file-in-modx/comment-page-1/#comment-406</link>
		<dc:creator>e-Stonia Web Developers</dc:creator>
		<pubDate>Mon, 07 Jun 2010 17:07:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.gregorysmart.com/?p=841#comment-406</guid>
		<description>Thanks a lot! That works just perfect. Simple solutions that often just doesn&#039;t come to mind:)</description>
		<content:encoded><![CDATA[<p>Thanks a lot! That works just perfect. Simple solutions that often just doesn&#39;t come to mind:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gregory Smart</title>
		<link>http://www.gregorysmart.com/2010/02/11/create-a-dynamic-css-file-in-modx/comment-page-1/#comment-402</link>
		<dc:creator>Gregory Smart</dc:creator>
		<pubDate>Sat, 05 Jun 2010 19:17:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.gregorysmart.com/?p=841#comment-402</guid>
		<description>I generally try to avoid in-line CSS statements, but in a case like this it&lt;br&gt;could be the most direct approach. I would create a PHx statement (place it&lt;br&gt;in the header below the primary CSS document call) something&lt;br&gt;like: [+phx:if=`[+yourTV+]`:is=``:then=``:else=`inlineCSSwithTVcolorcode`+].&lt;br&gt;I would also define a default attribute in the primary CSS document, if a&lt;br&gt;call to the same attribute is found later in the HTML document it will be&lt;br&gt;respected.&lt;br&gt;&lt;br&gt;Thanks, Greg.&lt;br&gt;&lt;br&gt;Greg Smart&lt;br&gt;Project Development&lt;br&gt;Pleth, LLC&lt;br&gt;1-888-276-0848</description>
		<content:encoded><![CDATA[<p>I generally try to avoid in-line CSS statements, but in a case like this it<br />could be the most direct approach. I would create a PHx statement (place it<br />in the header below the primary CSS document call) something<br />like: [+phx:if=`[+yourTV+]`:is=&#8220;:then=&#8220;:else=`inlineCSSwithTVcolorcode`+].<br />I would also define a default attribute in the primary CSS document, if a<br />call to the same attribute is found later in the HTML document it will be<br />respected.</p>
<p>Thanks, Greg.</p>
<p>Greg Smart<br />Project Development<br />Pleth, LLC<br />1-888-276-0848</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: e-Stonia Web Developers</title>
		<link>http://www.gregorysmart.com/2010/02/11/create-a-dynamic-css-file-in-modx/comment-page-1/#comment-401</link>
		<dc:creator>e-Stonia Web Developers</dc:creator>
		<pubDate>Sat, 05 Jun 2010 18:41:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.gregorysmart.com/?p=841#comment-401</guid>
		<description>I checked that post and from there the initial idea came - but that doesn&#039;t solve the issue. There I can define from which page&#039;s template variable for example the color is taken. But I want to define the color for every page I create. For example I want to create a TV called &quot;ColorCode&quot; and then define it for every page I create.&lt;br&gt;&lt;br&gt;If I just create TV &quot;ColorCode&quot; and add to CSS [*ColorCode*] then that obviously won&#039;t work as it will look what&#039;s the TV value in CSS document&#039;s &quot;ColorCode&quot; TV.</description>
		<content:encoded><![CDATA[<p>I checked that post and from there the initial idea came &#8211; but that doesn&#39;t solve the issue. There I can define from which page&#39;s template variable for example the color is taken. But I want to define the color for every page I create. For example I want to create a TV called &#8220;ColorCode&#8221; and then define it for every page I create.</p>
<p>If I just create TV &#8220;ColorCode&#8221; and add to CSS [*ColorCode*] then that obviously won&#39;t work as it will look what&#39;s the TV value in CSS document&#39;s &#8220;ColorCode&#8221; TV.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gregory Smart</title>
		<link>http://www.gregorysmart.com/2010/02/11/create-a-dynamic-css-file-in-modx/comment-page-1/#comment-400</link>
		<dc:creator>Gregory Smart</dc:creator>
		<pubDate>Sat, 05 Jun 2010 09:17:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.gregorysmart.com/?p=841#comment-400</guid>
		<description>This might help:&lt;br&gt;&lt;a href=&quot;http://www.gregorysmart.com/2010/01/08/create-a-user-config-page-in-modx/&quot; rel=&quot;nofollow&quot;&gt;http://www.gregorysmart.com/2010/01/08/create-a...&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>This might help:<br /><a href="http://www.gregorysmart.com/2010/01/08/create-a-user-config-page-in-modx/" rel="nofollow">http://www.gregorysmart.com/2010/01/08/create-a&#8230;</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: e-Stonia Web Developers</title>
		<link>http://www.gregorysmart.com/2010/02/11/create-a-dynamic-css-file-in-modx/comment-page-1/#comment-396</link>
		<dc:creator>e-Stonia Web Developers</dc:creator>
		<pubDate>Thu, 03 Jun 2010 19:53:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.gregorysmart.com/?p=841#comment-396</guid>
		<description>Just wondering now weather it&#039;s possible to make it possible to choose page backgroud color or whatever else in CSS different option on each page.</description>
		<content:encoded><![CDATA[<p>Just wondering now weather it&#39;s possible to make it possible to choose page backgroud color or whatever else in CSS different option on each page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: e-Stonia Web Developers</title>
		<link>http://www.gregorysmart.com/2010/02/11/create-a-dynamic-css-file-in-modx/comment-page-1/#comment-395</link>
		<dc:creator>e-Stonia Web Developers</dc:creator>
		<pubDate>Thu, 03 Jun 2010 19:51:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.gregorysmart.com/?p=841#comment-395</guid>
		<description>Got it working now. The trick was to make the media type to: text/css as by default it was text/css.&lt;br&gt;&lt;br&gt;Thank you very useful idea:)</description>
		<content:encoded><![CDATA[<p>Got it working now. The trick was to make the media type to: text/css as by default it was text/css.</p>
<p>Thank you very useful idea:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: e-Stonia Web Developers</title>
		<link>http://www.gregorysmart.com/2010/02/11/create-a-dynamic-css-file-in-modx/comment-page-1/#comment-394</link>
		<dc:creator>e-Stonia Web Developers</dc:creator>
		<pubDate>Thu, 03 Jun 2010 19:19:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.gregorysmart.com/?p=841#comment-394</guid>
		<description>Weird, I created style.css document and it shows fine when I go to mydomain.com/style.css but when I link it as a CSS file at template then nothing happens:S</description>
		<content:encoded><![CDATA[<p>Weird, I created style.css document and it shows fine when I go to mydomain.com/style.css but when I link it as a CSS file at template then nothing happens:S</p>
]]></content:encoded>
	</item>
</channel>
</rss>

