Page Type
Permalink
Hi All,
I'm a little stuck.
I have created a new pagetype called About. I have created my php file called about.php with the usual stuff in. I have uploaded the about.php to my themes directory. When I inspect my theme it finds it fine. However when I create a sub-page using this new pagetype it doesn't seem to take affect it just displays my default one.
What have I done wrong?
I'm a little stuck.
I have created a new pagetype called About. I have created my php file called about.php with the usual stuff in. I have uploaded the about.php to my themes directory. When I inspect my theme it finds it fine. However when I create a sub-page using this new pagetype it doesn't seem to take affect it just displays my default one.
What have I done wrong?
Double check that the Handle of the About page type is actually set to 'about' (without quotes). It may be set to 'default' or it may be set to about.php, which won't work either. Click the Settings button next to your About page type and then update the Handle field.
Thanks Julian,
Yes my handle is correct and the file is their, I have uploaded some screen shots so you can confirm for me.
I have also checked the permissions of the php file just in case.
Thanks
Sam
Yes my handle is correct and the file is their, I have uploaded some screen shots so you can confirm for me.
I have also checked the permissions of the php file just in case.
Thanks
Sam
Hey samtwilliams,
in which directory is your theme? Is the same theme in the updates/concrete5.X.X_updater/concrete directory as well? if yes, try to place your about.php in the theme's directory in the updater.
in which directory is your theme? Is the same theme in the updates/concrete5.X.X_updater/concrete directory as well? if yes, try to place your about.php in the theme's directory in the updater.
When you inspected the theme with the new page type, was the checkbox next to the page type marked and did you click on OK (see screen shot)?
Hi, Yes sure was.
have you cleared your site cache (shouldn't matter, but still worth it)?
I presume you mean clear my browser cache?
Have done that with no joy :(
Have done that with no joy :(
no, I mean your site cache.
Type 'Clear Cache' In the intelligent search when logged in.
Type 'Clear Cache' In the intelligent search when logged in.
and as if by magic it has worked. thank you so much :)
Sam
Sam
you are welcome