<?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>Cozmoslabs &#187; CMS</title>
	<atom:link href="http://www.cozmoslabs.com/tag/cms/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cozmoslabs.com</link>
	<description>Web design and development experiment.</description>
	<lastBuildDate>Thu, 01 Jul 2010 09:26:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Front-end interface portability between CMS &#8211; the next BIG step in web-development?</title>
		<link>http://www.cozmoslabs.com/2008/09/21/interface-portability-in-web-development-the-next-big-step/</link>
		<comments>http://www.cozmoslabs.com/2008/09/21/interface-portability-in-web-development-the-next-big-step/#comments</comments>
		<pubDate>Sun, 21 Sep 2008 10:49:56 +0000</pubDate>
		<dc:creator>Cristian</dc:creator>
				<category><![CDATA[CMS]]></category>
		<category><![CDATA[Joomla!]]></category>
		<category><![CDATA[Theme Design]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.cozmoslabs.com/?p=120</guid>
		<description><![CDATA[Image by unloveable I want to talk in this post about front-end interface that could be used without any modifications (or just with basic configuration) between different Content Management Systems (WordPress, Joomla, Drupal, Expression Engine and a million more) and how this could help the developer. I know it sounds far fetch but bare with [...]


Related posts:<ol><li><a href='http://www.cozmoslabs.com/2008/09/07/use-wordpress-as-a-cms-with-thematic-part1/' rel='bookmark' title='Permanent Link: Use WordPress as a CMS with Thematic Theme- Part1'>Use WordPress as a CMS with Thematic Theme- Part1</a></li>
<li><a href='http://www.cozmoslabs.com/2008/08/03/new-web-design-and-development-blog/' rel='bookmark' title='Permanent Link: New Web-Design and Development blog'>New Web-Design and Development blog</a></li>
<li><a href='http://www.cozmoslabs.com/2008/10/29/installing-wordpress-child-themes-customizing/' rel='bookmark' title='Permanent Link: Installing WordPress Child Themes and Customizing the Byty Theme'>Installing WordPress Child Themes and Customizing the Byty Theme</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="postimage"><img class="alignnone size-full wp-image-122" title="connect1" src="http://www.cozmoslabs.com/wp-content/uploads/2008/09/connect1.jpg" alt="" width="300" height="378" /></p>
<p>Image by <a href="http://flickr.com/photos/unloveable/2396019222/">unloveable</a></div>
<p>I want to talk in this post about front-end interface that could be used without any modifications (or just with basic configuration) between different Content Management Systems (WordPress, Joomla, Drupal, Expression Engine and a million more) and how this could help <strong>the developer</strong>. I know it sounds far fetch but bare with me for a minute.</p>
<p>I&#8217;ve been reading a lot lately about Child Themes in WordPress and how easy is to create a new theme from scratch just by building it on top of a theme framework. <a href="http://themeshaper.com/">Ian Stewart&#8217;s blog</a> has been a real inspiration for me in the last two months since I&#8217;ve discovered it and really brought an &#8220;AHA&#8221; moment for me. He&#8217;s been developing his Thematic theme framework for quite some time and it&#8217;s really powerful, but most of all <strong>useful.</strong></p>
<p>Now, with the introduction of WordPress 2.7 in November designers will be able to overwrite any of the master theme files, opening a hole bunch of  possibilities for the professional WordPress designer.</p>
<p><span id="more-120"></span>A similar concept resides in the relatively new <a href="http://www.magentocommerce.com/">Magento </a>eCommerce system. Although  this is a lot more complicated then a WordPress theme the same basic idea is found behind it&#8217;s template system: you can build on top of a base theme, and not duplicate and modify a theme.</p>
<p>If the differences between building on top of a base theme and modifying the base theme are small, the implications are wide.</p>
<p>You see, Magento gives you the ability to load multiple themes at once, allowing you to swap between a default store design and temporary event/season-specific ones — All at the command of a few key strokes, which is a big selling point for a online shop.</p>
<p>What WordPress Child Themes give you is the simplicity of updating your theme without loosing any customization you did on it in the process. That is not such a big thing if you have 1 blog, but what if you have to take care of 100 blogs for your clients. Now that&#8217;s a challenge!</p>
<p>These are two examples of CMS that use the Object Oriented methodology borrowed from programing to develop their template system.</p>
<p>Because they are both in active development and big players on the open-source CMS market I will take an educated guess and say they will start a trend that will slowly be adopted by other CMS. I will take this further and say this will remove the images and css (the front end) from the base template and position them outside of the code that usually comes with a theme. Now all we have to do is have standard XHTML declarations and we can achieve portability between platforms (you guys still remember<a href="http://www.csszengarden.com/"> css Zen Garden</a> right?).</p>
<p>I realize there are a lot of differences between any CMS out there but it&#8217;s not impossible. It&#8217;s been realized with a lot more complicated software products (<a href="http://openid.net/">OpenID</a>, <a href="http://www.meebo.com/">Meebo</a> and many more) so it can be done with a few XHTML and css files.</p>
<p>In the end the advantage won&#8217;t be in using Joomla! themes in WordPress or the other way around, but by providing developers with a standard platform on which they can create their themes. This way one would spent more time creating a quality theme instead of trying to stay up to date with 3-4 CMS at a time.</p>
<p>Although this might never happen, for now we can be happy with theme inheritance and it&#8217;s advantages. Who knows what the future holds for us!</p>


<p>Related posts:<ol><li><a href='http://www.cozmoslabs.com/2008/09/07/use-wordpress-as-a-cms-with-thematic-part1/' rel='bookmark' title='Permanent Link: Use WordPress as a CMS with Thematic Theme- Part1'>Use WordPress as a CMS with Thematic Theme- Part1</a></li>
<li><a href='http://www.cozmoslabs.com/2008/08/03/new-web-design-and-development-blog/' rel='bookmark' title='Permanent Link: New Web-Design and Development blog'>New Web-Design and Development blog</a></li>
<li><a href='http://www.cozmoslabs.com/2008/10/29/installing-wordpress-child-themes-customizing/' rel='bookmark' title='Permanent Link: Installing WordPress Child Themes and Customizing the Byty Theme'>Installing WordPress Child Themes and Customizing the Byty Theme</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.cozmoslabs.com/2008/09/21/interface-portability-in-web-development-the-next-big-step/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Use WordPress as a CMS with Thematic &#8211; Part2</title>
		<link>http://www.cozmoslabs.com/2008/09/14/use-wordpress-as-a-cms-with-thematic-part2/</link>
		<comments>http://www.cozmoslabs.com/2008/09/14/use-wordpress-as-a-cms-with-thematic-part2/#comments</comments>
		<pubDate>Sun, 14 Sep 2008 06:44:20 +0000</pubDate>
		<dc:creator>Cristian</dc:creator>
				<category><![CDATA[Recomended Reading]]></category>
		<category><![CDATA[Theme Design]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[Thematic]]></category>

		<guid isPermaLink="false">http://www.cozmoslabs.com/?p=95</guid>
		<description><![CDATA[Photo by solarnu In Part 1 of the tutorial we&#8217;ve discussed about: Installing WordPress Creating a Child Theme Implementing out blog design Css tricks The functions.php file Setting up WordPress and adding pages. Now we take over from where we left and make the web-site fully functional. In order to do that we&#8217;ll use a [...]


Related posts:<ol><li><a href='http://www.cozmoslabs.com/2008/09/07/use-wordpress-as-a-cms-with-thematic-part1/' rel='bookmark' title='Permanent Link: Use WordPress as a CMS with Thematic Theme- Part1'>Use WordPress as a CMS with Thematic Theme- Part1</a></li>
<li><a href='http://www.cozmoslabs.com/2008/08/15/before-i-go-on-vacation-more-thematic-madness/' rel='bookmark' title='Permanent Link: Before I go on vacation, more Thematic madness!'>Before I go on vacation, more Thematic madness!</a></li>
<li><a href='http://www.cozmoslabs.com/2008/10/29/installing-wordpress-child-themes-customizing/' rel='bookmark' title='Permanent Link: Installing WordPress Child Themes and Customizing the Byty Theme'>Installing WordPress Child Themes and Customizing the Byty Theme</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="postimage"><img class="alignnone size-medium wp-image-100" title="cms" src="http://www.cozmoslabs.com/wp-content/uploads/2008/09/cms-300x199.jpg" alt="" width="300" height="199" /></p>
<p>Photo by <a href="http://www.flickr.com/photos/solarnu/754271997/">solarnu</a></div>
<p>In <a href="http://http://www.cozmoslabs.com/2008/09/07/use-wordpress-as-a-cms-with-thematic-part1/">Part 1</a> of the tutorial we&#8217;ve discussed about:</p>
<ol>
<li>Installing WordPress</li>
<li>Creating a Child Theme</li>
<li>Implementing out blog design</li>
<li>Css tricks</li>
<li>The <em>functions.php</em> file</li>
<li>Setting up WordPress and adding pages.</li>
</ol>
<p>Now we take over from where we left and make the web-site fully functional. In order to do that we&#8217;ll use a few plugins to help us create a nice, functional and easy to use interface. The plugins we&#8217;ll use for this project are:</p>
<ol>
<li><a href="http://wordpress.org/extend/plugins/cforms/">cFormsII</a> &#8211; for our contact form<a href="http://wordpress.org/extend/plugins/cforms/"><br />
</a></li>
<li><a href="http://wordpress.org/extend/plugins/nextgen-gallery/">Nextgen-Gallery</a> &#8211; Easy to use with great out of the box functionality <a href="http://wordpress.org/extend/plugins/nextgen-gallery/"><br />
</a></li>
<li><a href="http://wordpress.org/extend/plugins/wp-super-cache/">WP Super Cache</a> &#8211; Since this is a static web-site we&#8217;ll use this plugin to make the site load in a snap</li>
</ol>
<p><span id="more-95"></span></p>
<h3>1. CForms</h3>
<p>The plugin description says it all: &#8220;<em>cforms is a highly customizable, flexible and powerful form builder plugin, covering a variety of use cases and features from attachments to multi form management, you can even have multiple forms on the same page!</em>&#8221;</p>
<p>As you can see this is a really powerful tool, especially if you need just a simple form, but the real advantage of it is that you can easily configure the way your form is displayed, as you can change the css directly from the administration panel. This, correlated with the fact that it has over 20 ready made css templates to accommodate a verity of designs saves us precious development time.</p>
<p>Cforms comes with a ready made standard form that you can either modify or just use it as it is. Since the web-site was developed for a Romanian client I had to make a few changes, mainly translating the form from English.</p>
<p>If I take it from top to bottom these are the steps I followed to create my form:</p>
<ul>
<li>Translate the <span class="abbr">Field Names on the form</span></li>
<li><span class="abbr">On the <em>&#8220;</em></span><em>Redirection, Messages, Text and Button Label</em><span class="abbr"><em>&#8221; </em>section I&#8217;ve translated the Submit button, required and error messages</span></li>
<li><span class="abbr">On the &#8220;</span><em>Core Form Admin / Email Options</em><span class="abbr">&#8221; changed the &#8220;</span><em>Admin email address(es)</em>&#8221; to that of the person who will receive the email</li>
<li>On the <em>Styling</em> tab I&#8217;ve selected my css template of choice and modified some of it&#8217;s default styling to better fit my needs.</li>
</ul>
<p>The rest of the options you can leave unchanged unless you want something in particular like CAPTCHA, or &#8220;<em>Tell a Friend</em>&#8221; functionality and even &#8220;Database Input Tracking&#8221;(all submissions through the form will be stored inside your database and you can see them on your dashboard.)</p>
<p><a href="http://www.cozmoslabs.com/projects/kraft2/?page_id=15">Have a look on how the form turned out in the end here.</a></p>
<h3>2. Nextgen &#8211; Gallery</h3>
<p>This is really a good plugin. It has a lot of out of the box functionality that you probably don&#8217;t want to change.</p>
<p>What I liked about this was how easy everything was to set-up. Upload and activate the plugin, upload the pictures, enter the tag <img class="alignnone size-medium wp-image-105" style="margin: 0pt; padding: 0pt; vertical-allign:middle;" title="galleryid" src="http://www.cozmoslabs.com/wp-content/uploads/2008/09/galleryid.jpg" alt="" width="227" height="18" /> (if I would have used text instead of an image <a href="http://codex.wordpress.org/Using_the_gallery_shortcode">some odd things would have happen <img src='http://www.cozmoslabs.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </a> ) in your post or page and you&#8217;re done(the thumbnails are created automatically ). Fast and easy. This way my client can add it&#8217;s own photos without the need to edit them for the web since all that done on the server side.</p>
<p>The only thing I had a problem with it was that on IE6 the thumbnails were displayed some place on the left side of the site. To fix this all I had to do was to modify inside nggallry.css (you can find it in the plugins/nextgen-gallery/css folder) the <em>.ngg-gallery-thumbnail img</em> selector, and comment out <em>position:relative;</em> declaration (or just delete it.)</p>
<p><a href="http://www.cozmoslabs.com/projects/kraft2/?page_id=7">Have a look at the gallery in action.</a></p>
<h3>3. WP Super Cache</h3>
<p>Since we have static pages there is no need for WordPress to load each time a page is requested. This plugin generates static html files from your dynamic WordPress blog. After a html file is generated your web server will serve that file instead of processing the comparatively heavier and more expensive WordPress PHP scripts.</p>
<p>These plugins made from our simple WordPress blog a decent CMS. It gives you the advantage that it is free and really well documented, and it gives to your client a simple to use CMS without any headaches.</p>
<p>You can even give your client just an editor&#8217;s account so I doesn&#8217;t have to see every settings page and get lost in them. Also if you do this don&#8217;t forget to give access in the Nextgen &#8211; Gallery to editors as well!</p>
<p>Finally I&#8217;ve tested the site on Firefox 2, Firefox 3, Internet Explorer 6, Internet Explorer 7 and Safari 3. Of course it didn&#8217;t work on IE6, and I had to add a few hack&#8217;s to the style sheet, but most of the problems you can find them well documented online.</p>
<p>The only thing remaining is moving the web site to the client&#8217;s server, although we&#8217;ll discuss this in a different post some time in the future.</p>
<p>This was a simple project that could have been done using just HTML, CSS and Javascript in a mater of minutes once you have the template ready, but this was not the point. The reason I used WordPress was to find out more about this platforms capabilities and offer to the client a easy way of changing the content on the web-site.</p>
<p>In the end you can do almost anything with WordPress that you can do with a more advanced CMS, as there are over 2,936 plugins and counting over at wordpress.org, all you need to do is just a little digging <img src='http://www.cozmoslabs.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>


<p>Related posts:<ol><li><a href='http://www.cozmoslabs.com/2008/09/07/use-wordpress-as-a-cms-with-thematic-part1/' rel='bookmark' title='Permanent Link: Use WordPress as a CMS with Thematic Theme- Part1'>Use WordPress as a CMS with Thematic Theme- Part1</a></li>
<li><a href='http://www.cozmoslabs.com/2008/08/15/before-i-go-on-vacation-more-thematic-madness/' rel='bookmark' title='Permanent Link: Before I go on vacation, more Thematic madness!'>Before I go on vacation, more Thematic madness!</a></li>
<li><a href='http://www.cozmoslabs.com/2008/10/29/installing-wordpress-child-themes-customizing/' rel='bookmark' title='Permanent Link: Installing WordPress Child Themes and Customizing the Byty Theme'>Installing WordPress Child Themes and Customizing the Byty Theme</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.cozmoslabs.com/2008/09/14/use-wordpress-as-a-cms-with-thematic-part2/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Use WordPress as a CMS with Thematic Theme- Part1</title>
		<link>http://www.cozmoslabs.com/2008/09/07/use-wordpress-as-a-cms-with-thematic-part1/</link>
		<comments>http://www.cozmoslabs.com/2008/09/07/use-wordpress-as-a-cms-with-thematic-part1/#comments</comments>
		<pubDate>Sun, 07 Sep 2008 08:30:28 +0000</pubDate>
		<dc:creator>Cristian</dc:creator>
				<category><![CDATA[Recomended Reading]]></category>
		<category><![CDATA[Theme Design]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[Thematic]]></category>
		<category><![CDATA[wordpress theme cms]]></category>

		<guid isPermaLink="false">http://www.cozmoslabs.com/?p=84</guid>
		<description><![CDATA[This will be a two parts tutorial in which will use WordPress as a CMS with the Thematic WordPress Theme Framework. Requirements: WordPress Thematic Theme framework A ready made layout design Coffee ( preferably hot with cream and no sugar) We all know how powerful WordPress can be. A lot of people have done this [...]


Related posts:<ol><li><a href='http://www.cozmoslabs.com/2008/10/29/installing-wordpress-child-themes-customizing/' rel='bookmark' title='Permanent Link: Installing WordPress Child Themes and Customizing the Byty Theme'>Installing WordPress Child Themes and Customizing the Byty Theme</a></li>
<li><a href='http://www.cozmoslabs.com/2008/08/11/10-design-tips-for-your-custom-wordpress-theme-built-with-thematic/' rel='bookmark' title='Permanent Link: 10 design tips for your custom wordpress theme built with thematic'>10 design tips for your custom wordpress theme built with thematic</a></li>
<li><a href='http://www.cozmoslabs.com/2008/09/14/use-wordpress-as-a-cms-with-thematic-part2/' rel='bookmark' title='Permanent Link: Use WordPress as a CMS with Thematic &#8211; Part2'>Use WordPress as a CMS with Thematic &#8211; Part2</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="postimage"><img class="alignnone size-medium wp-image-90" title="wall" src="http://www.cozmoslabs.com/wp-content/uploads/2008/09/wall.jpg" alt="" width="300" height="225" /></div>
<p>This will be a two parts tutorial in which will <strong>use WordPress as a CMS</strong> with the Thematic <strong>WordPress Theme</strong> Framework.</p>
<p>Requirements:</p>
<ul>
<li><a href="http://wordpress.org/">WordPress</a></li>
<li><a href="http://themeshaper.com/thematic-for-wordpress/">Thematic</a> Theme framework</li>
<li>A ready made layout design</li>
<li>Coffee ( preferably hot with cream and no sugar)</li>
</ul>
<p>We all know how powerful WordPress can be. A lot of people have done this before me, building static websites on WordPress, and using it as a CMS so there is a lot of information out there. (people have written about this <a href="http://www.bloggingpro.com/archives/2006/08/26/feature-5-reasons-to-use-wordpress-as-cms/">here</a> and <a href="http://themeshaper.com/wordpress-cms-plugins-the-bare-minimum/">here</a> and probably countless other places ). What I tried to do is use the power of the <a href="http://themeshaper.com/thematic-for-wordpress/">Thematic WordPress Theme</a> and simply create a nicely designed static website.</p>
<p>Before we start here is the project after this stage: <a href="http://www.cozmoslabs.com/projects/kraft2/">Kraft Auto</a> , and here are the things I wanted to implement:<a href="http://www.cozmoslabs.com/projects/kraft2/"><br />
</a></p>
<ul>
<li>simple and easy CMS for the client to use (big points for WordPress in ease of use)</li>
<li>fast implementation of the web-site (since I&#8217;ll use a child theme based on Thematic that means I don&#8217;t have to create the theme from scratch, just part of the css)</li>
<li>a simple contact form (in part 2 of the tutorial)</li>
<li>a photo gallery (in part 2 of the tutorial)<span id="more-84"></span></li>
</ul>
<h3>1. Installing WordPress</h3>
<p>This was the easy part. I&#8217;ve downloaded the latest version of WordPress and installed it in a folder on my test server (in this case cozmoslabs.com/projects/kraft2/).</p>
<p>If you don&#8217;t know how to install wordpress yet, it will only take a minute&#8230; literally. <a href="http://codex.wordpress.org/Installing_WordPress">http://codex.wordpress.org/Installing_WordPress</a> . The guys over at WordPress are a little modest and claim that it takes 5 minutes&#8230; but you can do it in one <img src='http://www.cozmoslabs.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .</p>
<p>Once this is out of the way, and we are one minute into the project, we upload the Thematic theme to our server inside our theme directory and start the real work (for more information about installing a new theme have a look <a href="http://codex.wordpress.org/Using_Themes#Adding_New_Themes">here</a>).</p>
<h3>2. Creating a child theme</h3>
<p>We need to keep things simple for us. This is were Child Themes come into place. Not having to write the HTML for your theme speeds things up and keeps everything nicely organized.</p>
<p>To create a child theme we need to make a new folder with our theme name inside the theme directory (in our case &#8220;cozmoslabs.com/projects/kraft2/wp-content/themes/kraft&#8221;).</p>
<p>Inside we will create the flowing files and folders:</p>
<ol>
<li><em>sytle.css</em> &#8211; will contain all our css that will overwrite the basic css found in our theme framework</li>
<li><em>functions.php</em> &#8211; this will help us add extra HTML code, include some javascripts, and create the menu.</li>
<li><em>home_banner.php</em> &#8211; this holds a static piece of HTML that will be included inside <em>functions.php</em>, but I&#8217;ve kept it outside so I don&#8217;t have to much going on inside<em> functions.php</em></li>
<li><em>/images</em> &#8211; this folder will hold all the images associated with our theme</li>
<li><em>/js</em> &#8211; this folder holds all the javascripts related to our theme. In this case it holds <em>slideshow.js</em>, a javascript that will enable me to create the slideshow banner that exists on the home page. We will also have to have the jQuery library in order for this to work, but that is already loaded with Thematic that uses it for the Slideing Down admin pannel. Please note that WordPress already comes with the jQuery library and is located inside the &#8220;<em>wp-includes/js/jquery</em>&#8221; folder.</li>
</ol>
<p>Once we&#8217;ve created our files is time to link our theme to inherit Thematic. We do this adding the folowing code to the <em>style.css</em> file:<code><br />
/*<br />
Theme Name: kraft<br />
Theme URI: http://cozmoslabs.com/<br />
Description: Built on Thematic Theme&lt;/a&gt;<br />
Author: Cristi Antohe<br />
Author URI: http://cozmoslabs.com/<br />
Template: thematic<br />
Version: 0.1<br />
.<br />
All Rights Reserved<br />
.<br />
*/<br />
@import url('../thematic/style.css');</code></p>
<p>The most important part is &#8220;<em><code>Template: thematic</code></em>&#8221; as it tels WordPress from were to inherit every thing. Next we have to import the Thematic style.css in our theme. We do this by adding this line: &#8220;<code>@import url('../thematic/style.css');</code>&#8221; .</p>
<p>Now that we have created our child theme is time to activate it from our admin panel, under the Design tab. Verify if everything is in place by visiting your site. If it looks just like Thematic then it works!</p>
<p><em>(For a more comprehensive tutorial on how to create a child theme try <a href="http://op111.net/p53">this article</a> over at op111.net)</em></p>
<h3>3. Implementing our design</h3>
<p>I won&#8217;t get into a lot of details regarding css and html since this is outside of the scope of this blog post, but I will try and give as much information as posible on certain problems that I encounterd developing the theme.</p>
<p>In order to add our css to the Thematic HTML we need to know what&#8217;s underneath. You can view the source HTML of your web-site in Firefox by clicking &#8220;<em>View/Page Source</em>&#8221; (or Ctrl + U). This way you can identify the different classes and id&#8217;s that are responsible for stilling the page.</p>
<p>Another way to do this is by useing the <a href="http://chrispederick.com/work/web-developer/">WebDeveloper</a> plugin for FireFox. You can display the different elements information like class, id, width, children, ancestors, and much more.</p>
<p>The main id&#8217;s in Thematic that you will probably target with css are: <em>wrapper </em>(I&#8217;ve given it a fixed width for this project), <em>header </em>(holds the top part of the site, including the menu), <em>branding </em>(resides inside the <em>header</em> div and holds the blog title and description), <em>access </em>(holds the <em>menu </em>div), <em>main </em>(holds the information on the right and left side of the template).</p>
<h3>4. CSS trick&#8217;s I&#8217;ve used</h3>
<p>In order to get around some things that normally one shouldn&#8217;t worry about if you are developing your own HTML and CSS, I&#8217;ve used a few trick&#8217;s to make my life easier:</p>
<ul>
<li><em>display:none; &#8211; </em>I don&#8217;t need the blog description to show up in my theme, and since I can&#8217;t remove it from my theme I used this to hide that div and the description.</li>
<li><em>text-indent:-3000px;</em> &#8211; I&#8217;ve used images for the Logo and menu, so I needed to either create the menu by hand using <em>functions.php</em> file or find some way to use the menu as it was and stile it with css. By using a negative text indent the text moves to the left by 3000px and it&#8217;s out of our field of view, and we can add background images to our menu and blog title.</li>
<li><a href="http://www.wellstyled.com/css-nopreload-rollovers.html">Image roll over with css</a> &#8211; I&#8217;ve targeted every menu element by it&#8217;s id and added background images to it. This in correlation with the negative indent resulted in the menu you see on the page.</li>
</ul>
<p>Please note that the display:none and negative indent methods are categorized by some as Black SEO, and the misuse of them (hiding text from users just so one would rank higher in search engines) can lead to being penalized by search engines, be we shouldn&#8217;t have any problems since the text we are currently hiding is shown with images. This is a long debate so I just thought to let you know.</p>
<h3>5. The <em>functions.php</em> file</h3>
<p>This is the reason it is possible to have a child theme, since just CSS would not suffice under any circumstances to create a complex theme without modifying the source files. In my case I used this file for the flowing things:</p>
<ol>
<li>The main banner on the home page</li>
<li>Displaying the header title in the inner pages</li>
<li>And to include the <em>slideshow.js</em> file for the home banner</li>
</ol>
<p>There are a lot more things one can do with the <em>functions.php</em> file but all I needed were these three. Here is how it looks:</p>
<pre class="brush: php;">
function secondary_header()
{
if (is_front_page())
{
include('home_banner.php');
}
else
{
?&gt;
&lt;div class=&quot;sInnerBanner&quot;&gt;&lt;h1&gt;
&lt;?php wp_title(''); ?&gt;
&lt;/h1&gt;&lt;/div&gt;
&lt;?php
}
}

function childtheme_extrajs() { ?&gt;

&lt;script type=&quot;text/javascript&quot; src=&quot;http://www.cozmoslabs.com/projects/kraft2/wp-content/themes/kraft/js/jquery-1.2.3.min.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://www.cozmoslabs.com/projects/kraft2/wp-content/themes/kraft/js/slideshow.js&quot;&gt;&lt;/script&gt;
&lt;?php

add_action('wp_head', 'childtheme_extrajs');
add_action('thematic_belowheader','secondary_header');
</pre>
<p>As you can see I&#8217;ve used some wordpress functions from it&#8217;s <a href="http://codex.wordpress.org/Function_Reference">API</a> to check if it&#8217;s the front page, in which case I include the <em>home_banner.php</em> file that contains all the HTML for my home banner, and if that&#8217;s not the case I&#8217;ve used <em>wp_title()</em> function to print the current page on which I&#8217;m on.</p>
<p>TIP: when using <em>wp_title()</em> function make sure you add as parameter nothing&#8230; well I mean this: <em>wp_title(&#8216;</em>&#8221;). Otherwise there will appear arrows (») in front of the title.</p>
<p>The <em>add_action() </em>function binds my code to different parts of the site, depending of your needs and the Theme you are using for your child theme. In the case of Thematic there are a lot of <a href="http://themeshaper.com/custom-wordpress-hooks-filters-thematic-06/">custom hooks and filters</a> that you can use to create just the look you are after.</p>
<h3>6. Setting up wordpress and adding pages</h3>
<p>The hard part is out of the way, and now we can start adding content to our pages. But first we need to create them.</p>
<p>Create all the pages you need by going to Write/Pages.</p>
<p>I won&#8217;t use the blog part of WordPress for my site so no need to use it. Go over to <em>Settings/Reading/Front page displays </em>and select &#8220;<em>A static page (select below)</em>&#8220;. Select Home for your home page and underneath where it says &#8220;Posts page:&#8221; leave that unchanged.</p>
<p>If every thing works out you should now be able to see your web-site with everything working fine.</p>
<p>As you can see there isn&#8217;t much to do in order to <strong>use WordPress as a CMS</strong>&#8230; and the only thing that is time consuming is developing your child theme.</p>
<h3>Coming up in part 2</h3>
<p>I will try and finish the web-site in part 2, use some plugins for a contact form and a photo gallery, and maybe talk a bit about copywriting for clients.</p>
<p><em>If you read this article, start developing your theme and have questions or comments don&#8217;t hesitate to ask them. I&#8217;ll try my best to answer them.</em></p>


<p>Related posts:<ol><li><a href='http://www.cozmoslabs.com/2008/10/29/installing-wordpress-child-themes-customizing/' rel='bookmark' title='Permanent Link: Installing WordPress Child Themes and Customizing the Byty Theme'>Installing WordPress Child Themes and Customizing the Byty Theme</a></li>
<li><a href='http://www.cozmoslabs.com/2008/08/11/10-design-tips-for-your-custom-wordpress-theme-built-with-thematic/' rel='bookmark' title='Permanent Link: 10 design tips for your custom wordpress theme built with thematic'>10 design tips for your custom wordpress theme built with thematic</a></li>
<li><a href='http://www.cozmoslabs.com/2008/09/14/use-wordpress-as-a-cms-with-thematic-part2/' rel='bookmark' title='Permanent Link: Use WordPress as a CMS with Thematic &#8211; Part2'>Use WordPress as a CMS with Thematic &#8211; Part2</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.cozmoslabs.com/2008/09/07/use-wordpress-as-a-cms-with-thematic-part1/feed/</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
		<item>
		<title>Before I go on vacation, more Thematic madness!</title>
		<link>http://www.cozmoslabs.com/2008/08/15/before-i-go-on-vacation-more-thematic-madness/</link>
		<comments>http://www.cozmoslabs.com/2008/08/15/before-i-go-on-vacation-more-thematic-madness/#comments</comments>
		<pubDate>Fri, 15 Aug 2008 11:27:27 +0000</pubDate>
		<dc:creator>Cristian</dc:creator>
				<category><![CDATA[Theme Design]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[Thematic]]></category>
		<category><![CDATA[vacation]]></category>

		<guid isPermaLink="false">http://www.cozmoslabs.com/?p=71</guid>
		<description><![CDATA[I&#8217;ve mentioned in my previous post about Thematic that I want to implement a static web-page using WordPress and Thematic as a CMS, so here&#8217;s a sneak  peek: www.cozmoslabs.com/projects/kraft2 . It doesn&#8217;t have a lot of content yet, I still have to install a form builder, a photo gallery, create some more pages and perhaps [...]


Related posts:<ol><li><a href='http://www.cozmoslabs.com/2008/09/07/use-wordpress-as-a-cms-with-thematic-part1/' rel='bookmark' title='Permanent Link: Use WordPress as a CMS with Thematic Theme- Part1'>Use WordPress as a CMS with Thematic Theme- Part1</a></li>
<li><a href='http://www.cozmoslabs.com/2008/09/19/wp-greet-box-my-design-and-thematic-the-good-the-bad-and-the-ugly/' rel='bookmark' title='Permanent Link: WP Greet Box, my Design and Thematic &#8211; The Good, the Bad and the Ugly'>WP Greet Box, my Design and Thematic &#8211; The Good, the Bad and the Ugly</a></li>
<li><a href='http://www.cozmoslabs.com/2008/08/11/10-design-tips-for-your-custom-wordpress-theme-built-with-thematic/' rel='bookmark' title='Permanent Link: 10 design tips for your custom wordpress theme built with thematic'>10 design tips for your custom wordpress theme built with thematic</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="postimage"><img class="alignnone size-medium wp-image-72" title="kraftauto" src="http://www.cozmoslabs.com/wp-content/uploads/2008/08/kraftauto.jpg" alt="" width="300" height="225" /></div>
<p>I&#8217;ve mentioned in my <a href="http://www.cozmoslabs.com/2008/08/11/10-design-tips-for-your-custom-wordpress-theme-built-with-thematic/">previous post about Thematic</a> that I want to implement a static web-page using WordPress and Thematic as a CMS, so here&#8217;s a sneak  peek: <a href="http://www.cozmoslabs.com/projects/kraft2/">www.cozmoslabs.com/projects/kraft2</a> . It doesn&#8217;t have a lot of content yet, I still have to install a form builder, a photo gallery, create some more pages and perhaps a video with the clients Auto Shop, but the main template is done. And again it was so easy to implement.</p>
<p>I have to say this is not a child theme, because I made small changes to the header file of the <a href="http://themeshaper.com/thematic-for-wordpress/">Thematic theme</a> . Other then that, the needed changes for the <em>thematic_belowheader </em>(<em> </em>for the slide show  )<em> </em>hook were done through functions.php file.</p>
<p>I have to say I can&#8217;t wait for WordPress 2.7 to implement full theme inheritance. Things will really take of then.</p>
<p><strong>Away on vacation!</strong></p>
<p>Finally some well deserved time off. It&#8217;s been a really interesting year for me and things appear to become even more interesting.</p>
<p>I&#8217;ll be away until the first of September so expect a full blog post in the first week after my vacantion on how I&#8217;ve used and implemented WordPress and Thematic as a CMS for <em>KraftAuto .</em></p>
<p><em>Until next time, have fun!</em></p>


<p>Related posts:<ol><li><a href='http://www.cozmoslabs.com/2008/09/07/use-wordpress-as-a-cms-with-thematic-part1/' rel='bookmark' title='Permanent Link: Use WordPress as a CMS with Thematic Theme- Part1'>Use WordPress as a CMS with Thematic Theme- Part1</a></li>
<li><a href='http://www.cozmoslabs.com/2008/09/19/wp-greet-box-my-design-and-thematic-the-good-the-bad-and-the-ugly/' rel='bookmark' title='Permanent Link: WP Greet Box, my Design and Thematic &#8211; The Good, the Bad and the Ugly'>WP Greet Box, my Design and Thematic &#8211; The Good, the Bad and the Ugly</a></li>
<li><a href='http://www.cozmoslabs.com/2008/08/11/10-design-tips-for-your-custom-wordpress-theme-built-with-thematic/' rel='bookmark' title='Permanent Link: 10 design tips for your custom wordpress theme built with thematic'>10 design tips for your custom wordpress theme built with thematic</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.cozmoslabs.com/2008/08/15/before-i-go-on-vacation-more-thematic-madness/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Joomla! 1.5.3 FTP layer and upload problems (update)</title>
		<link>http://www.cozmoslabs.com/2008/08/13/joomla-153-ftp-layer-and-upload-problems/</link>
		<comments>http://www.cozmoslabs.com/2008/08/13/joomla-153-ftp-layer-and-upload-problems/#comments</comments>
		<pubDate>Wed, 13 Aug 2008 10:25:06 +0000</pubDate>
		<dc:creator>Cristian</dc:creator>
				<category><![CDATA[Joomla!]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[ftp layer]]></category>

		<guid isPermaLink="false">http://www.cozmoslabs.com/?p=62</guid>
		<description><![CDATA[I&#8217;ve encountered a really nasty problem with a Joomla! 1.5 installation for a client of mine. It has to do with the default PHP upload function. The problem manifested like this: Upon uploading and installing a plugin, because the server was using PHP 4 I needed to make some modifications to the plugin php files [...]


Related posts:<ol><li><a href='http://www.cozmoslabs.com/2008/11/21/themes-in-gmail/' rel='bookmark' title='Permanent Link: Themes in Gmail'>Themes in Gmail</a></li>
<li><a href='http://www.cozmoslabs.com/2008/09/21/interface-portability-in-web-development-the-next-big-step/' rel='bookmark' title='Permanent Link: Front-end interface portability between CMS &#8211; the next BIG step in web-development?'>Front-end interface portability between CMS &#8211; the next BIG step in web-development?</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="postimage"><img class="alignnone size-full wp-image-63" title="joomla_ftp" src="http://www.cozmoslabs.com/wp-content/uploads/2008/08/joomla_ftp.jpg" alt="" width="300" height="225" /></div>
<p>I&#8217;ve encountered a really nasty problem  with a Joomla! 1.5 installation for a client of mine. It has to do with the default PHP upload function.<br />
The problem manifested like this: Upon uploading and installing a plugin, because the server was using PHP 4 I needed to make some modifications to the plugin php files since it used the array_combine() function that was supported only in PHP 5. So far so good until I realized I couldn&#8217;t change &#8211; rename &#8211; delete &#8211; change the permissions on the files I wanted, because my ftp user didn&#8217;t have any rights.</p>
<p>Apparently the reason behind this is that when I installed via Joomla! that the &#8220;owner&#8221; of the created folders/files etc. is being set to &#8220;nobody&#8221;.</p>
<p>This was really annoying mostly because if I would try with the ftp layer I have problems just installing anything (templates, modules, plugins, components) but if I disable ftp I can install but then i can&#8217;t change the permissions via ftp which will allow me to edit any files.</p>
<p>Searching the Joomla! Forums I came across <a href="http://forum.joomla.org/viewtopic.php?f=428&amp;t=274954&amp;start=0&amp;st=0&amp;sk=t&amp;sd=a">this post</a> . I couldn&#8217;t find a really good solution so I&#8217;m not certain what to do now.</p>
<p>The apparent solution would be to make the modifications to the plugin on my local server and then upload them. All this for a copy-paste of code in a file online.</p>
<p>Also tried to install from a directory on the server without any success.</p>
<p>I haven&#8217;t finished the client&#8217;s website but I&#8217;ll have to find a solution although I don&#8217;t have high expectations and probably will have to make the modifications offline.</p>
<h4><strong>Update</strong></h4>
<p>After some fiddling around with the settings I managed to find a suitable solution. Basically I&#8217;ve set up the FTP layer and installed the component.</p>
<p><strong>1. Setting up the FTP layer in Joomla!</strong></p>
<p>The tricky part here is finding the root of the website. Also the /tmp and /log folders also needed to be exactly specified or it won&#8217;t work ok.</p>
<p>The settings for me wore :</p>
<p><em><span class="editlinktip hasTip"> Path to Temp-folder: /home/account-name/public_html/tmp<br />
</span><span class="editlinktip hasTip">Path to Log folder:  /home/</span><span class="editlinktip hasTip">account-name</span><span class="editlinktip hasTip">/public_html/logs</span></em></p>
<p>For the FTP settings I used an account that has full ftp access higher then public_html . In this case :</p>
<p><em><span class="editlinktip hasTip"> FTP Root</span>: /</em></p>
<p><strong>2. Uploading the plugin using the Directory Install</strong></p>
<p>Installing directly by uploading the component didn&#8217;t work for me&#8230; I&#8217;ve received the following errors:<br />
<span style="color: #ff4040;">JFTP::write: Bad response<br />
JFTP::delete: Bad response<br />
JFTP::write: Bad response </span></p>
<p>So I decided to try and install the component using the Directory Install Option. I&#8217;ve unpacked my component on my HDD and uploaded it here:</p>
<p><em>/home/account-name/public_html/administrator/components/com_installer/com_fabrik</em></p>
<p>Please note that this is the path that you have to write in your &#8220;Install Directory:&#8221; input also.</p>
<p>The component installed successfully and I can now modify it&#8217;s files from ftp.</p>
<p>I&#8217;m relived that I got this sorted, because I believe Joomla! 1.5 to be a big step forward compared to 1.0 and it would have been a shame to spoil it with something like this. I still don&#8217;t think this is the best way to do this but it&#8217;s a start.</p>


<p>Related posts:<ol><li><a href='http://www.cozmoslabs.com/2008/11/21/themes-in-gmail/' rel='bookmark' title='Permanent Link: Themes in Gmail'>Themes in Gmail</a></li>
<li><a href='http://www.cozmoslabs.com/2008/09/21/interface-portability-in-web-development-the-next-big-step/' rel='bookmark' title='Permanent Link: Front-end interface portability between CMS &#8211; the next BIG step in web-development?'>Front-end interface portability between CMS &#8211; the next BIG step in web-development?</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.cozmoslabs.com/2008/08/13/joomla-153-ftp-layer-and-upload-problems/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Database Caching 50/155 queries in 0.154 seconds using disk

Served from: www.cozmoslabs.com @ 2010-07-31 02:12:24 -->