We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

EE2.0: how do I add a plugin/debug what went wrong?

Development and Programming

eduqate's avatar
eduqate
53 posts
16 years ago
eduqate's avatar eduqate

I took Leevi’s template info plugin and copied it to the system/expression/plugins directory. It didn’t appear in the plugins list. Looking at other plugins I noticed some code that had to be added to the usage() procedure. I did so and php -l … didn’t indicate any errors. Copied it to the directory again and it still doesn’t show up.

So: is this the right place? if not or if I did it wrong how do I add a plugin in EE2.0?, how do I see any errors which might result if I botched the edits?

       
eduqate's avatar
eduqate
53 posts
16 years ago
eduqate's avatar eduqate

FIX I needed to place it in it’s own directory in system/expressionengine/thirdparty.

I created directory lg_template_info containing pi.lg_template_info.php and it now appears in the list, hope this helps someone else.

       
Ingmar's avatar
Ingmar
29,245 posts
16 years ago
Ingmar's avatar Ingmar

Please follow the docs. You need to put your plugin in its own directory inside of system/expressionengine/third_party/.

ETA: Yes, exactly 😉

       
eduqate's avatar
eduqate
53 posts
16 years ago
eduqate's avatar eduqate
Please follow the docs. You need to put your plugin in its own directory inside of system/expressionengine/third_party/. ETA: Yes, exactly 😉

Hmmm, I looked in the developer documentation for guidance on converting plugins and missed this particular advice.

       
JohnChristianJr's avatar
JohnChristianJr
103 posts
16 years ago
JohnChristianJr's avatar JohnChristianJr

I’ve done this exactly with several plugins -Allow EECode and Wikee Display. I still am not getting them to appear in the plug-ins list in the control panel.

Is there anything else I could be doing wrong??

////////////////UPDATE:

Ok, I installed all of the plug ins from here: http://expressionengine.com/public_beta/downloads/

…and then I tried it again and it magically worked. Man… I think I’m going to have to check myself into a mental institution soon!

       
code72's avatar
code72
104 posts
16 years ago
code72's avatar code72

Ha! Yea, I needed a mental EE2.0 adjustment as well! Thanks for this post guys!

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.