Creating my own theme but havign problems
Permalink
Hi,
I started to look at concrete 5 couple of weeks ago. i like it.
I have my HTML ready and concrete 5 installed. i donot know what I
have done wrong.
When i click Preview after installation of theme it shoes the following error:
An unexpected error occurred.
File /var/www/concrete5/themes/elements/default.php not found. All themes need default.php and view.php files in them. Consult concrete5 documentation on how to create these files.
Can anyone provide me the exact link which is up to date and works with latest c5 version, where I can find the tutorial to do it.
Thanks
Usman
I started to look at concrete 5 couple of weeks ago. i like it.
I have my HTML ready and concrete 5 installed. i donot know what I
have done wrong.
When i click Preview after installation of theme it shoes the following error:
An unexpected error occurred.
File /var/www/concrete5/themes/elements/default.php not found. All themes need default.php and view.php files in them. Consult concrete5 documentation on how to create these files.
Can anyone provide me the exact link which is up to date and works with latest c5 version, where I can find the tutorial to do it.
Thanks
Usman
I tend to copy my left_sidebar.php and rename to default.php if you don't have one
You need both a view.php and a default.php within the theme folder you are trying to install.
If the theme is a default theme then its possible that you have a corrupt version of concrete.
My guess is the theme you are trying to install does not have that default.php
look within your root folder
/themes/your_theme/
then make sure it has the default.php in there, (not in the elements folder but in the main themes folder)
Everything should work then.
Regards
You need both a view.php and a default.php within the theme folder you are trying to install.
If the theme is a default theme then its possible that you have a corrupt version of concrete.
My guess is the theme you are trying to install does not have that default.php
look within your root folder
/themes/your_theme/
then make sure it has the default.php in there, (not in the elements folder but in the main themes folder)
Everything should work then.
Regards
Have a look at this page which has a great screen cast on how to make a theme.
http://www.concrete5.org/documentation/how-tos/designers/make-a-the...
Also check out the How To section under Documentation which also has loads of useful stuff.
If you have a specific question then check out the forums, alot of questions have already been answered so you can search for what your looking for or post again.
Hope that helps :)