Site will only use default page type
Permalink 1 user found helpful
Hi all,
I saw a similar thread but not quite the problem I am having.
I am wondering if anyone can help me, I am creating a new theme, I am a c5 noob but I'm an experienced front & back end developer.
When I set a web page to use the "home" page type, or any other ones for that matter it is always loading the default theme. (I have "die"d in the files), it seems as though is not looking for the other page types.
I have added some 'page type' files in the directory:
sitename > themes > themename
eg: home.php.
There is a correlating record in the page types area titled "Home" with a handle of "home".
Also, when I go to inspect the theme all the page types are listed.
I have cleared the site cache..
help please?
I saw a similar thread but not quite the problem I am having.
I am wondering if anyone can help me, I am creating a new theme, I am a c5 noob but I'm an experienced front & back end developer.
When I set a web page to use the "home" page type, or any other ones for that matter it is always loading the default theme. (I have "die"d in the files), it seems as though is not looking for the other page types.
I have added some 'page type' files in the directory:
sitename > themes > themename
eg: home.php.
There is a correlating record in the page types area titled "Home" with a handle of "home".
Also, when I go to inspect the theme all the page types are listed.
I have cleared the site cache..
help please?
Thank you for your response and those links- most appreciated! I've taken a look and everything seems fine as per that documentation :(
The new page types I have set up are installed, the show up in the list fine and I can assign them to web pages, it's just they don't get used, it still applies the default page type.
I can't see any settings were I am wrong I am thinking this may be a bug...! :(
The new page types I have set up are installed, the show up in the list fine and I can assign them to web pages, it's just they don't get used, it still applies the default page type.
I can't see any settings were I am wrong I am thinking this may be a bug...! :(
So I've found a solution, turns out it may be a BUG, a caching issue.
Despite clearing the site cache numerous times, until I actually changed some system settings, it wouldn't work.
I went to:
"Site Settings > Cache & Speed Settings"
and set
"Overrides Cache"
to
"Off - Good for development."
Despite clearing the site cache numerous times, until I actually changed some system settings, it wouldn't work.
I went to:
"Site Settings > Cache & Speed Settings"
and set
"Overrides Cache"
to
"Off - Good for development."
Good catch!
Thanks for this, it was really helpful
Dashboard..Page Types..
http://www.concrete5.org/documentation/using-concrete5/dashboard/pa...
And, for a more manual approach which may be needed.
http://www.concrete5.org/documentation/using-concrete5/dashboard/pa...