<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Blog about concrete5 cms</title>
	<atom:link href="http://www.smartwebprojects.net/concrete5-blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.smartwebprojects.net/concrete5-blog</link>
	<description>Tutorials, notes and concrete5 reviews bulletin</description>
	<lastBuildDate>Sat, 13 Feb 2010 18:10:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to change background color</title>
		<link>http://www.smartwebprojects.net/concrete5-blog/170/how-to-change-background-color/</link>
		<comments>http://www.smartwebprojects.net/concrete5-blog/170/how-to-change-background-color/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 18:10:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[concrete5 for dummies]]></category>

		<guid isPermaLink="false">http://www.smartwebprojects.net/concrete5-blog/?p=170</guid>
		<description><![CDATA[Some concrete5 themes allow to customize background color from admin dashboard. Try this:
1. Sign in to concrete5 dashboard.
2. Go to &#8216;Pages and Themes&#8216; section.
3. Click &#8216;Customize&#8216; button for a theme you want to edit.
4. If the theme supports the feature, you&#8217;ll see &#8216;Background&#8216; in theme customization options. You can choose any color using color picker [...]]]></description>
			<content:encoded><![CDATA[<p>Some concrete5 themes allow to customize background color from admin dashboard. Try this:</p>
<p>1. Sign in to concrete5 dashboard.<br />
2. Go to &#8216;<strong>Pages and Themes</strong>&#8216; section.<br />
3. Click &#8216;<strong>Customize</strong>&#8216; button for a theme you want to edit.<br />
4. If the theme supports the feature, you&#8217;ll see &#8216;<strong>Background</strong>&#8216; in theme customization options. You can choose any color using color picker and preview it almost immediatelly. Click &#8216;Save&#8217; to apply the change.</p>


<p>Related posts:<ol><li><a href='http://www.smartwebprojects.net/concrete5-blog/140/for-concrete5-theme-developers-body-background-workaround/' rel='bookmark' title='Permanent Link: For concrete5 theme developers: body background workaround'>For concrete5 theme developers: body background workaround</a></li><li><a href='http://www.smartwebprojects.net/concrete5-blog/166/replace-site-name-with-logo-p-2/' rel='bookmark' title='Permanent Link: How to replace site name with logo, p.2'>How to replace site name with logo, p.2</a></li><li><a href='http://www.smartwebprojects.net/concrete5-blog/65/how-to-install-concrete5-theme/' rel='bookmark' title='Permanent Link: How to install concrete5 theme'>How to install concrete5 theme</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.smartwebprojects.net/concrete5-blog/170/how-to-change-background-color/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to replace site name with logo, p.2</title>
		<link>http://www.smartwebprojects.net/concrete5-blog/166/replace-site-name-with-logo-p-2/</link>
		<comments>http://www.smartwebprojects.net/concrete5-blog/166/replace-site-name-with-logo-p-2/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 18:05:56 +0000</pubDate>
		<dc:creator>exclusive</dc:creator>
				<category><![CDATA[concrete5 for dummies]]></category>

		<guid isPermaLink="false">http://www.smartwebprojects.net/concrete5-blog/?p=166</guid>
		<description><![CDATA[In previous article we described how to replace sitename with logo by html editing. That was for older versions of concrete5 cms. In the latest cms you can do it without any html knowledge. Here is step-by-step instruction:
1. Sign in to admin dashboard.
2. Go to &#8216;Scrapbook&#8216; section.
3. Open &#8216;Global Scrapbook&#8216; there.
4. There will be one [...]]]></description>
			<content:encoded><![CDATA[<p>In <a href="http://www.smartwebprojects.net/concrete5-blog/15/how-to-use-logo-instead-of-sitename/">previous article</a> we described how to replace sitename with logo by html editing. That was for older versions of concrete5 cms. In the latest cms you can do it without any html knowledge. Here is step-by-step instruction:</p>
<p>1. Sign in to admin dashboard.<br />
2. Go to &#8216;<strong>Scrapbook</strong>&#8216; section.<br />
3. Open &#8216;<strong>Global Scrapbook</strong>&#8216; there.<br />
4. There will be one block there &#8211; Content: &#8220;My_Site_Name&#8221;.</p>
<p>You can go 2 ways: you can either edit this content block and add the picture via &#8216;Add image&#8217; button, or you can do the following:</p>
<p>1) delete the content block (My_Site_Name);<br />
2) Add new block of &#8216;Image&#8217; type (it will allow you to choose/upload the logo and set logo dimensions you want);<br />
3) after you add the image block, it will be assigned a default block name like &#8216;Global Scrapbook 34&#8242;. You should click &#8216;Rename&#8217; button and change the block name to <strong>My_Site_Name</strong>. Click &#8216;Save&#8217; to finish the renaming procedure;<br />
4) go to the site frontend and check if the logo is used instead of sitename. If not, that might be a problem with concrete5 theme (currently only <a href="http://www.smartwebprojects.net/concrete5-themes/cordobogreenpark2/">cordobo green park theme</a> supports it on our website, but we&#8217;ll update the other <a href="http://www.smartwebprojects.net/concrete5-themes/">concrete5 themes</a> soon). You&#8217;ll need to edit html code in this case, see <a href="http://www.smartwebprojects.net/concrete5-blog/15/how-to-use-logo-instead-of-sitename/">this article</a> then.</p>


<p>Related posts:<ol><li><a href='http://www.smartwebprojects.net/concrete5-blog/15/how-to-use-logo-instead-of-sitename/' rel='bookmark' title='Permanent Link: How to use logo instead of site name'>How to use logo instead of site name</a></li><li><a href='http://www.smartwebprojects.net/concrete5-blog/80/how-to-copy-content-block/' rel='bookmark' title='Permanent Link: How to copy content block to another concrete5 website'>How to copy content block to another concrete5 website</a></li><li><a href='http://www.smartwebprojects.net/concrete5-blog/65/how-to-install-concrete5-theme/' rel='bookmark' title='Permanent Link: How to install concrete5 theme'>How to install concrete5 theme</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.smartwebprojects.net/concrete5-blog/166/replace-site-name-with-logo-p-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>concrete5 and core dump files</title>
		<link>http://www.smartwebprojects.net/concrete5-blog/161/concrete5-and-core-dump-files/</link>
		<comments>http://www.smartwebprojects.net/concrete5-blog/161/concrete5-and-core-dump-files/#comments</comments>
		<pubDate>Sat, 26 Sep 2009 12:50:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[concrete5 for advanced users]]></category>

		<guid isPermaLink="false">http://www.smartwebprojects.net/concrete5-blog/?p=161</guid>
		<description><![CDATA[We wrote about concrete5 generating core dump files on some hostings before, we&#8217;ve did a thorough investigation of this problem, but still couldn&#8217;t find the exact reason for the core dump files being generated. But most likely it happens when concrete5 tries to allocate more resources than the system allows the php process to get.
If [...]]]></description>
			<content:encoded><![CDATA[<p>We wrote about <a href="http://www.smartwebprojects.net/concrete5-blog/90/if-concrete5-causes-core-dump-files/">concrete5 generating core dump files on some hostings</a> before, we&#8217;ve did a thorough investigation of this problem, but still couldn&#8217;t find the exact reason for the core dump files being generated. But most likely it happens when concrete5 tries to allocate more resources than the system allows the php process to get.<br />
If the solution we described (increasing memory limit) doesn&#8217;t help you, you can try this workaround which makes concrete5 delete core dump files after the script is run. Our investigations show that usually nothing really bad happens when a core dump file appears, but it might be very bad if you collect numerouse core dump files and exhaust your account limit.</p>
<p>So, try this:<br />
<span id="more-161"></span><br />
Open &#8216;<b>concrete/startup/shutdown.php</b>&#8216; file.</p>
<p>And modify it in the following way:</p>
<pre class="brush:php">
&lt;?php
defined('C5_EXECUTE') or die(_(&quot;Access Denied.&quot;));
$db = Loader::db();
if (is_object($db)) {
	$db-&gt;disconnect();
}

$dp = @opendir(DIR_BASE);
if ($dp) {
	while(false !== ($file = @readdir($dp))) {
		if (strpos($file, 'core.') === 0)
			@unlink(DIR_BASE.&quot;/&quot;.$file);
	}
	@closedir($dp);
}
exit;
</pre>


<p>Related posts:<ol><li><a href='http://www.smartwebprojects.net/concrete5-blog/90/if-concrete5-causes-core-dump-files/' rel='bookmark' title='Permanent Link: if concrete5 causes core dump files'>if concrete5 causes core dump files</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.smartwebprojects.net/concrete5-blog/161/concrete5-and-core-dump-files/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>concrete5 themes: Desk Mess Mirrored and Shades of blue</title>
		<link>http://www.smartwebprojects.net/concrete5-blog/154/concrete5-themes/</link>
		<comments>http://www.smartwebprojects.net/concrete5-blog/154/concrete5-themes/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 21:11:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[New concrete5 themes]]></category>

		<guid isPermaLink="false">http://www.smartwebprojects.net/concrete5-blog/?p=154</guid>
		<description><![CDATA[I&#8217;ve forgot to announce when these concrete5 themes were added to our themes collection. If you have any comments on these themes, please welcome &#8211; post it here.
So, here are the latest additions in concrete5 themes:
Desk Mess Mirrored

Shades of Blue

Both themes were converted from popular wordpress templates. If you have some design and want a [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve forgot to announce when these concrete5 themes were added to our <a href="http://www.smartwebprojects.net/concrete5-themes/">themes collection</a>. If you have any comments on these themes, please welcome &#8211; post it here.</p>
<p>So, here are the latest additions in <a href="http://www.smartwebprojects.net/">concrete5 themes</a>:</p>
<p><a href="http://www.smartwebprojects.net/concrete5-themes/desk_mess_mirrored/">Desk Mess Mirrored</a><br />
<a href="http://www.smartwebprojects.net/concrete5-themes/desk_mess_mirrored/"><img src="http://www.smartwebprojects.net/themes/swp/misc/desk_mess_mirrored/small.jpg" alt="concrete 5 themes: Desk Mess Mirrored" /></a></p>
<p><a href="http://www.smartwebprojects.net/concrete5-themes/shades_of_blue/">Shades of Blue</a><br />
<a href="http://www.smartwebprojects.net/concrete5-themes/shades_of_blue/"><img src="http://www.smartwebprojects.net/themes/swp/misc/shades_of_blue/small.jpg" alt="concrete5 theme: Shades of blue" /></a></p>
<p>Both themes were converted from popular wordpress templates. If you have some design and want a concrete5 theme, you are welcome to use our theme integration service. We&#8217;ll be glad to help you <a href="http://www.smartwebprojects.net/concrete5-theme-integration/">convert design to concrete5 theme</a>.</p>


<p>Related posts:<ol><li><a href='http://www.smartwebprojects.net/concrete5-blog/112/new-concrete5-themes/' rel='bookmark' title='Permanent Link: Three new concrete5 themes'>Three new concrete5 themes</a></li><li><a href='http://www.smartwebprojects.net/concrete5-blog/94/concrete5-themes-updated-and-other-news/' rel='bookmark' title='Permanent Link: concrete5 themes updated and other news'>concrete5 themes updated and other news</a></li><li><a href='http://www.smartwebprojects.net/concrete5-blog/125/download-free-concrete5-themes-2-new-themes/' rel='bookmark' title='Permanent Link: Download free concrete5 themes: 2 new themes'>Download free concrete5 themes: 2 new themes</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.smartwebprojects.net/concrete5-blog/154/concrete5-themes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free concrete5 block: Twitter Search</title>
		<link>http://www.smartwebprojects.net/concrete5-blog/156/free-concrete5-block-twitter-search/</link>
		<comments>http://www.smartwebprojects.net/concrete5-blog/156/free-concrete5-block-twitter-search/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 21:02:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[New concrete5 addons]]></category>

		<guid isPermaLink="false">http://www.smartwebprojects.net/concrete5-blog/?p=156</guid>
		<description><![CDATA[Wow! It&#8217;s pretty hard to write new concrete5 block notices while it&#8217;s being released so fast.:) We&#8217;ve finished a number of blocks we were working on the last couple of weeks. Twitter Search seems to be the most downloadable addon here. We&#8217;ll submit that to concrete5 marketplace as well.
If you have any questions, suggestions, you&#8217;re [...]]]></description>
			<content:encoded><![CDATA[<p>Wow! It&#8217;s pretty hard to write new concrete5 block notices while it&#8217;s being released so fast.:) We&#8217;ve finished a number of blocks we were working on the last couple of weeks. <a href="http://www.smartwebprojects.net/concrete5-blocks/twitter-search/">Twitter Search</a> seems to be the most downloadable addon here. We&#8217;ll submit that to concrete5 marketplace as well.</p>
<p>If you have any questions, suggestions, you&#8217;re welcome to comment this thread.</p>


<p>Related posts:<ol><li><a href='http://www.smartwebprojects.net/concrete5-blog/151/free-concrete5-block-current-date/' rel='bookmark' title='Permanent Link: free concrete5 block: Current Date'>free concrete5 block: Current Date</a></li><li><a href='http://www.smartwebprojects.net/concrete5-blog/116/follow-us-on-twitter/' rel='bookmark' title='Permanent Link: Follow us on twitter'>Follow us on twitter</a></li><li><a href='http://www.smartwebprojects.net/concrete5-blog/80/how-to-copy-content-block/' rel='bookmark' title='Permanent Link: How to copy content block to another concrete5 website'>How to copy content block to another concrete5 website</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.smartwebprojects.net/concrete5-blog/156/free-concrete5-block-twitter-search/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>free concrete5 block: Current Date</title>
		<link>http://www.smartwebprojects.net/concrete5-blog/151/free-concrete5-block-current-date/</link>
		<comments>http://www.smartwebprojects.net/concrete5-blog/151/free-concrete5-block-current-date/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 16:06:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[New concrete5 addons]]></category>

		<guid isPermaLink="false">http://www.smartwebprojects.net/concrete5-blog/?p=151</guid>
		<description><![CDATA[Free concrete5 block: Current Date is now available for download on our website.
It&#8217;s a very simple block that can be used as an example for developers on how to develop a simple block. Though we hope that somebody will find the real use of this addon.
P.S. Quiet strange, but idea of this block came from [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.smartwebprojects.net/concrete5-blocks/current-date/">Free concrete5 block: Current Date</a> is now available for download on our website.</p>
<p>It&#8217;s a very simple block that can be used as an example for developers on how to develop a simple block. Though we hope that somebody will find the real use of this addon.</p>
<p>P.S. Quiet strange, but idea of this block came from a spam comment saying &quot;What&#8217;s the time?&quot; That&#8217;s our response. Spammers, download the block and go away. Pleeeeease.:)</p>
<p>P.P.S. If you are not a spammer (we hope), check our <a href="http://www.smartwebprojects.net/concrete5-blocks/">concrete5 blocks page</a> from time to time. More blocks (and free stuff as well) is coming soon.</p>


<p>Related posts:<ol><li><a href='http://www.smartwebprojects.net/concrete5-blog/156/free-concrete5-block-twitter-search/' rel='bookmark' title='Permanent Link: Free concrete5 block: Twitter Search'>Free concrete5 block: Twitter Search</a></li><li><a href='http://www.smartwebprojects.net/concrete5-blog/80/how-to-copy-content-block/' rel='bookmark' title='Permanent Link: How to copy content block to another concrete5 website'>How to copy content block to another concrete5 website</a></li><li><a href='http://www.smartwebprojects.net/concrete5-blog/47/free-devart-concrete5-theme-released/' rel='bookmark' title='Permanent Link: free Devart concrete5 theme released'>free Devart concrete5 theme released</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.smartwebprojects.net/concrete5-blog/151/free-concrete5-block-current-date/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>concrete5 addon: Tag Cloud</title>
		<link>http://www.smartwebprojects.net/concrete5-blog/143/concrete5-addon-tag-cloud/</link>
		<comments>http://www.smartwebprojects.net/concrete5-blog/143/concrete5-addon-tag-cloud/#comments</comments>
		<pubDate>Sat, 19 Sep 2009 22:20:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[New concrete5 addons]]></category>

		<guid isPermaLink="false">http://www.smartwebprojects.net/concrete5-blog/?p=143</guid>
		<description><![CDATA[We&#8217;ve finally finished the first concrete5 addon that is published on our website.
Please welcome the Tag Cloud package for concrete5 cms
This package allows to easily add and edit page tags (via Page Tags) block and to display tag cloud (Tag Cloud block). You can see example on our demo installation:
http://demo.smartwebprojects.net/tag-cloud-package/
We have 2 license types available:
Single [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve finally finished the first concrete5 addon that is published on our website.</p>
<p>Please welcome the <a href="http://www.smartwebprojects.net/concrete5-blocks/tag-cloud/">Tag Cloud package for concrete5 cms</a></p>
<p>This package allows to easily add and edit page tags (via Page Tags) block and to display tag cloud (Tag Cloud block). You can see example on our demo installation:</p>
<p><a href="http://demo.smartwebprojects.net/tag-cloud-package/" rel="nofollow">http://demo.smartwebprojects.net/tag-cloud-package/</a></p>
<p>We have 2 license types available:</p>
<p><b>Single website license ($15.00)</b> is for usual website owners. This license allows the buyer to use the addon on one concrete5 website.</p>
<p><b>Developer license ($60.00)</b> is for web developers, designers and/or web studios who need to have the addon installed on more than 1 website.</p>
<p>See more details (including screenshots) on the block page details:<br />
<a href="http://www.smartwebprojects.net/concrete5-blocks/tag-cloud/" title="concrete5 package: Tag Cloud">http://www.smartwebprojects.net/concrete5-blocks/tag-cloud/</a></p>
<p>There are some more addons in development phase, so check back our site for new updates, subscribe to RSS feed or follow us on twitter <img src='http://www.smartwebprojects.net/concrete5-blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>


<p>Related posts:<ol><li><a href='http://www.smartwebprojects.net/concrete5-blog/151/free-concrete5-block-current-date/' rel='bookmark' title='Permanent Link: free concrete5 block: Current Date'>free concrete5 block: Current Date</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.smartwebprojects.net/concrete5-blog/143/concrete5-addon-tag-cloud/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
		<item>
		<title>For concrete5 theme developers: body background workaround</title>
		<link>http://www.smartwebprojects.net/concrete5-blog/140/for-concrete5-theme-developers-body-background-workaround/</link>
		<comments>http://www.smartwebprojects.net/concrete5-blog/140/for-concrete5-theme-developers-body-background-workaround/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 09:56:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[concrete5 for developers]]></category>

		<guid isPermaLink="false">http://www.smartwebprojects.net/concrete5-blog/?p=140</guid>
		<description><![CDATA[Anyone who regularly works with concrete5 themes could face with the following issue:
If you sign in as admin, the concrete5 editing toolbar appears at the top of all pages. This sometimes can cause a problem making body background not align properly with some other images on the page if it was designed as a single [...]]]></description>
			<content:encoded><![CDATA[<p>Anyone who regularly works with <a href="http://www.smartwebprojects.net/">concrete5 themes</a> could face with the following issue:</p>
<p>If you sign in as admin, the concrete5 editing toolbar appears at the top of all pages. This sometimes can cause a problem making body background not align properly with some other images on the page if it was designed as a single picture. There is a workaround I&#8217;m going to tell you about.<br />
<span id="more-140"></span><br />
Use this condition in concrete5 theme php files:</p>
<pre class="brush:php">
&lt;?php
global $cp;
if (is_object($cp) &#038;&#038; ($cp-&gt;canWrite() || $cp-&gt;canAddSubContent() || $cp-&gt;canAdminPage())) {
	echo ' style=&quot;background-position: 0 50px;&quot;';
}
?&gt;
</pre>
<p>The above example shows how you can add &#8216; style=&quot;background-position: 0 50px;&quot;&#8217; when the editing toolbar is being displayed. You can use it to add style to body. &#8216;background-position: 0 50px&#8217; will make the background shift 50 pixels lower from the top of the window. You can use this to append some extra class or style attribute to any element that gets corrupt when admin is signed in.</p>
<p>If you have any difficulties doing concrete5 theme, you can request free quote on our <a href="http://www.smartwebprojects.net/concrete5-theme-integration/">concrete5 theme integration service</a>.</p>


<p>Related posts:<ol><li><a href='http://www.smartwebprojects.net/concrete5-blog/170/how-to-change-background-color/' rel='bookmark' title='Permanent Link: How to change background color'>How to change background color</a></li><li><a href='http://www.smartwebprojects.net/concrete5-blog/131/typography-css-in-concrete5-themes/' rel='bookmark' title='Permanent Link: typography.css in concrete5 themes'>typography.css in concrete5 themes</a></li><li><a href='http://www.smartwebprojects.net/concrete5-blog/47/free-devart-concrete5-theme-released/' rel='bookmark' title='Permanent Link: free Devart concrete5 theme released'>free Devart concrete5 theme released</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.smartwebprojects.net/concrete5-blog/140/for-concrete5-theme-developers-body-background-workaround/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>typography.css in concrete5 themes</title>
		<link>http://www.smartwebprojects.net/concrete5-blog/131/typography-css-in-concrete5-themes/</link>
		<comments>http://www.smartwebprojects.net/concrete5-blog/131/typography-css-in-concrete5-themes/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 00:21:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[concrete5 for developers]]></category>

		<guid isPermaLink="false">http://www.smartwebprojects.net/concrete5-blog/?p=131</guid>
		<description><![CDATA[concrete5 recommends using additional typography.css stylesheet within a theme. I noticed that sometimes people don&#8217;t understand the purpose of the file and put there much trash, which shouldn&#8217;t be there. So what is typography.css and where it is used?

If you search the concrete5 source code, you&#8217;ll find only one case when typography.css is used: it [...]]]></description>
			<content:encoded><![CDATA[<p>concrete5 recommends using additional typography.css stylesheet within a theme. I noticed that sometimes people don&#8217;t understand the purpose of the file and put there much trash, which shouldn&#8217;t be there. So what is typography.css and where it is used?<br />
<span id="more-131"></span><br />
If you search the concrete5 source code, you&#8217;ll find only one case when typography.css is used: it is plugged by TinyMCE WYSIWYG editor in the default &quot;Content&quot; concrete5 block. In other words, this is the stylesheet being used in an editable content area when WYSIWYG is open. So if you place there something like</p>
<pre class="brush:css">
body {
  text-align: center;
}
</pre>
<p>It will completely mess your WYSIWYG area making all the text go centered. The final result might be ok (most probably you use some blocks with classes to align the content properly), but editing is a little confusive when you see centered text in edit mode and aligned to left in the final.</p>
<p>So, <strong>the first advice is to think twice before moving anything from general stylesheet to typography.css</strong>.</p>
<p>By the way, if you are just playing with typography.css, you might be confused by the stylesheet being cached. There is a workaround: open &#8216;concrete/blocks/content/editor_config.php&#8217; and find the following line:</p>
<pre class="brush:php">
	content_css : &quot;&lt;?php echo $theme-&gt;getThemeEditorCSS(); ?&gt;&quot;,
</pre>
<p>and change it in the next way:</p>
<pre class="brush:php">
	content_css : &quot;&lt;?php echo $theme-&gt;getThemeEditorCSS() . &quot;?&quot; . time(); ?&gt;&quot;,
</pre>
<p>This will add timestamp to the stylesheet URI every time, so it won&#8217;t be cached. Don&#8217;t forget to remove this workaround once you are ready.</p>
<p>So, what should finally go to typography.css? Consider this:</p>
<p>If you have some global style defined through body and it is not changed in subsequent classes, use it. For example: font colors and font families are often defined globally for the whole content:</p>
<pre class="brush:css">
body {
    font-family: Arial;
    color: #393939;
}
</pre>
<p>If you have some style that is applied to ALL links, use it as well:</p>
<pre class="brush:css">
a {
    color: #393999;
    text-decoration: none;
}
a:hover {
    color: #3939c9;
    text-decoration: underline;
}
</pre>
<p>And if you have global styles for headings of any level, move it to typography.css as well:</p>
<pre class="brush:css">
h1 {
   font-size: 30px;
}
h2 {
   font-size: 22px;
}
h3 {
   font-size: 16px;
}
</pre>
<p>We hope this tutorial helps some developers build better concrete5 themes.</p>


<p>Related posts:<ol><li><a href='http://www.smartwebprojects.net/concrete5-blog/125/download-free-concrete5-themes-2-new-themes/' rel='bookmark' title='Permanent Link: Download free concrete5 themes: 2 new themes'>Download free concrete5 themes: 2 new themes</a></li><li><a href='http://www.smartwebprojects.net/concrete5-blog/94/concrete5-themes-updated-and-other-news/' rel='bookmark' title='Permanent Link: concrete5 themes updated and other news'>concrete5 themes updated and other news</a></li><li><a href='http://www.smartwebprojects.net/concrete5-blog/112/new-concrete5-themes/' rel='bookmark' title='Permanent Link: Three new concrete5 themes'>Three new concrete5 themes</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.smartwebprojects.net/concrete5-blog/131/typography-css-in-concrete5-themes/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
		<item>
		<title>Snowblind &#8211; concrete5 template</title>
		<link>http://www.smartwebprojects.net/concrete5-blog/128/snowblind-concrete5-template/</link>
		<comments>http://www.smartwebprojects.net/concrete5-blog/128/snowblind-concrete5-template/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 19:45:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[New concrete5 themes]]></category>

		<guid isPermaLink="false">http://www.smartwebprojects.net/concrete5-blog/?p=128</guid>
		<description><![CDATA[Please welcome yet another free concrete5 template in our collection:

snowblind &#8211; is a nice wordpress theme that we decided to convert into concrete5 template. Right now it supports one page type with left sidebar. In the nearest future we are planning to add more page types in this theme and we&#8217;ll also make it customizable [...]]]></description>
			<content:encoded><![CDATA[<p>Please welcome yet another free concrete5 template in our collection:</p>
<p><img src="/themes/swp/misc/snowblind/small.jpg" alt="snowblind concrete5 theme" /></a></p>
<p><strong>snowblind</strong> &#8211; is a nice wordpress theme that we decided to convert into concrete5 template. Right now it supports one page type with left sidebar. In the nearest future we are planning to add more page types in this theme and we&#8217;ll also make it customizable from admin backend (concrete5 supports partial customizations of themes right from the dashboard).</p>
<p>Theme URL: <a href="http://www.smartwebprojects.net/concrete5-themes/snowblind/">http://www.smartwebprojects.net/concrete5-themes/snowblind/</a></p>


<p>Related posts:<ol><li><a href='http://www.smartwebprojects.net/concrete5-blog/98/concrete5-template-lightword/' rel='bookmark' title='Permanent Link: concrete5 template: lightword'>concrete5 template: lightword</a></li><li><a href='http://www.smartwebprojects.net/concrete5-blog/57/right-sidebar-theme/' rel='bookmark' title='Permanent Link: another right sidebar template'>another right sidebar template</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.smartwebprojects.net/concrete5-blog/128/snowblind-concrete5-template/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
