Setting up Single Pages

Permalink 1 user found helpful
I've followed this:
http://www.concrete5.org/documentation/developers/pages/single-page...

And then this:
http://www.concrete5.org/community/forums/customizing_c5/instructio...

I'm still perplexed as to why I'm getting...
"That specified path doesn't appear to be a valid static page." at the top of my Single Pages listing.

Any ideas of what I'm missing? I'm a newbie to this, but everything else seems to be going fine.

 
digitelle replied on at Permalink Reply
I am having the same problem. I have searched the site for answers but have found nothing useful. I will post back here if I figure something out
codingpenguins replied on at Permalink Reply
Two things to check:

- Where you are ftping to: all files should be in the main concrete5 folder under "single_pages" - If your trying to add to the dashboard it should be "single_pages/dashboard/(title of tab)"

- When you add the path just put the file name under "single_pages". No need to add "single_pages" again. example: "dashboard/(Main tab)/(sub tab)"

If this does not help, put an example so I can see what you are entering, and the file location based with the concrete5 folder. IE (/concrete5/single_pages/dashboard/(my new page.php)

Verify .php is at the end of the file.
digitelle replied on at Permalink Reply
The location was /single_pages/how

the file was called how.php and was blank

CHMOD 777 (for good measure)

It was never considered a valid static page. I have since given up and I am just using page types to create the pages I need.
digitelle replied on at Permalink Reply
I think I actually see what the problem was. As the CMS is downloaded from site there are two single_pages folders. One in the root, and one inside the "concrete" directory. The nested one is where the pre-installed single_pages are and where you should put your page.

root/concrete/single_pages/page

The instructions tell us to put it in the root, but I guess they don't mean the root of the site, pretty confusing.

Anyway I am doing fine with page types now, thanks!
jasteele12 replied on at Permalink Reply
jasteele12
No, the *core* single_pages are in /concrete/single_pages/

You should put your *custom* single_pages in /single_pages/, but they do have to be valid if you want any output (see:http://www.concrete5.org/documentation/developers/pages/single-page... )

So if you want a How page, you can either place it here:
/single_pages/how.php

or here:
/single_pages/how/view.php

Then you need to add it to the CMS:

Dashboard | Themes & Page Types | Single Pages. Find the "Add a Single Page" form at the bottom of the list, and enter "how" without the quotes. Do not include ".php" in the field.

Again, follow the directions from the link above.
digitelle replied on at Permalink Reply
Thank you for clarifying that.