How to load the file, which contains css, javascript and html, in the body of a specific content type?

  • The file that contains that is html.tpl.php, but why you need to load that file in a content type? What do you need to do exactly? – Jose Daniel Jun 27 '13 at 0:41

Looks like you are looking for Code per Node module:

Code per Node makes it possible to add custom CSS and Javascript per node, per content type, per block, and globally. The code is stored in the database, but served from the file system.

| improve this answer | |

Insert is a utility that makes inserting images and links to files into text areas or WYSIWYGs much easier. It adds a simple JavaScript-based button to FileField and ImageField widgets.

You can insert files inserted into text areas with a specific Content type Option.

enter image description here

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.