how do I add pages to my bespoke theme
Permalink
I have added my own Bootstrap template and built the home page and names it full.php as instructed in tutorials on youtube. ive added the header, footer and path php needed and the page loads in my CMS.
The tutorial only show adding one pager. I need to add multiple pages and when in cms going to add page I want to add the pre constructed pages I built off site and add them to the site. so when i click on the links it goes to the page i designed not a duplicate of the full home page php.
Also the navigation normally says index.php - with the ....getThemPath... does it need to be something else as i try to add the page ftp and it just spat out this error:
i duplicate the full.php header, footer etc.
The tutorial only show adding one pager. I need to add multiple pages and when in cms going to add page I want to add the pre constructed pages I built off site and add them to the site. so when i click on the links it goes to the page i designed not a duplicate of the full home page php.
Also the navigation normally says index.php - with the ....getThemPath... does it need to be something else as i try to add the page ftp and it just spat out this error:
Fatal error: Class 'Loader' not found in /var/sites/b/***************/public_html/concrete5/application/themes/test-HD/about.php on line 5
i duplicate the full.php header, footer etc.
Hi Parasek, Thanks for the reply. My big problem is ive made a page called about.php and added to ftp and cant seem to link it in my index file called full.php so when on my home page nav to about ive got an id not url about?
BASICLY WITH CONCRETE5 IS THERE ANY DOCUMENT RELATED TO ADDING A HTML SITE WITH MULTIPLE PAGES TUTORIAL
have a look at Page Types as this is what I think you are trying to achieve
http://documentation.concrete5.org/editors/dashboard/pages-and-them...
http://documentation.concrete5.org/editors/dashboard/pages-and-them...
Not sure responsive, in my nav on page I would normally have href to home as index.php and about as about.php etc . How do I link these pages or any other links. Do I need to alter pretty urls?
-----Original Message-----
From: "concrete5 Community" <discussions@concretecms.com>
Sent: 21/03/2016 12:57
To: "contact@brianhedleypratt.co.uk" <contact@brianhedleypratt.co.uk>
Subject: how do I add pages to my bespoke theme : Building with concrete5
-----Original Message-----
From: "concrete5 Community" <discussions@concretecms.com>
Sent: 21/03/2016 12:57
To: "contact@brianhedleypratt.co.uk" <contact@brianhedleypratt.co.uk>
Subject: how do I add pages to my bespoke theme : Building with concrete5
And of course change namespace in page_theme.php to:
namespace Application\Theme\Testhd;