creating a theme in concrete5
I was really impressed by concrete5. It provides so many ways for its customization. It took me not so much time to convert one of my templates into concrete5 theme. The process is really simple for anyone having basic experience in web development. So the basic steps are:
1. Create a new folder in themes directory.
2. Create there a plain text file description.txt with only 2 lines: the first should have theme title, the second line contains a short description.
3. Create a ‘thumbnail.png’ file with 120×90 thumbnail for the skin.
4. Create ‘default.php’ file with the xhtml or html code of your skin. For the editable area, use the following code snippets:
<?php
$ah = new Area('Header');
$ah->display($c);
?>
Where Header is the name of current block. Very simple!
5. Upload all related files for the theme (like css stylesheet, images, etc.) in to that specific folder.
Basically it takes less than an hour to convert a single page theme. Of course it will take more if your design will be based on several page types.
December 15th, 2008 at 10:48 pm
Thanks for the great blog. Usefull and concisely written.
Would it be possible to ask for you to release the Vistalicious theme for the concrete 5 CMS. Either to me or to the community. I like the simplicity of it. Very nice.
I have a knowlege of css and HTML but not of php and are still struggling with the concept of adding divs that have php code in them to the create a default.php file that will form the basis of my c5 site page.
I hope you can help.
Thanks,
Brent
December 16th, 2008 at 5:35 am
I’ll do it at the first opportunity. Most likely it’ll be finally ready this weekend. I will give a link in a new post, so if you are subscribed to RSS feed of the website ( http://www.denisvlasov.net/feed/ ), you’ll be the first person to know about release 😉
December 16th, 2008 at 8:27 pm
Thanks Denis. Much appreciated.
Brent
December 16th, 2008 at 8:30 pm
PS. To have the right column blog menu shifted to the left hand side would probably work best for the concrete interface as left nav menus are more standard for websites vs blogs. Only if that is an easy change to make.
Thanks again,
Brent
December 17th, 2008 at 9:31 am
I believe it shouldn’t be a problem as concrete5 allows multiple page types, so we can have a right column page type and a left column page type within a theme.
December 17th, 2008 at 5:01 pm
Please check this post: http://www.denisvlasov.net/76/free-concrete5-theme-is-available/
December 20th, 2008 at 4:19 am
Great. Thanks for your hard work. It is great to be part of a community where people share their talents.Brent
January 4th, 2009 at 11:29 am
Hey Denis – C5 found me at OSCON last year in Portland, OR, USA last year. I stopped using it around 4 months ago for my personal site because it lacked a larger user base and support. My php was not so great either. Back at it again, C5 has blossomed into an even better CMS. Thanks for the work on the theme. Looks clean!
~Mark