I have a scenario where it would be very handy to automatically set a
few properties of a page as it is being loaded for the first time in
SmartEdit. In particular I'm trying to add taxonomy keys and set some
default items in a list element after certain values have been set in
SmartEdit mode on the page. Conceptually, the template is something
like this:
<html>
<head>
--- all of the header contents, some built with ASP pre-execute
sections---
</head>
<body>
<pre-execute><%
' check if the page needs certain default properties set based
on current element values
' run RQL to set those things
%></pre-execute>
--- all of the body content, some built from ASP pre-execute
sections, containers, etc... all the normal stuff---
</body>
</html>
While building the RQL to do this is easy enough, the problem I run
into is that when I run RQL that modifies the page contents while that
page is loading in SmartEdit (or being published), all of the output
from *every* ASP pre-execute block is removed from the page. This
leaves a bunch of holes and important pieces missing from the page. It
is not just the pre-execute block running the RQL that gets its output
stripped. The RQL itself is finishing OK (every change that it should
make is being made, verified afterwards in SmartTree), but all of the
pre-execute block output simply gets lost. This occurs both in
SmartEdit and during actual publication as well. If I execute read-
only RQL, there are no problems. It's only when running RQL that
modifies the page that is being shown/loaded that I seem to run into
this.
This is in 7.1.2.6. Has anyone run into this before or have any ideas
on how to work around it? Thanks...
- Keith
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"RedDot CMS Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~----------~----~----~----~------~----~------~--~---