
AussieT
User
Sep 2, 2008, 4:28 PM
Post #8 of 10
(13747 views)
Shortcut
|
|
Re: [Donna] Integrating CAPTCHA Code
[In reply to]
|
Can't Post
|
|
Hi Kezza, Yep, the basic problem here is that the file is a .cgi, not a .asp -- regardless of what you name the template (heck, you could call it enquiry.blargh) the actual filename that you're hitting is search.cgi -- it's just pulling the details from the template. There isn't really a way around this. Dynamic pages have to have the extension of the type of file they use -- you'd have the same problem if it were php... or anything other than asp. We do have a script (PublishCron) that allows you to generate a static page from a dynamic query, but if you want that on individual pages, that gets a little trickier as you'd have to setup a publishcron entry for every page... and that sort of defeats the purpose of having dynamically generated pages. :) Or, if you had the enquiry data on the static pages that Realty Manager creates (l00397.html, for example) you could change the extension of that page to asp, and it would work fine. (This is changed in the Setup Options.) Let me know if that helps at all, or if you have any other questions. :) ----- I have static html listings generated by the _publish_listing template for example: .../listman/listings/l0706.html . All these static .html pages have an email enquiry form on them and I would like to add CAPTCHA code to them. Can you recommend a CAPTCHA code for these pages? Since the site is now several years old, I would prefer not to change the .html extensions to ASP or PHP since I assume I would then lose any search engine rankings I have for these pages.
(This post was edited by AussieT on Sep 2, 2008, 9:05 PM)
|