Jump to content

Import plugin from source


Recommended Posts

Hello everybody,

I have created a plugin that I sent to a Git repository.

I have installed a fresh new IPS install.

How can I import my plugin from source?

I put the plugin folder in plugins/ directory but it's not automatically detected.

Thanks!

Link to comment
Share on other sites

1 hour ago, DreamOn said:

Hello everybody,

I have created a plugin that I sent to a Git repository.

I have installed a fresh new IPS install.

How can I import my plugin from source?

I put the plugin folder in plugins/ directory but it's not automatically detected.

Thanks!

Assuming you have the plugin 's xml file, go to the Plugins section in your Admin Panel and once there click the manual upload link.

Link to comment
Share on other sites

2 hours ago, Miss_B said:

Assuming you have the plugin 's xml file, go to the Plugins section in your Admin Panel and once there click the manual upload link.

I no longer have the XML file unfortunately but I have all folders and files in my Git repository.

Is it possible?

It's amazing that IPS can't read PHP files from folder. Any PHP app can do this.

Developing with IPS is really a horror.

Link to comment
Share on other sites

How do you deal IPS plugins with git?

Even if I had the XML file, I should import plugin in ACP with XML file, copy/paste files from source to override files imported from XML and change all class names like this:

class hook50 extends _HOOK_CLASS_ {

Because when we import a plugin from XML file, hook numbers change and we need to change class name.

How is it possible that it is done like this?

Link to comment
Share on other sites

1 minute ago, Adriano Faria said:

If you have all folders with files, it’s easier and faster to create a new plugin and use what you already have. 

Thanks for the idea, but what a disaster for a developer...

We should just have to do a git clone from our IPS plugin repository and let's go, why it is so complicated with IPS...

1 minute ago, Adriano Faria said:

Copy and paste the methods. 

Seriously...

This is not how things should be done.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...