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 have this question too.
There is a good tutorial for this in the developer section with video.
The thumbnail is just a visual so show what the template looks like when you are choosing between themes in the dashboard.
The easiest way it to open up an existing theme and see how that works. You can have any number of page types you want, not just default.php. You can also use includes with php so all your pages can grab the same headers, footers or other code.
Let me know if that explains anything.
The thumbnail is just a visual so show what the template looks like when you are choosing between themes in the dashboard.
The easiest way it to open up an existing theme and see how that works. You can have any number of page types you want, not just default.php. You can also use includes with php so all your pages can grab the same headers, footers or other code.
Let me know if that explains anything.
take a look at
<yoursite>/concrete/themes/default/
download that folder (or take it out of the zip) to see how it works its pretty simple
<yoursite>/concrete/themes/default/
download that folder (or take it out of the zip) to see how it works its pretty simple