Forum
Draft links in runway
Hi
we have a customer that like to preview news items before they go live, with runway when you add routes for the post page news/[newsslug:s]
when you add a draft news item and try and preview it you get a 404 - page not found
/news/2015-03-02-test-post/preview
how do i add a route for the preview and where?
Regards,
Brett
iu tried to add page news/[newsslug:s]/preview to the routes but then get a blank page
If you are getting a "blank page" then you have a PHP error. You need to make sure you either output errors to the screen or have access to your log while developing, so you can diagnose any issues you have.
There are no errors, I am getting the standard runway page not found. If I take the news item out of draft it works fine.
Does
[preview:preview]
make a difference?as in news/[newsslug:s]/[preview:preview] That gives the news post page without the article.
What does the debug output at that point?
here is the debug with the route added - news/[newsslug:s]/[preview:preview]
Ok, that looks good. I'll see if I can debug it at this end.
Any news on this? got the same problem
Dexter, please post as a new thread full details of your problem including Diagnostic Report.