New Page Type - FTP Location
Permalink
Hi All:
I created a new page type but I want to edit the php file directly. Where can I find the page types I've made in the FTP?
I tried going to /concrete/page_types/ but in that directory, there is only "blog_entry.php" which isn't even one of the page types I made. Can anyone help me find the page types I've made?
Thanks,
Keith
I created a new page type but I want to edit the php file directly. Where can I find the page types I've made in the FTP?
I tried going to /concrete/page_types/ but in that directory, there is only "blog_entry.php" which isn't even one of the page types I made. Can anyone help me find the page types I've made?
Thanks,
Keith
The page types are found in the themes dir , whenever you create a new page type you need to actually place the php file in your themes dir, make sure that the handle of the page type you create matches the name of the php file
Found it! Thank you very much.
OK how does that new page type get placed into the theme dir? I created it under the dashboard page types and thought that would also place it under the themes dir for my theme but it doesn't. So step by step what needs to happen when creating a new page type?
If you created a page type (.php) you have to place it in the correct theme folder that you're currently using for your site.
i.e. If you activated theme ABC. Upload your new page type to /packages/ABC/themes/ABC. When you create that page type make sure the handle of that page type is the exact file name of the file you uploaded. Remember, if spaces, use underscores. No dashes too!
i.e. If you activated theme ABC. Upload your new page type to /packages/ABC/themes/ABC. When you create that page type make sure the handle of that page type is the exact file name of the file you uploaded. Remember, if spaces, use underscores. No dashes too!