How create a theme in concrete5
Permalink
Hello , Im new to CMS Concrete5 , i purchase temeplete , and i would like to use Concrete5 to buid site , I did seacrh In the net , how to create a theme in concrete5 . i fount this :
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.
I didn't understabnd this line
should i create default.php in theme Folder what header is ?? is it the file of the front page of my tempelate ????
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);
?>
Any example simple , any help
Thank you
Simon
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.
I didn't understabnd this line
should i create default.php in theme Folder what header is ?? is it the file of the front page of my tempelate ????
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);
?>
Any example simple , any help
Thank you
Simon
I wrote a tutorial about this, at the end you can even download a theme..
http://www.codeblog.ch/2009/01/concrete5-theme-erstellen/...
http://www.codeblog.ch/2009/01/concrete5-theme-erstellen/...
Take that folder, copy it, move it over to a folder and copy and paste the bits and pieces you absolutely need (anything wrapped in a <? or <?php tag and paste that in applicable areas on your template you are using. I highly recommend you "include" the header and footer to keep yourself from having to replicate them since you will have identical headers and footers for both the default.php and view.php.
Hope this helps.