Index Page...HELP PLEASE
Permalink
I would like to know how to edit my pages via HTML. How do I find the index page? Also, When I try to edit my photo gallery, it doesn't do anything. I click on edit, so I can add photos, and it brings up another page, that also says edit on it. I click edit for a second time, and still nothing.
Where are the ADD-ONS going that I want to edit????
Please HELP
Where are the ADD-ONS going that I want to edit????
Please HELP
Yes, this is definitely going to be a learning experience, as I am used to coding my pages by hand. I even get confused with WYSIWYG pages.
Templates have always been my downfall, as I never really understood how they work, even with being able to edit them either in an editor or with notepad.
I also don't know what CMS is as well.
But I will do my best to work with this new type of site style.
Also, I can see my add-ons on my Add Functionality Page and also on my Project Page, but, how do you edit them to be able to put things on them. Like for instance the Music Add-On?
The Galleria image gallery - 2.0, I would like to put photos there. How do I put them there?
Thanks for the help.
Kim
EDIT:
" Open up the concrete/themes/default folder and you will see all the CSS and template files. You can add as many templates as you wish and assign each page you create to a template file."
Where are you finding these??? I don't see any folders like that.
This is what I see:
HOME:
Members
Page Not Found
Page Forbidden
ABOUT:
Press Room:
Launch Our New Site!
Guest Book
SEARCH:
Search Results
Confirm Signup
Templates have always been my downfall, as I never really understood how they work, even with being able to edit them either in an editor or with notepad.
I also don't know what CMS is as well.
But I will do my best to work with this new type of site style.
Also, I can see my add-ons on my Add Functionality Page and also on my Project Page, but, how do you edit them to be able to put things on them. Like for instance the Music Add-On?
The Galleria image gallery - 2.0, I would like to put photos there. How do I put them there?
Thanks for the help.
Kim
EDIT:
" Open up the concrete/themes/default folder and you will see all the CSS and template files. You can add as many templates as you wish and assign each page you create to a template file."
Where are you finding these??? I don't see any folders like that.
This is what I see:
HOME:
Members
Page Not Found
Page Forbidden
ABOUT:
Press Room:
Launch Our New Site!
Guest Book
SEARCH:
Search Results
Confirm Signup
When johndorsay said to open the concrete/themes/default folder, he meant the actual folders and files on your computer (or server), not in the sitemap.
In general, here is what CMS templates are all about:
When you build a website as you have been doing, with separate files for every page, you soon wind up with a lot of the same html on every single page (the <head>, the overall page structure, the sidebar and footer, etc.), so when you want to change something in your design that applies to ALL site pages, you wind up having to change every single file, which is very time consuming and error-prone. Templates are a way to avoid this problem. Consider the template as a "frame" around each page. The template contains all of the html that is exactly the same across all of your site pages -- so the <head>, the overall page structure (like <div id="content">, etc.), maybe the sidebar, the footer, etc. To determine what should be in a template, you need to think about what is going to be the same across every page versus what will be different, and you "carve out" the things that will be different. The things that are the same go in the template, and the things that are different are called "content areas".
CMS's work by storing all of the content separately from the overall design. The overall design is in the template file(s), and the content is stored in the database (don't worry about this, though -- just think of it as being in a bunch of other files somewhere). When someone loads a page, the CMS takes the template and puts that page's content into the middle of it (in the "content areas" that you carved out).
In concrete5, you specify where these content areas are in your template by putting this code in:
<?php
$a = new Area('Main');
$a->display($c);
?>
That is for the "main" content area of your page. You also have a different one for 'Sidebar', or if you have a 3-column layout you'd also have another one for 'Third Column' or whatever you call it.
A good way to see how this works is to look at the themes that come with concrete5 -- the way you do this is by looking at the actual files that are installed on your computer or server (in the directory mentioned by johndorsay up above).
Hope this clears things up a bit. Feel free to post back or message me if you have more questions about this stuff!
-Jordan
In general, here is what CMS templates are all about:
When you build a website as you have been doing, with separate files for every page, you soon wind up with a lot of the same html on every single page (the <head>, the overall page structure, the sidebar and footer, etc.), so when you want to change something in your design that applies to ALL site pages, you wind up having to change every single file, which is very time consuming and error-prone. Templates are a way to avoid this problem. Consider the template as a "frame" around each page. The template contains all of the html that is exactly the same across all of your site pages -- so the <head>, the overall page structure (like <div id="content">, etc.), maybe the sidebar, the footer, etc. To determine what should be in a template, you need to think about what is going to be the same across every page versus what will be different, and you "carve out" the things that will be different. The things that are the same go in the template, and the things that are different are called "content areas".
CMS's work by storing all of the content separately from the overall design. The overall design is in the template file(s), and the content is stored in the database (don't worry about this, though -- just think of it as being in a bunch of other files somewhere). When someone loads a page, the CMS takes the template and puts that page's content into the middle of it (in the "content areas" that you carved out).
In concrete5, you specify where these content areas are in your template by putting this code in:
<?php
$a = new Area('Main');
$a->display($c);
?>
That is for the "main" content area of your page. You also have a different one for 'Sidebar', or if you have a 3-column layout you'd also have another one for 'Third Column' or whatever you call it.
A good way to see how this works is to look at the themes that come with concrete5 -- the way you do this is by looking at the actual files that are installed on your computer or server (in the directory mentioned by johndorsay up above).
Hope this clears things up a bit. Feel free to post back or message me if you have more questions about this stuff!
-Jordan
Once you log in and go to the dashboard, you'll see the site map. These are all the pages in your site, so the home page is basically the index page.
All the HTML exists in the themes folder. If you have not set a new theme, your active theme is the default theme. Open up the concrete/themes/default folder and you will see all the CSS and template files. You can add as many templates as you wish and assign each page you create to a template file.
Addons will normally be within the packages folder at a the root.
If you start to edit the theme files I would suggest you copy the default folder to the root/themes directory and edit it there. You should never alter anything in the concrete folder. You will see the folder structure copied outside, this is where all your edits will be.
Happy learning!