My favorites | Sign in
Project Logo
                
Details: Show all Hide all

Last 7 days

  • Dec 12, 2009
    InstallSmartyPDT Wiki page commented on by sailboatvn   -   I finally managed to make the smarty plugin work for Eclipse for PHP Developers Build id: 20090920-1017 Clearly if you had already copy all the files to eclipse folder by mistake as I did then you need to delete those files and follow the instruction.
    I finally managed to make the smarty plugin work for Eclipse for PHP Developers Build id: 20090920-1017 Clearly if you had already copy all the files to eclipse folder by mistake as I did then you need to delete those files and follow the instruction.

Last 30 days

  • Dec 11, 2009
    issue 39 (PDT 2.0) commented on by techtonik   -   Can be closed now.
    Can be closed now.
  • Dec 11, 2009
    issue 40 (smartypdt support for pdt2) commented on by techtonik   -   can be closed now
    can be closed now
  • Dec 11, 2009
    issue 47 (highlight smarty braces the same color as smarty keywords) reported by techtonik   -   What version of the product are you using? On what operating system? 0.9.0 Please provide any additional information below. It would be more appealing if smarty functions like {if ...} were highlighted in the same bright color as braces to stand out from html markup.
    What version of the product are you using? On what operating system? 0.9.0 Please provide any additional information below. It would be more appealing if smarty functions like {if ...} were highlighted in the same bright color as braces to stand out from html markup.
  • Dec 10, 2009
    issue 17 (No possibility to change default delimeter? And extension?) commented on by mikolajj   -   Can this feature be placed in regular Preferences ?
    Can this feature be placed in regular Preferences ?
  • Dec 07, 2009
    InstallSmartyPDT Wiki page commented on by deepbluegene   -   i have just updated to aptana studio 2 and added pdt as plugin and then installed smartypdt. i noticed that smartypdt plugin does not keep syntax colors in <a> anchor link. have a look at screenshots. aptana smarty plugin [http://yfrog.com/0xaptanasmartyj] smartypdt plugin [http://yfrog.com/0xsmartypdtj]
    i have just updated to aptana studio 2 and added pdt as plugin and then installed smartypdt. i noticed that smartypdt plugin does not keep syntax colors in <a> anchor link. have a look at screenshots. aptana smarty plugin [http://yfrog.com/0xaptanasmartyj] smartypdt plugin [http://yfrog.com/0xsmartypdtj]
  • Dec 06, 2009
    InstallSmartyPDT Wiki page commented on by zhaozhongwei1984   -   hi,vbaroff you do not need to reinstall the smartypdt:) just right click on the php project,select the menu 'configure' -> 'Add Smarty Nature'.the problem is gone. this step is in another wiki.
    hi,vbaroff you do not need to reinstall the smartypdt:) just right click on the php project,select the menu 'configure' -> 'Add Smarty Nature'.the problem is gone. this step is in another wiki.
  • Dec 05, 2009
    InstallSmartyPDT Wiki page commented on by vbaroff   -   If anybody else has the problem with php editor hijacking smarty templates (.tpl files), here is how I solved it: Reason: The php editor has locked .tpl files and in Window->Preferences->General->Content Types->Text->PHP Content Type .tpl was listed among the locked type files. As a result the editor does not recognize smarty code. # Unistall Smarty feature # Go to eclipse/plugins folder and find a file named plugin.xml, containing string tpl. In my mixed Eclipse/Zend Studio instalation on Ubuntu 64-bit the file is: /usr/lib/eclipse/plugins/org.eclipse.php.core_2.2.0.v20091124-1600/plugin.xml There should be a string: file-extensions="php,php3,php4,php5,phtml,inc,phps,tpl" # So, remove tpl (and phtml, if you wish so), and the string should become: file-extensions="php,php3,php4,php5,phtml,inc,phps" # Start Eclipse with -clean option # Istall Smarty feature zhaozhongwei1984, thank you for this plugin. Perhaps you could introduce the above into your instalation procedure?
    If anybody else has the problem with php editor hijacking smarty templates (.tpl files), here is how I solved it: Reason: The php editor has locked .tpl files and in Window->Preferences->General->Content Types->Text->PHP Content Type .tpl was listed among the locked type files. As a result the editor does not recognize smarty code. # Unistall Smarty feature # Go to eclipse/plugins folder and find a file named plugin.xml, containing string tpl. In my mixed Eclipse/Zend Studio instalation on Ubuntu 64-bit the file is: /usr/lib/eclipse/plugins/org.eclipse.php.core_2.2.0.v20091124-1600/plugin.xml There should be a string: file-extensions="php,php3,php4,php5,phtml,inc,phps,tpl" # So, remove tpl (and phtml, if you wish so), and the string should become: file-extensions="php,php3,php4,php5,phtml,inc,phps" # Start Eclipse with -clean option # Istall Smarty feature zhaozhongwei1984, thank you for this plugin. Perhaps you could introduce the above into your instalation procedure?
  • Dec 05, 2009
    InstallSmartyPDT Wiki page commented on by vbaroff   -   If anybody else has the problem with php editor hijacking smarty templates (.tpl files), here is how I solved it: Reason: The php editor has locked .tpl files and in Window->Preferences->General->Content Types->Text->PHP Content Type .tpl was listed among the locked type files. As a result the editor does not recognize smarty code. # Unistall Smarty feature # Go to eclipse/plugins folder and find a file named plugin.xml, containing string tpl. In my mixed Eclipse/Zend Studio instalation on Ubuntu 64-bit the file is: /usr/lib/eclipse/plugins/org.eclipse.php.core_2.2.0.v20091124-1600/plugin.xml There should be a string: file-extensions="php,php3,php4,php5,phtml,inc,phps,tpl" # So, remove tpl (and phtml, if you wish so), and the string should become: file-extensions="php,php3,php4,php5,phtml,inc,phps" # Start Eclipse with -clean option # Istall Smarty feature zhaozhongwei1984, thank you for this plugin. Perhaps you could introduce the above into your instalation procedure?
    If anybody else has the problem with php editor hijacking smarty templates (.tpl files), here is how I solved it: Reason: The php editor has locked .tpl files and in Window->Preferences->General->Content Types->Text->PHP Content Type .tpl was listed among the locked type files. As a result the editor does not recognize smarty code. # Unistall Smarty feature # Go to eclipse/plugins folder and find a file named plugin.xml, containing string tpl. In my mixed Eclipse/Zend Studio instalation on Ubuntu 64-bit the file is: /usr/lib/eclipse/plugins/org.eclipse.php.core_2.2.0.v20091124-1600/plugin.xml There should be a string: file-extensions="php,php3,php4,php5,phtml,inc,phps,tpl" # So, remove tpl (and phtml, if you wish so), and the string should become: file-extensions="php,php3,php4,php5,phtml,inc,phps" # Start Eclipse with -clean option # Istall Smarty feature zhaozhongwei1984, thank you for this plugin. Perhaps you could introduce the above into your instalation procedure?
  • Dec 05, 2009
    InstallSmartyPDT Wiki page commented on by vbaroff   -   If anybody else has the problem with php editor hijacking smarty templates (.tpl files), here is how I solved it: Reason: The php editor has locked .tpl files and in Window->Preferences->General->Content Types->Text->PHP Content Type .tpl was listed among the locked type files. As a result the editor does not recognize smarty code. # Unistall Smarty feature # Go to eclipse/plugins folder and find a file named plugin.xml, containing string tpl. In my mixed Eclipse/Zend Studio instalation on Ubuntu 64-bit the file is: /usr/lib/eclipse/plugins/org.eclipse.php.core_2.2.0.v20091124-1600/plugin.xml There should be a string: file-extensions="php,php3,php4,php5,phtml,inc,phps,tpl" # So, remove tpl (and phtml, if you wish so), and the string should become: file-extensions="php,php3,php4,php5,phtml,inc,phps" # Start Eclipse with -clean option # Istall Smarty feature zhaozhongwei1984, thank you for this plugin. Perhaps you could introduce the above into your instalation procedure?
    If anybody else has the problem with php editor hijacking smarty templates (.tpl files), here is how I solved it: Reason: The php editor has locked .tpl files and in Window->Preferences->General->Content Types->Text->PHP Content Type .tpl was listed among the locked type files. As a result the editor does not recognize smarty code. # Unistall Smarty feature # Go to eclipse/plugins folder and find a file named plugin.xml, containing string tpl. In my mixed Eclipse/Zend Studio instalation on Ubuntu 64-bit the file is: /usr/lib/eclipse/plugins/org.eclipse.php.core_2.2.0.v20091124-1600/plugin.xml There should be a string: file-extensions="php,php3,php4,php5,phtml,inc,phps,tpl" # So, remove tpl (and phtml, if you wish so), and the string should become: file-extensions="php,php3,php4,php5,phtml,inc,phps" # Start Eclipse with -clean option # Istall Smarty feature zhaozhongwei1984, thank you for this plugin. Perhaps you could introduce the above into your instalation procedure?
  • Dec 05, 2009
    InstallSmartyPDT Wiki page commented on by vbaroff   -   If anybody else has the problem with php editor hijacking smarty templates (.tpl files), here is how I solved it: Reason: The php editor has locked .tpl files and in Window->Preferences->General->Content Types->Text->PHP Content Type .tpl was listed among the locked type files. As a result the editor does not recognize smarty code. #. Unistall Smarty feature #. Go to eclipse/plugins folder and find a file named plugin.xml, containing string tpl. In my mixed Eclipse/Zend Studio instalation on Ubuntu 64-bit the file is: /usr/lib/eclipse/plugins/org.eclipse.php.core_2.2.0.v20091124-1600/plugin.xml There should be a string: file-extensions="php,php3,php4,php5,phtml,inc,phps,tpl" #. So, remove tpl (and phtml, if you wish so), and the string should become: file-extensions="php,php3,php4,php5,phtml,inc,phps" #. Start Eclipse with -clean option #. Istall Smarty feature zhaozhongwei1984, thank you for this plugin. Perhaps you could introduce the above into your instalation procedure?
    If anybody else has the problem with php editor hijacking smarty templates (.tpl files), here is how I solved it: Reason: The php editor has locked .tpl files and in Window->Preferences->General->Content Types->Text->PHP Content Type .tpl was listed among the locked type files. As a result the editor does not recognize smarty code. #. Unistall Smarty feature #. Go to eclipse/plugins folder and find a file named plugin.xml, containing string tpl. In my mixed Eclipse/Zend Studio instalation on Ubuntu 64-bit the file is: /usr/lib/eclipse/plugins/org.eclipse.php.core_2.2.0.v20091124-1600/plugin.xml There should be a string: file-extensions="php,php3,php4,php5,phtml,inc,phps,tpl" #. So, remove tpl (and phtml, if you wish so), and the string should become: file-extensions="php,php3,php4,php5,phtml,inc,phps" #. Start Eclipse with -clean option #. Istall Smarty feature zhaozhongwei1984, thank you for this plugin. Perhaps you could introduce the above into your instalation procedure?
  • Dec 05, 2009
    InstallSmartyPDT Wiki page commented on by vbaroff   -   If anybody else has the problem with php editor hijacking smarty templates (.tpl files), here is how I solved it: Reason: The php editor has locked .tpl files and in Window->Preferences->General->Content Types->Text->PHP Content Type .tpl was listed among the locked type files. As a result the editor does not recognize smarty code. #1. Unistall Smarty feature #2. Go to eclipse/plugins folder and find a file named plugin.xml, containing string tpl. In my mixed Eclipse/Zend Studio instalation on Ubuntu 64-bit the file is: /usr/lib/eclipse/plugins/org.eclipse.php.core_2.2.0.v20091124-1600/plugin.xml There should be a string: file-extensions="php,php3,php4,php5,phtml,inc,phps,tpl" #3. So, remove tpl (and phtml, if you wish so), and the string should become: file-extensions="php,php3,php4,php5,phtml,inc,phps" #4. Start Eclipse with -clean option #5. Istall Smarty feature zhaozhongwei1984, thank you for this plugin. Perhaps you could introduce the above into your instalation procedure?
    If anybody else has the problem with php editor hijacking smarty templates (.tpl files), here is how I solved it: Reason: The php editor has locked .tpl files and in Window->Preferences->General->Content Types->Text->PHP Content Type .tpl was listed among the locked type files. As a result the editor does not recognize smarty code. #1. Unistall Smarty feature #2. Go to eclipse/plugins folder and find a file named plugin.xml, containing string tpl. In my mixed Eclipse/Zend Studio instalation on Ubuntu 64-bit the file is: /usr/lib/eclipse/plugins/org.eclipse.php.core_2.2.0.v20091124-1600/plugin.xml There should be a string: file-extensions="php,php3,php4,php5,phtml,inc,phps,tpl" #3. So, remove tpl (and phtml, if you wish so), and the string should become: file-extensions="php,php3,php4,php5,phtml,inc,phps" #4. Start Eclipse with -clean option #5. Istall Smarty feature zhaozhongwei1984, thank you for this plugin. Perhaps you could introduce the above into your instalation procedure?
  • Dec 05, 2009
    InstallSmartyPDT Wiki page commented on by vbaroff   -   If anybody else has the problem with php editor hijacking smarty templates (.tpl files), here is how I solved it: Reason: The php editor has locked .tpl files and in Window->Preferences->General->Content Types->Text->PHP Content Type .tpl was listed among the locked type files. 1. Unistall Smarty feature 2. Go to eclipse/plugins folder and find a file named plugin.xml, containing string tpl. In my mixed Eclipse/Zend Studio instalation on Ubuntu 64-bit the file is: /usr/lib/eclipse/plugins/org.eclipse.php.core_2.2.0.v20091124-1600/plugin.xml There should be a string: file-extensions="php,php3,php4,php5,phtml,inc,phps,tpl" 3. So, remove tpl (and phtml, if you wish so), and the string should become: file-extensions="php,php3,php4,php5,phtml,inc,phps" 4. Start Eclipse with -clean option 5. Istall Smarty feature
    If anybody else has the problem with php editor hijacking smarty templates (.tpl files), here is how I solved it: Reason: The php editor has locked .tpl files and in Window->Preferences->General->Content Types->Text->PHP Content Type .tpl was listed among the locked type files. 1. Unistall Smarty feature 2. Go to eclipse/plugins folder and find a file named plugin.xml, containing string tpl. In my mixed Eclipse/Zend Studio instalation on Ubuntu 64-bit the file is: /usr/lib/eclipse/plugins/org.eclipse.php.core_2.2.0.v20091124-1600/plugin.xml There should be a string: file-extensions="php,php3,php4,php5,phtml,inc,phps,tpl" 3. So, remove tpl (and phtml, if you wish so), and the string should become: file-extensions="php,php3,php4,php5,phtml,inc,phps" 4. Start Eclipse with -clean option 5. Istall Smarty feature
  • Dec 05, 2009
    InstallSmartyPDT Wiki page commented on by vbaroff   -   If anybody else has the problem with php editor hijacking smarty templates (.tpl files), here is how I solved it: Reason: The php editor has locked \*.tpl files and in Window->Preferences->General->Content Types->Text->PHP Content Type \*.tpl was listed among the locked type files. 1. Unistall Smarty feature 2. Go to eclipse/plugins folder and find a file named plugin.xml, containing string tpl. In my mixed Eclipse/Zend Studio instalation on Ubuntu 64-bit the file is: /usr/lib/eclipse/plugins/org.eclipse.php.core_2.2.0.v20091124-1600/plugin.xml There should be a string: file-extensions="php,php3,php4,php5,phtml,inc,phps,tpl" 3. So, remove tpl (and phtml, if you wish so), and the string should become: file-extensions="php,php3,php4,php5,phtml,inc,phps" 4. Start Eclipse with -clean option 5. Istall Smarty feature
    If anybody else has the problem with php editor hijacking smarty templates (.tpl files), here is how I solved it: Reason: The php editor has locked \*.tpl files and in Window->Preferences->General->Content Types->Text->PHP Content Type \*.tpl was listed among the locked type files. 1. Unistall Smarty feature 2. Go to eclipse/plugins folder and find a file named plugin.xml, containing string tpl. In my mixed Eclipse/Zend Studio instalation on Ubuntu 64-bit the file is: /usr/lib/eclipse/plugins/org.eclipse.php.core_2.2.0.v20091124-1600/plugin.xml There should be a string: file-extensions="php,php3,php4,php5,phtml,inc,phps,tpl" 3. So, remove tpl (and phtml, if you wish so), and the string should become: file-extensions="php,php3,php4,php5,phtml,inc,phps" 4. Start Eclipse with -clean option 5. Istall Smarty feature
  • Dec 05, 2009
    InstallSmartyPDT Wiki page commented on by vbaroff   -   If anybody else has the problem with php editor hijacking smarty templates (.tpl files), here is how I solved it: Reason: The php editor has locked *.tpl files and in Window->Preferences->General->Content Types->Text->PHP Content Type *.tpl was listed among the locked type files. 1. Unistall Smarty feature 2. Go to eclipse/plugins folder and find a file named plugin.xml, containing string tpl. In my mixed Eclipse/Zend Studio instalation on Ubuntu 64-bit the file is: /usr/lib/eclipse/plugins/org.eclipse.php.core_2.2.0.v20091124-1600/plugin.xml There should be a string: file-extensions="php,php3,php4,php5,phtml,inc,phps,tpl" 3. So, remove tpl (and phtml, if you wish so), and the string should become: file-extensions="php,php3,php4,php5,phtml,inc,phps" 4. Start Eclipse with -clean option 5. Istall Smarty feature
    If anybody else has the problem with php editor hijacking smarty templates (.tpl files), here is how I solved it: Reason: The php editor has locked *.tpl files and in Window->Preferences->General->Content Types->Text->PHP Content Type *.tpl was listed among the locked type files. 1. Unistall Smarty feature 2. Go to eclipse/plugins folder and find a file named plugin.xml, containing string tpl. In my mixed Eclipse/Zend Studio instalation on Ubuntu 64-bit the file is: /usr/lib/eclipse/plugins/org.eclipse.php.core_2.2.0.v20091124-1600/plugin.xml There should be a string: file-extensions="php,php3,php4,php5,phtml,inc,phps,tpl" 3. So, remove tpl (and phtml, if you wish so), and the string should become: file-extensions="php,php3,php4,php5,phtml,inc,phps" 4. Start Eclipse with -clean option 5. Istall Smarty feature
  • Dec 04, 2009
    InstallSmartyPDT Wiki page commented on by matei.dragu   -   ok, I will try to explain this the best I can: the Smarty Template Engine (at least the 2.6.x branch) is designed as a big PHP Class, and as all the PHP classes it has members(variables) and methods(functions). The left and right delimiters are configured using 2 public members of the Smarty base class (in this example I am using the default values): {{{ $smartyInstanceObject = new Smarty(); $smartyInstanceObject->left_delimiter = '{'; $smartyInstanceObject->right_delimiter = '}'; }}} Now, there are 2 potential issues: 1. The smarty class can be extended in order to create a personalized configuration for that class, and this is explained in this page from the Smarty official documentation: http://www.smarty.net/manual/en/installing.smarty.extended.php 2. The Smarty initialization could be made anywhere, so the smartypdt should be able to find that initialization/configuration.... If you could make this automated configuration for smartypdt it would be great, BUT I still think that manual setup should be available, as I said in an earlier comment: who knows, maybe someone just has to open once a template file to edit a few lines, or some other related scenario.
    ok, I will try to explain this the best I can: the Smarty Template Engine (at least the 2.6.x branch) is designed as a big PHP Class, and as all the PHP classes it has members(variables) and methods(functions). The left and right delimiters are configured using 2 public members of the Smarty base class (in this example I am using the default values): {{{ $smartyInstanceObject = new Smarty(); $smartyInstanceObject->left_delimiter = '{'; $smartyInstanceObject->right_delimiter = '}'; }}} Now, there are 2 potential issues: 1. The smarty class can be extended in order to create a personalized configuration for that class, and this is explained in this page from the Smarty official documentation: http://www.smarty.net/manual/en/installing.smarty.extended.php 2. The Smarty initialization could be made anywhere, so the smartypdt should be able to find that initialization/configuration.... If you could make this automated configuration for smartypdt it would be great, BUT I still think that manual setup should be available, as I said in an earlier comment: who knows, maybe someone just has to open once a template file to edit a few lines, or some other related scenario.
  • Dec 04, 2009
    issue 13 (PHP executable error) commented on by tishma   -   It appears that SmartyPDT relies on ZendDebugger. To set the default PHP executable for ZendDebugger: 1. Go to Window/Preferences/PHP/PHP Executables. 2. Click Add and provide a descriptive name, then navigate to select php.exe and php.ini file on your system. 3. In PHP Debugger box select ZendDebugger. 4. Click Finish The Error message will go away. Cheers v.
    It appears that SmartyPDT relies on ZendDebugger. To set the default PHP executable for ZendDebugger: 1. Go to Window/Preferences/PHP/PHP Executables. 2. Click Add and provide a descriptive name, then navigate to select php.exe and php.ini file on your system. 3. In PHP Debugger box select ZendDebugger. 4. Click Finish The Error message will go away. Cheers v.
  • Dec 03, 2009
    InstallSmartyPDT Wiki page commented on by zhaozhongwei1984   -   thanks to matei.dragu and h.vorragend. i think the delimiters must be configured somewhere to let smarty to know you have change the default delimiters,if so where is it?this is a question about smarty:) so mabye i could use that configuration instead users reconfigure the delimiters once more.
    thanks to matei.dragu and h.vorragend. i think the delimiters must be configured somewhere to let smarty to know you have change the default delimiters,if so where is it?this is a question about smarty:) so mabye i could use that configuration instead users reconfigure the delimiters once more.
  • Dec 03, 2009
    InstallSmartyPDT Wiki page commented on by h.vorragend   -   Thank you very much for developing this plugin. I am a developer of the Zikula Application Framework. And we are using the following delimiter: {{{ <!--[if]--> }}} It would be absolutely great, if the template designer now could use with your plugin Eclipse. So far, it failed in the delimiters and the highlighting.
    Thank you very much for developing this plugin. I am a developer of the Zikula Application Framework. And we are using the following delimiter: {{{ <!--[if]--> }}} It would be absolutely great, if the template designer now could use with your plugin Eclipse. So far, it failed in the delimiters and the highlighting.
  • Dec 03, 2009
    issue 5 (Smarty code in HTML attributes is not recognized (hilighted)) commented on by matei.dragu   -   yeah, eventually the smarty tags inside attributes could be in italics, to amphasize the fact that the smarty tag is inside an attribute or sth, ex: {if $variableInSmartyTagNormalFont eq 'normalFont'} <a href="{$fromTheLeftToTheRightDelimiterDisplayItalic}">#</a> {/if}
    yeah, eventually the smarty tags inside attributes could be in italics, to amphasize the fact that the smarty tag is inside an attribute or sth, ex: {if $variableInSmartyTagNormalFont eq 'normalFont'} <a href="{$fromTheLeftToTheRightDelimiterDisplayItalic}">#</a> {/if}
  • Dec 03, 2009
    issue 5 (Smarty code in HTML attributes is not recognized (hilighted)) commented on by h.vorragend   -   I would prefer this, too.
    I would prefer this, too.
  • Dec 03, 2009
    InstallSmartyPDT Wiki page commented on by matei.dragu   -   Hello zhaozhongwei1984! The basic ideea is that Smarty allows you to change the start and end delimiters of it's template tags. For example `{ -> ((*` `} -> ;;^]`` So {{{ {assign var='value'} }}} would become {{{ ((*assign var='value';;^] }}} That is just a silly example, but it demonstrates my idea. And the scope would basically be all the php projects and a certain php project, but I think it would be best if there would be an option to change the default start/end delimiters even for individual files... who knows, maybe someone just has to open once a template file to edit a few lines, or some other related scenario. So, to state this more clearly, the more flexible the scope, the better.
    Hello zhaozhongwei1984! The basic ideea is that Smarty allows you to change the start and end delimiters of it's template tags. For example `{ -> ((*` `} -> ;;^]`` So {{{ {assign var='value'} }}} would become {{{ ((*assign var='value';;^] }}} That is just a silly example, but it demonstrates my idea. And the scope would basically be all the php projects and a certain php project, but I think it would be best if there would be an option to change the default start/end delimiters even for individual files... who knows, maybe someone just has to open once a template file to edit a few lines, or some other related scenario. So, to state this more clearly, the more flexible the scope, the better.
  • Dec 01, 2009
    InstallSmartyPDT Wiki page commented on by zhaozhongwei1984   -   hi, xapeiron thanks for your comment i will fix this then:)
    hi, xapeiron thanks for your comment i will fix this then:)
  • Dec 01, 2009
    usingpdtsmarty Wiki page commented on by kelta...@gmail.com   -   It would be good to use SmartyPDT for files with the extension *. html Best regards, Nikolas Ermin
    It would be good to use SmartyPDT for files with the extension *. html Best regards, Nikolas Ermin
  • Dec 01, 2009
    InstallSmartyPDT Wiki page commented on by xapeiron   -   The plugin looks great, but I cannot figure out, how to enable the plugin for another filetypes, then *.tpl or *.template (for example *.phtml). If I try to add new Content Type to Smarty Template and File association for *.phtml, icons in File View shows Smarty filetype. But syntax highlighting or code completion doesn't work. The file is opened as ordinary HTML file. Oh, and thanks for developing this plugin. I was really missing this feature in PDT.
    The plugin looks great, but I cannot figure out, how to enable the plugin for another filetypes, then *.tpl or *.template (for example *.phtml). If I try to add new Content Type to Smarty Template and File association for *.phtml, icons in File View shows Smarty filetype. But syntax highlighting or code completion doesn't work. The file is opened as ordinary HTML file. Oh, and thanks for developing this plugin. I was really missing this feature in PDT.
  • Nov 30, 2009
    InstallSmartyPDT Wiki page commented on by zhaozhongwei1984   -   hi,h.vorragend, s.krause, matei.dragu i am the developer of this project,but i know little about smarty. do you want to define a delimiters instead of the inner "{}"? and what is the scope of the user defined delimiters. all php project? some php project? or a special tpl file? and thanks for your attentions for smartypdt!
    hi,h.vorragend, s.krause, matei.dragu i am the developer of this project,but i know little about smarty. do you want to define a delimiters instead of the inner "{}"? and what is the scope of the user defined delimiters. all php project? some php project? or a special tpl file? and thanks for your attentions for smartypdt!
  • Nov 30, 2009
    issue 46 (NetBeans support) reported by klinkov   -   What about NetBeans support?
    What about NetBeans support?
  • Nov 30, 2009
    issue 34 (Can't change syntax coloring) commented on by matei.dragu   -   version 0.9.0, this feature still doesn't exists
    version 0.9.0, this feature still doesn't exists
  • Nov 30, 2009
    issue 34 (Can't change syntax coloring) commented on by matei.dragu   -   version 0.9.0, this feature still exists
    version 0.9.0, this feature still exists
  • Nov 30, 2009
    issue 25 (Syntax highlighting smarty comments) commented on by matei.dragu   -   in version 0.9.0 I found the same behaviour described by shajinder: Also, multiline-comments are broken, for example: {* line1 * line 2 *} normal, uncommented line The closing comment tag is ignored, "normal, uncommented line" is treated as a part of a comment, an all the following lines as well.
    in version 0.9.0 I found the same behaviour described by shajinder: Also, multiline-comments are broken, for example: {* line1 * line 2 *} normal, uncommented line The closing comment tag is ignored, "normal, uncommented line" is treated as a part of a comment, an all the following lines as well.
  • Nov 30, 2009
    issue 5 (Smarty code in HTML attributes is not recognized (hilighted)) commented on by matei.dragu   -   This issue is still present in SmartyPDT verson 0.9.0. Just as an opinion, this issue should have a higher priority, but, I repeat, that is just my personal point of view.
    This issue is still present in SmartyPDT verson 0.9.0. Just as an opinion, this issue should have a higher priority, but, I repeat, that is just my personal point of view.
  • Nov 30, 2009
    InstallSmartyPDT Wiki page commented on by matei.dragu   -   I looked into the Eclipse preferences/settings after installing PDT and didn't find anything regarding the delimiters. Maybe one of the developers could tell us if the option is there or not, and if it isn't, if there are plans to include such a feature in a future release of smartypdt. By the way, is there a roadmap regarding this project ? Anyway, great job with this plugin!
    I looked into the Eclipse preferences/settings after installing PDT and didn't find anything regarding the delimiters. Maybe one of the developers could tell us if the option is there or not, and if it isn't, if there are plans to include such a feature in a future release of smartypdt. By the way, is there a roadmap regarding this project ? Anyway, great job with this plugin!
  • Nov 27, 2009
    InstallSmartyPDT Wiki page commented on by s.kra...@bergmeister-kunstschmiede.de   -   Thank for the new plugin - it works propertly well but like "h.vorragend" I will ask after about posibility to change the delimiter How can we do that?
    Thank for the new plugin - it works propertly well but like "h.vorragend" I will ask after about posibility to change the delimiter How can we do that?
  • Nov 25, 2009
    InstallSmartyPDT Wiki page edited by ganoro   -   Revision r105 Edited wiki page through web user interface.
    Revision r105 Edited wiki page through web user interface.
  • Nov 25, 2009
    InstallSmartyPDT Wiki page edited by ganoro   -   Revision r104 Edited wiki page through web user interface.
    Revision r104 Edited wiki page through web user interface.
  • Nov 25, 2009
    InstallSmartyPDT Wiki page edited by ganoro   -   Revision r103 Edited wiki page through web user interface.
    Revision r103 Edited wiki page through web user interface.
  • Nov 25, 2009
    InstallSmartyPDT Wiki page edited by ganoro   -   Revision r102 Edited wiki page through web user interface.
    Revision r102 Edited wiki page through web user interface.
  • Nov 25, 2009
    InstallSmartyPDT Wiki page commented on by matei.dragu   -   Oh, i totally forgot to explain how to get rid of the notice about "Didn't find the default PHP executable, please define a default PHP executable of type 'Zend Debugger'", my bad. So, as far as I know, in order to get rid of that notice you should have PHP installed on your local computer. In Eclipse go to Window->Preferences->PHP->PHP Executables Click on the Add button. Enter a name for that executable definition, for example "PHP localhost", complete the 2 fields which ask you for the PHP executable path (the PHP binary CLI executable) and php.ini path. Be sure that the PHP debugger is the Zend Debugger. If this will be the first definition (the first record in the list), it will be set as the default one. After you add this, close the Preferences window and everything should be OK and the notice gone. Did it help ?
    Oh, i totally forgot to explain how to get rid of the notice about "Didn't find the default PHP executable, please define a default PHP executable of type 'Zend Debugger'", my bad. So, as far as I know, in order to get rid of that notice you should have PHP installed on your local computer. In Eclipse go to Window->Preferences->PHP->PHP Executables Click on the Add button. Enter a name for that executable definition, for example "PHP localhost", complete the 2 fields which ask you for the PHP executable path (the PHP binary CLI executable) and php.ini path. Be sure that the PHP debugger is the Zend Debugger. If this will be the first definition (the first record in the list), it will be set as the default one. After you add this, close the Preferences window and everything should be OK and the notice gone. Did it help ?
  • Nov 25, 2009
    InstallSmartyPDT Wiki page commented on by h.vorragend   -   Great instructions. And do you know if it is possible to change the delimiter?
    Great instructions. And do you know if it is possible to change the delimiter?
  • Nov 25, 2009
    InstallSmartyPDT Wiki page commented on by n.kondratek   -   Hi, I install SmartyPDT from the matei.dragu 's method. It's good, but in tpl files, eclipse say : "Didn't find the default PHP executable, please define a default PHP executable of type 'Zend Debugger'" Can you help me ? Thanks.
    Hi, I install SmartyPDT from the matei.dragu 's method. It's good, but in tpl files, eclipse say : "Didn't find the default PHP executable, please define a default PHP executable of type 'Zend Debugger'" Can you help me ? Thanks.
  • Nov 25, 2009
    InstallSmartyPDT Wiki page commented on by matei.dragu   -   You requested info about how to install SmartyPDT 0.9.0 on Galileo, so i will try to explain the steps: 1. Download smartypdt 0.9.0 from http://smartypdt.googlecode.com/files/smartypdt-0_9_0.zip 2. Be shure that the .TPL files are not associated with any content type (file type). In Eclipse, go to Window->Preferences->General->Content Types and under the Text section check HTML and PHP Content Type If you see that the .TPL is associated with anything, just delete those entries. 3. Go to Help-> Install New Software At the Work With section click on the Add... button. Give the new "Site" a name and click on Archive... and select the downloaded .ZIP archive with smartypdt. Go back to the Install New Software window and select the newly added "site". If the "Group items by category" checkbox is checked, uncheck it. Now you should be able to see 1 item in the software list named "Smarty Feature" 4. Select the Smarty Feature, click Next> and from here afterwards it shouldn't be a problem. If you are prompted that this is an unsigned package, just ignore the warning and install it anyway. 5. After the installation completes, restart Eclipse and it should be working. I hope this helped.
    You requested info about how to install SmartyPDT 0.9.0 on Galileo, so i will try to explain the steps: 1. Download smartypdt 0.9.0 from http://smartypdt.googlecode.com/files/smartypdt-0_9_0.zip 2. Be shure that the .TPL files are not associated with any content type (file type). In Eclipse, go to Window->Preferences->General->Content Types and under the Text section check HTML and PHP Content Type If you see that the .TPL is associated with anything, just delete those entries. 3. Go to Help-> Install New Software At the Work With section click on the Add... button. Give the new "Site" a name and click on Archive... and select the downloaded .ZIP archive with smartypdt. Go back to the Install New Software window and select the newly added "site". If the "Group items by category" checkbox is checked, uncheck it. Now you should be able to see 1 item in the software list named "Smarty Feature" 4. Select the Smarty Feature, click Next> and from here afterwards it shouldn't be a problem. If you are prompted that this is an unsigned package, just ignore the warning and install it anyway. 5. After the installation completes, restart Eclipse and it should be working. I hope this helped.
  • Nov 25, 2009
    InstallSmartyPDT Wiki page commented on by matei.dragu   -   You requested info about how to install SmartyPDT 0.9.0 on Galileo, so i will try to explain the steps: 1. Download smartypdt 0.9.0 from http://smartypdt.googlecode.com/files/smartypdt-0_9_0.zip 2. Be shure that the .TPL files are not associated with any content type [file type]. In Eclipse, go to Window->Preferences->General->Content Types and under the Text section check HTML and PHP Content Type If you see that the .TPL is associated with anything, just delete those entries. 3. Go to Help-> Install New Software At the Work With section click on [Add...] button. Give the new "Site" a name and click on [Archive...] and select the downloaded .ZIP archive with smartypdt. Go back to the Install New Software window and select the newly added "site". If the "Group items by category" checkbox is checked, uncheck it. Now you should be able to see 1 item in the software list named "Smarty Feature" 4. Select the Smarty Feature, click [Next >] and from here afterwards it shouldn't be a problem. If you are prompted that this is an unsigned package, just ignore the warning and install it anyway. 5. After the installation completes, restart Eclipse and it should be working. I hope this helped.
    You requested info about how to install SmartyPDT 0.9.0 on Galileo, so i will try to explain the steps: 1. Download smartypdt 0.9.0 from http://smartypdt.googlecode.com/files/smartypdt-0_9_0.zip 2. Be shure that the .TPL files are not associated with any content type [file type]. In Eclipse, go to Window->Preferences->General->Content Types and under the Text section check HTML and PHP Content Type If you see that the .TPL is associated with anything, just delete those entries. 3. Go to Help-> Install New Software At the Work With section click on [Add...] button. Give the new "Site" a name and click on [Archive...] and select the downloaded .ZIP archive with smartypdt. Go back to the Install New Software window and select the newly added "site". If the "Group items by category" checkbox is checked, uncheck it. Now you should be able to see 1 item in the software list named "Smarty Feature" 4. Select the Smarty Feature, click [Next >] and from here afterwards it shouldn't be a problem. If you are prompted that this is an unsigned package, just ignore the warning and install it anyway. 5. After the installation completes, restart Eclipse and it should be working. I hope this helped.
  • Nov 25, 2009
    InstallSmartyPDT Wiki page commented on by matei.dragu   -   I saw it now, I didn't look at the downloads section, my mistake. Just as a suggestion: shouldn't this new version be put at the Featured Downloads section on the project homepage? I mean... I suppose that more people will think, as I did, that nothing new happened [a new version] regarding this project.
    I saw it now, I didn't look at the downloads section, my mistake. Just as a suggestion: shouldn't this new version be put at the Featured Downloads section on the project homepage? I mean... I suppose that more people will think, as I did, that nothing new happened [a new version] regarding this project.
  • Nov 25, 2009
    InstallSmartyPDT Wiki page commented on by matei.dragu   -   Ishelper, is there a 0.9 version of smartypdt? if so, where could it be downloaded ? Thanks!
    Ishelper, is there a 0.9 version of smartypdt? if so, where could it be downloaded ? Thanks!
  • Nov 25, 2009
    InstallSmartyPDT Wiki page commented on by matei.dragu   -   ia there a 0.9 version ???
    ia there a 0.9 version ???
  • Nov 25, 2009
    smartypdt-0_9_0.zip (smartypdt 0.9.0 support pdt 2.2.0(new)) file uploaded by zhaozhongwei1984
  • Nov 25, 2009
    r101 ([No log message]) committed by zhaozhongwei1984   -   [No log message]
    [No log message]
  • Nov 24, 2009
    r100 ([No log message]) committed by zhaozhongwei1984   -   [No log message]
    [No log message]
  • Nov 24, 2009
    r99 ([No log message]) committed by zhaozhongwei1984   -   [No log message]
    [No log message]
 
Hosted by Google Code