Developer forum

Forum » Templates » DW 7.1 templates

DW 7.1 templates


Reply
I've noticed that Dynamicweb includes javascript, stylesheets and much more when the index.html has been parsed.

How do I disable this or at least choose which to include and not include?

I you are in doubt of what I'm speaking these template tags are placed in parsed files header:

<!--@InlineStylesheet-->
<!--@Stylesheets-->
<!--@Javascripts-->

Replies

 
Reply
Hi Michael

I don't think it's a good idea to disable the tags since you will loose a lot of functionality like JS-framework integration and Module Themes.

But I think that we, here by Dynamicweb, need to avoid loading anything from the internal stylesheets when using the new 'Layout Templates'.

I will bring this issue up for discussion ...

// Dammark
 
Reply
Hi,

But what if some unnessesary files are included?

It should be mentioned that I'm working on a portal solution where I'm integrating an eCom on a seperate language. Is there a way to affect only one langauge?

ThankQ for bringing the issue with inline styles up to discussion

Sincerely
Michael

 
Reply

No it is not possible to disable @Stylesheets, @Javascripts or @InlineStylesheet.
Not on a complete website or a single language layer.

// Sebastian

 

You must be logged in to post in the forum