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

Extension Guidance

Development and Programming

Sky Small Projects's avatar
Sky Small Projects
10 posts
16 years ago
Sky Small Projects's avatar Sky Small Projects

Hi,

I’m in the progress of making my first extension and I believe I have successfully created all the trivial parts of the extension along with the settings function and lang file.

I figured that was a good time to stop and check whether I could see the extension appear on the extension list.

Unfortunately after numerous checks of code my extension does not appear on the list.

Am I required to completely finish the extension before I can do any testing?

Thanks

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
16 years ago
Leevi Graham's avatar Leevi Graham

Make sure that your file name is the same as your php class and that the constructor also has the same name as your class name. That should do the trick.

If worst comes to worst try downloading one of my extensions that reflects what you want to do and check out the code.

Cheers Leevi

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
16 years ago
Mark Bowen's avatar Mark Bowen

Also make sure that you have an info block near the end of the file. I could be wrong but without that then I don’t think the extension will show up in the list. I know that’s true for plugins so might be the same for extensions too.

Saying that I totally go with what Leevi said in that if you download one of his extensions then you will learn an awful lot as he is the master around here 😉

Best wishes,

Mark

       
Sky Small Projects's avatar
Sky Small Projects
10 posts
16 years ago
Sky Small Projects's avatar Sky Small Projects

Thanks for the help.

The file name and the class name were different, I did not realise this would make a difference.

All is well now.

Thanks

       

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.