Approval Process
Permalink
Hi, I've been using a sitemap add-on called yamanoi_sitemap to have an added page in my sitemap called "Unapproved Pages," which I believe is an unofficial C5 block (not available in the marketplace - I found it a while back in another forum). It allows me to see all of the pages that have been edited but not yet approved. Next to the name of each unapproved page is a link to "Preview" the page and a link to "Approve" the page. However, clicking the approve link now opens up a new page that says the "Page could not be found." This approve link used to work so I'm guessing that a C5 upgrade may have undone it somehow. Below is the URL that it uses to "approve" the page, which is not working:
On the page itself, clicking approve uses this URL, which does work:
Aren't the two URLs essentially the same thing? Any ideas on why the first doesn't work and why the second does? Also, if I do need to use the page ID instead of the page name and path, is there a C5 class I could use to grab the page ID instead?
http://www.nameofsite.com/page/&ctask=approve-recent&ccm_token=1334761911:e512c686d1cee3671c12d3794833362f
On the page itself, clicking approve uses this URL, which does work:
http://www.nameofsite.com/index.php?cID=317&ctask=approve-recent&ccm_token=1334761911:e512c686d1cee3671c12d3794833362f
Aren't the two URLs essentially the same thing? Any ideas on why the first doesn't work and why the second does? Also, if I do need to use the page ID instead of the page name and path, is there a C5 class I could use to grab the page ID instead?
Yes, I do have pretty URLs enabled.
Looking closer...
In the url of the page that isn't working - after the last forward slash, you have an ampersand (&). Try changing that for a question mark. That might solve it...
Jon
In the url of the page that isn't working - after the last forward slash, you have an ampersand (&). Try changing that for a question mark. That might solve it...
Jon
That worked, thanks!
Do you have pretty urls enabled?
Jon