Hi Henry, Thank you for the help. Unfortunately, it didn't resolve the issue. Now the file isn't published because the template is empty after Tidy cleans it up.
The way we are managing the site, we have one master foundation content class and then body area classes for the containers on the foundation. The body area content class has the coldfusion on it. In smart tree, on the content class under templates, I managed the project variants and checked "Do not use Tidy", but we still get Tidy cleaning up the template. I think this is because I did not check the foundation template with "Do not use Tidy". Any ideas to help resolve this would be very great. Thank you, Jordan On Dec 24, 4:20 pm, "Henry Lu, Sun Certified Java Programmer" <[email protected]> wrote: > Jordan, > > Pre-execute block does not sound like the choice for your situation. You > want the CF code block to appear in published files but not to interfere > with your CMS page rendering. > > To achieve that, Render Tag is an ideal choice. It goes like this: > > <reddot:cms> > <if> > <query valuea="Context:CurrentRenderMode" valueb="Int:2" > operator="=="> > <htmltext> > |||||||||||||||||||| > </htmltext> > </query> > </if> > </reddot:cms> > > |||||||||||||||||||| -- the block of CF code you want to insert in the > published page. > > Of course, if your CF code is "intertwined" with the html, you may want to > check Render Tag references to utilize the escape syntax in order to get rid > of newlines or whitespace etc. > > Good luck and my regards to Roman, Elsie and Freddie. > > Henry Lu > > > > On Wed, Dec 24, 2008 at 2:38 PM, Jordan <[email protected]> wrote: > > > We have a project that I'd like to embed some ColdFusion code in the > > template in CMS. ColdFusion is running on the production machine that > > we are publishing on, but not on the RedDot CMS machine. > > > Initially Tiny kept removing the code from the page and never > > published it. > > > Then, I setup Active Templates and set CFM up and put the code in > > preexecute blocks, but now the pages won't publish because CF isn't > > running on the server. > > > Any help or insight would be greatly appreciated. > > > Thank you, > > > Jordan Salvit- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
