I've thought about this, I've searched the plugin list, and unfortunately, I don't have Garvin's book on me right now. But there really is no way to preview an entry draft within the page context, right? I.e. the only preview we have is the one in the backend generated by the entry editor, there's no way to see an unpublished entry within the full template including stuff preview_iframe.tpl might omit?
(I gotta ask: Would it be possible to add this without too much of a hassle?)
YL
"Full" draft preview
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: "Full" draft preview
Hi!
That's true.
Someone posted this here a few days or weeks earlier. My response was that it's a security thing that drafts are never seeable in the normal blog context. it could be changed of course, but nothing that can be done in a hurry, because it coud have huge implications of done wrong.
I even wouldn't know how to implement it UI-wise, how/where would you want to see the draft, how would you "execute" it?
Regards,
Garvin
That's true.
Someone posted this here a few days or weeks earlier. My response was that it's a security thing that drafts are never seeable in the normal blog context. it could be changed of course, but nothing that can be done in a hurry, because it coud have huge implications of done wrong.
I even wouldn't know how to implement it UI-wise, how/where would you want to see the draft, how would you "execute" it?
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: "Full" draft preview
Well, I "know" this feature from Contao CMS, which has a button in the backend called "frontend preview". Clicking this button opens a new window or tab displaying the article or page which was edited when clicking the button within the page's or article's context, i.e. the frontend template assigned to it. However, I'm not even sure Contao can do that with unpublished content. I don't think so.garvinhicking wrote:I even wouldn't know how to implement it UI-wise, how/where would you want to see the draft, how would you "execute" it?
It's no biggie, it just crossed my mind since I have some wild ideas about using individual style(sheet)s for individual entries which might be hard to predict from the backend preview. Then again, it might depend on the admin template used. Might work if the admin template has enough room for the iframe to display the entry 1:1.
YL