ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Using JS as template?

May 06, 2011 7:05am

Subscribe [2]
  • #1 / May 06, 2011 7:05am

    Quintet

    12 posts

    Hi,

    Is it a good method to use javascript as EE template?. I read that it would slow down the pages. And also they says that it is best to keep js as files outside EE.

    Can anyone please advice me?.

    thanks in advance!!.

    have a great weekend!!.

  • #2 / May 06, 2011 6:45pm

    Brandon Jones

    5500 posts

    Hi Nishanth,

    If you have any EE tags in your script that need parsing, then yes. You can do some neat stuff that way, but if not, I just keep them outside of EE’s template system. Does that help?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases