default.php, view.php

Permalink
iam a beginner in conc5 themes , i made a theme that only contains one php page which is full.php after installing it it gives me an error says that it must be a default.php and view.php page , then i took this 2 pages from a free theme , put them into the folder but it gives me the following error
Warning: include(/home/cocamoca/public_html/conc5/concrete/themes/simplegrey/elements/header.php): failed to open stream: No such file or directory in /home/cocamoca/public_html/conc5/concrete/core/libraries/view.php on line 488

Warning: include(): Failed opening '/home/cocamoca/public_html/conc5/concrete/themes/simplegrey/elements/header.php' for inclusion (include_path='/home/cocamoca/public_html/conc5/libraries/3rdparty:/home/cocamoca/public_html/conc5/concrete/libraries/3rdparty:.:/usr/lib/php:/usr/local/lib/php') in /home/cocamoca/public_html/conc5/concrete/core/libraries/view.php on line 488



, the same erro for the footer

 
WebcentricLtd replied on at Permalink Reply
hi,
it sound very much as though you are missing the various theme pages you need.
Which version of concrete5 are you using? Which template did you grab your full.php from?
yaseenhoor replied on at Permalink Reply 3 Attachments
iam using version 5.6.3.2 and i attached the pages full, default, view as txt files pls let me know what is the error on it
Best Regards,
WebcentricLtd replied on at Permalink Reply
hello - you shouldn't really be working on a custom template in /concrete/themes/

if you upgrade at some point you will lose that theme.

Custom themes should be created / installed in
/themes
in the root of your website - this keeps them out of the core code.

If I were you I would copy your files into /themes/yourthemename and work on them there as the first thing.

Your php files are making calls to /elements/header.php and elements/footer.php

do you have that directory and those files (the /elements directory is relative and should be directly below your theme directory:

/yourthemename
/yourthemename/elements
andrewjaff replied on at Permalink Reply
andrewjaff
Hi,

Here is the steps to build custom theme in c5.
www.www.concrete5.org/documentation/how-tos/designers/making-a-theme...

Thanks
Andrew