Skip to main content



      Home
Home » Language IDEs » PHP Development Tools (PDT) » PDT (LUNA) and Smarty Templates
PDT (LUNA) and Smarty Templates [message #1431684] Thu, 25 September 2014 22:29 Go to next message
Eclipse UserFriend
Has anyone managed to install the Smarty plugin into their PDT (LUNA) IDE normally?

I've got it running using JUNO files by using the following steps (sequence is important):

  1. Using Windows Explorer, delete org.eclipse.php_3.3.0.201406110111 from the features folder of the Eclipse install.
  2. In Eclipse, install both PHP packages from the Juno repository http://download.eclipse.org/releases/juno/

    • PHP Development Tools (PDT) 3.1.2.201212211235 and
    • PHP Development Tools (PDT) SDK Feature 3.1.1.201209101312

    (They are listed under a few sections, I used the last "Web, XML, Java EE and OSGi Enterprise Development"
    When you go back to the 'Eclipse Installation Details', you will not see PHP Development Tools (PDT) 3.1.2.201212211235 mentioned.
  3. Download smartypdt-0_9_1.zip from https://code.google.com/p/smartypdt/downloads/list
    Remove the two lines that refer to 'org.eclipse.php 0.0.0' (lines 36 and 134 ) in content.xml file which is contained inside content.jar.
    Follow the advice here if you need to.
    (You might also need to install the 7zip archiving program for the compressions.)
  4. In Eclipse, install the Smarty Package using the modified zip file.
  5. In Eclipse, install the 'Zend CE Features' from http://downloads.zend.com/pdt


Look forward to this getting updated as I'm not thrilled about deleting the v3.3 package.

Cheers,
Dimitri

[Updated on: Fri, 26 September 2014 07:44] by Moderator

Re: PDT (LUNA) and Smarty Templates [message #1433162 is a reply to message #1431684] Sun, 28 September 2014 05:27 Go to previous messageGo to next message
Eclipse UserFriend
PDT Extension Group provide own compilation of smartypdt [1]

When this [2] patch will be merged, you should be able to install this plugin in "normal" way

[1] - http://p2-dev.pdt-extensions.org/
[2] - https://github.com/pulse00/smartypdt/pull/2
Re: PDT (LUNA) and Smarty Templates [message #1434237 is a reply to message #1433162] Mon, 29 September 2014 17:32 Go to previous message
Eclipse UserFriend
You can try now.
Previous Topic:Configure 'Debug As' button to always run Index.php
Next Topic:Open an HTML file with no interpretation
Goto Forum:
  


Current Time: Thu Feb 27 20:39:18 EST 2025

Powered by FUDForum. Page generated in 0.03893 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top