Editing my pages
Permalink
I was wondering I decided to create a new folder for concrete5 and I added my html files there when I go to load them I cannot edit them in anyway. I am new to this CMS and all and wanted to know if I did anything out of the norm. I can edit the page that came with the CMS but my personal page I cannot.
Eh? You created a new forder to where and what do you exactly want to do? A new theme? I think you'll find answers quickly from the FAQ and documentation. So take a look there.
You'll have the best results if you can make a theme out of your original site that you can reuse on all of your pages. You should look at the tutorials for creating a theme, but here's the basic idea for a quick theme:
1. You create a folder under themes
2. You put in your HTML design and end it with the extension PHP instead of HTML
3. Have one PHP file in there for each page type you want. You can copy the file and change it to support one column, left sidebar, right sidebar, or you can use a little PHP to reuse most of the same elements.
4. Edit your page and add a couple snippets. There's one for the header, one for the footer, and one for every place you want blocks to appear
In general this is the best way to go, but if you need to you can create as many page types as you want. You could create one page type for every page on your site ... moving directly from the original HTML by adding the snippets and changing the extension to PHP. However, the less page types you have and the "cleaner" they are, the easier it will be to maintain your site.
Does this make sense? Feel free to ask more questions. Concrete is really easy to make themes for.
1. You create a folder under themes
2. You put in your HTML design and end it with the extension PHP instead of HTML
3. Have one PHP file in there for each page type you want. You can copy the file and change it to support one column, left sidebar, right sidebar, or you can use a little PHP to reuse most of the same elements.
4. Edit your page and add a couple snippets. There's one for the header, one for the footer, and one for every place you want blocks to appear
In general this is the best way to go, but if you need to you can create as many page types as you want. You could create one page type for every page on your site ... moving directly from the original HTML by adding the snippets and changing the extension to PHP. However, the less page types you have and the "cleaner" they are, the easier it will be to maintain your site.
Does this make sense? Feel free to ask more questions. Concrete is really easy to make themes for.
eIvon,
excellent answer. Very informative.
This should be copied to Help section under development as "basic understanding of managing own html files" along with that "building your own theme" video.
I could not understand the difference between themes and page types and find information of where to keep those page type templates. Still not sure if such information exists in Help section. This explains a lot.
Thanks.
excellent answer. Very informative.
This should be copied to Help section under development as "basic understanding of managing own html files" along with that "building your own theme" video.
I could not understand the difference between themes and page types and find information of where to keep those page type templates. Still not sure if such information exists in Help section. This explains a lot.
Thanks.
I think all the basic questions are covered very well in
http://www.concrete5.org/help/building_with_concrete5/developers/th...
Please read it and test things before rushing to code, and you'll save plenty of time and lots of brain cells. Install another C5 as playground and discover things like children do, without aiming to professional result straight away. If you want to make your own theme from scratch, it's good to understand very basics of PHP.
http://www.concrete5.org/help/building_with_concrete5/developers/th...
Please read it and test things before rushing to code, and you'll save plenty of time and lots of brain cells. Install another C5 as playground and discover things like children do, without aiming to professional result straight away. If you want to make your own theme from scratch, it's good to understand very basics of PHP.