Quite right Tony - navigation templates are not normal CMS templates and I don't think you can process RD or Pre execute in them, but you can maybe emit pre-execute blocks out of them to be executed in-place in the template they finally land in. Just be careful that what you're emitting will make sense once it has been duplicated out by the expansion of the nav tag. That seems like it might work. I can't remember if the nav placeholders get expanded before or after the regular CMS template processing. anyone have any concrete information on the page processing life cycle in RDCMS to this level of detail?
I can maybe figure it out if it's called for. HTH. Regards, Richard Hauer ==================== 5 Limes Pty Limited www.5Limes.com.au From: [email protected] [mailto:[email protected]] On Behalf Of Tony Gayter Sent: Wednesday, 28 March 2012 4:41 PM To: [email protected] Subject: Re: PreExecute Settings Is that the code in teh actual nav template? I seem to remember it doesnt like pre-execute blocks in nav templates, you should move the blocks and the rdexecute up a level into your master template so it looks like <!--RDExecute=ASP--> <!IoRangePreExecute> <%!! Navigation area with the code in it !!%> <!/ IoRangePreExecute> <br /> I am only going by memory so it might not fix it, ill have to wait to get back to work to see if that is how we have done it On 28 March 2012 01:34, Richard Hauer <[email protected]> wrote: Seems obvious but have you checked that the account running your application pool can write to the folder mentioned in the error message? HTH. RichardH. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Zoetrope Sent: Wednesday, 28 March 2012 3:09 AM To: RedDot CMS Users Subject: PreExecute Settings For the first time I am trying to use Server Side Scripts in OpenText. I created some test pages that have ASP scripts in their navigation templates. I am using just a simple test ASP statement in the navigation template to make sure it's not a syntax issue. The beginning of my code reads <!--RDExecute=ASP--> <!IoRangePreExecute><% response.write("Hello World!") %><!/ IoRangePreExecute> <br /> This code is supposed to write Hello World! at the top of my navigation bar on the left of the page in all rendering modes (edit, preview and published). I have a problem when trying to use the PreExecute block for server side scripts (in this case, ASP) in the CMS. I am pretty sure I have the code and the settings right on my project but every time I try to load the page with asp in the CMS I get the error message: An error occured: Access to the path '\\xxxx.xx.xxx.xxx.xxx\cms\PreexecuteData\' is denied. The page cannot be displayed. Check the RDExecute and PreExecute settings. I know that every time a PreExecute block is rendered in the CMS, a temp page is created in a folder in the CMS server. It seems that there is a permission problem there (?). I have never changed that physical path. Thanks! -- 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] <mailto:reddot-cms-users%[email protected]> . For more options, visit this group at http://groups.google.com/group/reddot-cms-users?hl=en. -- 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] <mailto:reddot-cms-users%[email protected]> . For more options, visit this group at http://groups.google.com/group/reddot-cms-users?hl=en. -- 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. -- 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.
