Required File Structure: Difference between revisions


mNo edit summary
mNo edit summary
Line 10: Line 10:
This is the required file structure for a Viviti theme.
This is the required file structure for a Viviti theme.


The file structure of a Viviti theme is slightly different than you might be used to working. The theme file itself should always be named ''default.html'' and any assets - images, js, css files, etc. should be placed in the '''/assets/''' directory. You can place sub-directories into the '''/assets/''' directory if you want to organize your files better.
The file structure of a Viviti theme is slightly different than you might be used to working with. The theme file itself should always be named ''default.html'' and any assets - images, js, css files, etc. should be placed in the '''/assets/''' directory. You can place sub-directories into the '''/assets/''' directory if you want to organize your files better.


[[Category:Creating Viviti Themes]]
[[Category:Creating Viviti Themes]]
[[Category:Advanced Topics]]
[[Category:Advanced Topics]]

Revision as of 12:03, 15 December 2009

When finished, a Viviti theme should be a ZIP file made up of the following:


File Structure Example:

    /default.html
    /assets/


This is the required file structure for a Viviti theme.

The file structure of a Viviti theme is slightly different than you might be used to working with. The theme file itself should always be named default.html and any assets - images, js, css files, etc. should be placed in the /assets/ directory. You can place sub-directories into the /assets/ directory if you want to organize your files better.