Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
For some reason my DTGE preview is executing the doctype template view and rendering that in the backoffice. No idea why. Version 7.6.3
Pointers appreciated!
Hi Alan,
I'm assuming it's latest DTGE, v0.4.0?
I've only experienced the full front-end HTML being pulled through a preview when either the current node (or the root node) is unpublished.
It's a known limitation with DTGE's preview mechanism :-(
If it's not that, I'm not sure what it might be off the top of my head.
Cheers, - Lee
Hey Lee,
I've been banging my head on this all day today, stripping the install back to its bare bones and still having the problem... finally it hit me... an IIS Rewrite Rule that I had to force appending a trailing slash URL requests....
Thanks for your help!
Aw crap, that sucks man ... and you know what, it's happened to me too!
It didn't occur to me to mention it. Sorry!
I added in this condition to my rewrite rule...
<add input="{REQUEST_URI}" pattern="dtgePreview=1" negate="true" />
Legend. That fixes it nicely thanks!
Alan
LMAO.
Wow and I thought this was some kind of nifty new feature of DTGE.
Thanks for sharing this Alan and Lee! I've added the negate condition to all redirect/rewrite rules in the web.config.
The rendered version looked really cool though.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Grid Preview in backoffice is rendering front-end template Umbraco 7.6.3
For some reason my DTGE preview is executing the doctype template view and rendering that in the backoffice. No idea why. Version 7.6.3
Pointers appreciated!
Hi Alan,
I'm assuming it's latest DTGE, v0.4.0?
I've only experienced the full front-end HTML being pulled through a preview when either the current node (or the root node) is unpublished.
It's a known limitation with DTGE's preview mechanism :-(
If it's not that, I'm not sure what it might be off the top of my head.
Cheers,
- Lee
Hey Lee,
I've been banging my head on this all day today, stripping the install back to its bare bones and still having the problem... finally it hit me... an IIS Rewrite Rule that I had to force appending a trailing slash URL requests....
Thanks for your help!
Aw crap, that sucks man ... and you know what, it's happened to me too!
It didn't occur to me to mention it. Sorry!
I added in this condition to my rewrite rule...
Cheers,
- Lee
Legend. That fixes it nicely thanks!
Alan
LMAO.
Wow and I thought this was some kind of nifty new feature of DTGE.
Thanks for sharing this Alan and Lee! I've added the negate condition to all redirect/rewrite rules in the web.config.
The rendered version looked really cool though.
is working on a reply...