Instantcart is built using the Twig templating language, a fast and clean markup language that allows you to build very powerful online stores with little programming knowledge.
To find out more about Twig, read the Twig for Template Designers article over at SensioLabs.
Instantcart uses a series of variables that call data into your template files. Some variables are global and can be used accross your site in any template file, and some are private and can only be used for a specific template.
To get a feel for how the Instantcart templates are structure, simply download our Crib Sheet PDF to help get you started. You can then visit detail support pages highlighting the schema for each page. Your can download the Crib Sheet PDF here.
IDEs Integration
Many IDEs support syntax highlighting and auto-completion for Twig:
- Textmate via the Twig bundle
- Vim via the Jinja syntax plugin or the vim-twig plugin
- Netbeans via the Twig syntax plugin (until 7.1, native as of 7.2)
- PhpStorm (native as of 2.1)
- Eclipse via the Twig plugin
- Sublime Text via the Twig bundle
- GtkSourceView via the Twig language definition (used by gedit and other projects)
- Coda and SubEthaEdit via the Twig syntax mode
- Coda 2 via the other Twig syntax mode
- Komodo and Komodo Edit via the Twig highlight/syntax check mode
- Notepad++ via the Notepad++ Twig Highlighter
- Emacs via web-mode.el
- Atom via the PHP-twig for atom
Also, TwigFiddle is an online service that allows you to execute Twig templates from a browser; it supports all versions of Twig.
Accessing your Templates
You can access your templates via FTP or directly through the Instantcart Control panel by clicking on the tempaltes tab. Please make sure you copy over the template files from a pre-made template that you like. You can then start editing this template as a base.
Comments
0 comments
Please sign in to leave a comment.