Smarty basic tutorial [edit]

This tutorial provides a very basic step by step walk-through of the Aptana Smarty Support.

To create a new Smarty template file:

Image:NewSmartyTemplate.jpg

The 'New File' wizard will appear. Set a name for the new template file.

Image:NewSmartyFileWizard.jpg

A new Smarty template Editor will appear, allowing you to start editing your newly created file.

Image:SmartyTPLEditor.jpg

Type '{' and you to trigger the Smarty content assist pop-up.

Image:SmartyBasicContentAssist.jpg

Select 'capture', for example, and you will see the 'capture' node in the Aptana outline as well as text inserted into the Smarty template editor.

Image:SmartyBasicOutline.jpg