Forums

Chronoform without template

poduck 09 May, 2009
I have a form that works fine if I run it normally, but if I append &tmpl=component to the end of the URL so that I can use it without the template showing in an iframe, I get the dreaded "You are not allowed to access this URL" error in a page that has a template. Does anyone have any idea why this might happen?
GreyHead 10 May, 2009
Hi poduck,

Make sure that you use the non-SEF version of the URL to call the iframe: http://www.example.com/index.php?option=com_chronocontact&chronoformname=my_form&tmpl=component

With luck that will do the trick.

Bob
poduck 10 May, 2009
Unfortunately I don't have any SEF stuff enabled and I am using links like that. I redid the form, but I did it via the cut and paste method. I named it the same as before, and suddenly 1 of the links started working. I fixed the problem on the other link and it started working too. If I point it to the old form though I still get the same problem. So it's working for now, but I have no real idea why.
GreyHead 10 May, 2009
HI PoDuck,

I don't have any bright ideas either - maybe something cached somewhere, or a cookie or session file that hasn't expired??

Bob
This topic is locked and no more replies can be posted.