Zend Studio for Eclipse open tpl files Smarty

Apr 21, 2009 Author: City Hall

I am having problems opening *.tpl files for smarty template. Is this normal? If it isn't how would i go about getting smarty to work with zend studio for eclipes?


Solution :


Add tpl to HTML content type on Zend Studio For Eclipse

The smarty deafult tempalte file type named "tpl" hasn't been supported by Zend Studio for Eclipse 6.1. So, you need to setup this content type to html. the solution is the following:

1 Open Preferences
2 Click HTML in General->Appearance->Content Type
3 Add "*.tpl" to File associations
4 Click OK

views 11394
  1. Add New Comment