HTML and CSS Reference
In-Depth Information
dir.css = .
dir.images = images
file.root.stylesheet = style.css
Setting the JS file delineator
WordPress or Drupal themes require you to split your markup into separate files (for
example, footer.php for WordPress or footer.tpl.php for Drupal). You need
to know in which of these files the following code is located:
<!-- scripts concatenated and minified via
build script -->
<scriptsrc="js/plugins.js"></script>
<scriptsrc="js/main.js"></script>
<!-- end scripts -->
Use that filename (for example, footer.php ) to set the file.root.page property
in the project.properties file by using the following code:
file.root.page = <name of file>
A sample Drupal and WordPress theme that contains the modified build script are
provided in the code for this chapter.
Search WWH ::




Custom Search