Website with a front page
Permalink
Hello everyone,
First of all I want to say that I am quite new to Concrete 5, so if I am asking something stupid, my apologies.
I would love to make a website with Concrete 5, because I love how it works and that there so many ways I can edit.
But I'm stuck with my development.
I have I website that includes 1 front page. From that frontpage you can navigate to 3 other pages. So the frontpage is just a static HTML page and there is nothing to edit for anyone on the frontpage.
Then in the three other pages it must be possible to edit text, images and so on.
This is directory right know:
default.php (frontpage)
description.txt
/style (stylesheet for default.php)
/submap1 (submap with another page that must be editable)
- default.php
/submap2 (submap with another page that must be editable)
- default.php
/submap3 (submap with another page that must be editable)
- default.php
But it was a pitty for my to see that when I add a new area to one of the default.php pages in a submap, I can't edit that area and I'll get a error like this:
I tried to rename to dafault.php pages in the submaps to something like index.php but nothing will work.
Is there anyone out there who can help me?
Cheers,
Ronnyrr
ps. sorry if my English wasn't that good, it's not met primary language!
First of all I want to say that I am quite new to Concrete 5, so if I am asking something stupid, my apologies.
I would love to make a website with Concrete 5, because I love how it works and that there so many ways I can edit.
But I'm stuck with my development.
I have I website that includes 1 front page. From that frontpage you can navigate to 3 other pages. So the frontpage is just a static HTML page and there is nothing to edit for anyone on the frontpage.
Then in the three other pages it must be possible to edit text, images and so on.
This is directory right know:
default.php (frontpage)
description.txt
/style (stylesheet for default.php)
/submap1 (submap with another page that must be editable)
- default.php
/submap2 (submap with another page that must be editable)
- default.php
/submap3 (submap with another page that must be editable)
- default.php
But it was a pitty for my to see that when I add a new area to one of the default.php pages in a submap, I can't edit that area and I'll get a error like this:
Fatal error: Class 'Area' not found in /public/sites/concrete.domain.nl/themes/template/submap1/dafault.php on line 42
I tried to rename to dafault.php pages in the submaps to something like index.php but nothing will work.
Is there anyone out there who can help me?
Cheers,
Ronnyrr
ps. sorry if my English wasn't that good, it's not met primary language!
When working with a CMS like Concrete5, you don't put files on your server exactly where the page URLs are. Instead, you make templates for your theme, then add pages to your site where you want them to be in your sitemap (the dashboard sitemap is how you would set up your "submaps").
It sounds like what you want to do is build a theme with several different page type templates. Here is some documentation about how to do that:
http://www.concrete5.org/documentation/how-tos/designers/make-a-the...
http://www.concrete5.org/documentation/how-tos/designers/converting...
http://www.concrete5.org/documentation/how-tos/designers/making-a-t...
For the front page, you could add the content as blocks to the Home page, then protect it with Permissions so nobody else can edit the content.
It sounds like what you want to do is build a theme with several different page type templates. Here is some documentation about how to do that:
http://www.concrete5.org/documentation/how-tos/designers/make-a-the...
http://www.concrete5.org/documentation/how-tos/designers/converting...
http://www.concrete5.org/documentation/how-tos/designers/making-a-t...
For the front page, you could add the content as blocks to the Home page, then protect it with Permissions so nobody else can edit the content.
Why are you having three default.php templates?