Jordan,

One would think that RedDot has figured that out -- once you turn on Nav
Manager the long form render tags ought to be exempt from tidy clean-up.
Guess its too much to ask so you the developer now have to honor of
configuring tidy to accept render tags.

When I dropped by your office I noticed that Freddie was using either
Homesite or DW. Those tools ship with tidy in it so you can find tidy.exe in
the relevant directory and run tidy on the command line:

tidy -config your_config.file your_template.html

Tidy will show you what is bothering it. Add those render tags in the config
file:

new-inline-tags:reddot:cms,if,query ....

And run tidy till it stops complaining. Now go back to your project and edit
the project variant setting to use the edited config for tidy.

Hope that help and have a Happy New Year!

Henry Lu

On Tue, Dec 30, 2008 at 1:08 PM, Jordan <[email protected]> wrote:

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

Reply via email to