To avoid these issues I highly recommend this:
http://www.reddotcmsblog.com/5-template-tips-how-to-use-html-and-css-within-reddot-cms-best-practice-for-reddot-consultants
and that:
http://www.reddotcmsblog.com/7-reasons-not-to-integrate-css-into-reddot-cms-a-best-practice

Kee your CSS & JS outside of the CMS, it's simply not worth the
hassle..

Cheers,
Markus
www.reddotcmsblog.com

On 6 Mai, 03:57, brydz24 <[email protected]> wrote:
> This problem exists for the same reason CSS does not render in
> Firefox.. It is because the JS renders as ioRD.asp?blahblahblah, to
> where the mime type is not enough to make the JS render correctly
>
> The Edit Properties screen inside the Templates node for the Content
> Class there is a setting called:
>
> "Insert Placeholder for page in container"
>
> Check this box for the template containing the JS, and then connect
> this template (which has the JS) to the container.
>
> Then you will have to set this to only appear in Smart Edit and
> preview as there will be publishing issues trying to publish the JS
> out of the container
>
> Here is a snippet to use an anchor for the JS on publish, and then to
> use the container in SE and preview
>
> <reddot:cms><if><query valuea="Context:CurrentRenderMode"
> operator="==" valueb="Int:2"><htmltext><script type="text/javascript"
> src="<%anc_top_nav_js%>"></script></htmltext></query></if></
> reddot:cms>
> <reddot:cms><if><query valuea="Context:CurrentRenderMode" operator="!
> =" valueb="Int:2"><htmltext><script type="text/javascript" src="<
> %con_top_nav_js%>"></script></htmltext></query></if></reddot:cms>
>
> What happens is reddot will generate a temporary file named
> RDTEMP_[login_guid]_[page_guid].js.
> On May 5, 6:27 am, Pawan <[email protected]> wrote:
>
>
>
>
>
> > Hi Santhosh,
>
> > Reddot CMS gives problem in using JS files in smart edit mode when
> > they are created as a content class and referred in page through an
> > anchor, like below:
>
> > <script type="text/javascript" src="<%anc_jsFAQ%>"></script>
>
> > as a solution we add JS files as:
>
> > <script type="text/javascript" src="<%med_sifr_js%>"></script>
>
> > where this media placeholder contains the JS file as an Asset.
>
> > Hope it solves your problem.
>
> > Regards
> > Pawan
>
> > --
> > 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 
> > athttp://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 
> athttp://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.

Reply via email to