I'm pretty sure a pre-executing script block executes on the red dot 
server during preview / publishing, so the asp code will not be present 
in the published pages - only the html code that the asp code generates 
will be present in the published pages.

What I think you need is an rdexecute statement at the top of your 
content classes that contain asp code to be pushed out in the published 
pages, like this:


--- start content class ---
<!--RDExecute=ASP-->

<p>some content class content</p>

<%
 dim some_asp_code
%>

<p>some more content class content</p>

--- end content class ---



which should allow reddot to execute the asp within smartedit etc, and 
also keep the asp code intact in the published pages.

DTU wrote:
> Your problem with testing the asp after publishing from Reddot is a
> webserver configuration problem. Make sure that the webserver is set
> to execute the script  - generally, this is controlled based on file
> extension and folder settings.
>
> Reddot wants you to use liveserver for all dynamic functionality. I am
> not a fan of liveserver because it is java and requires learning a new
> programming language. Also, it is not a very tight integration - it
> doesn't offer many advantages over asp or php.
>
> On Nov 8, 9:40 pm, Echo <[email protected]> wrote:
>   
>> Hi, everyone, and I’m new to RedDot CMS, and happy to find here is a
>> RedDot group
>>
>> Now I am thinking about if we can build up a dynamic website, e.g.
>> ASP, ASP.NET, or PHP via the RedDoct CMS I am using now and its
>> version is 7.5
>>
>> We have few of materials of the RedDot CMS, like the syntax of RedDot
>> and so on…..
>>
>> So, how to build up a dynamic website? Must use Liveserver (Be honest,
>> I really don’t know what function it has)? or just put the ASP,
>> ASP.NET or PHP code into the template and publish to webserver? (um..
>> I think it is not so simple like this...)
>>
>> and these days, I use ASP to build a simple registration page to test
>> in RD, I just put the code into the template and use pre-execute
>> script block to control the ASP code, then publish it to webserver,
>> but it has no function when I check its result..., but if I upload the
>> test page directlly to server via FTP(not to use RD to publish it), it
>> works fine.
>>
>> Maybe it is not so simple to build up a dynamic website in RD, how to
>> control the ASP,ASP.NET or PHP code in template? Or there is something
>> we must configure first in RD?
>>
>> Wish the experts can give me some information, thanks a lot!
>>     
>
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to