Heavily modified add-on still wants to update
Permalink
Hey,
So I did some heavy modifications to the "Image Slider" add-on. I changed all the names of the classes, the $pkgHandle is changed. It uses a different table in the database I can have both my modified version and the original side by side with no conflict... Yet, somehow, it's still telling me there's an update available.
How does concrete identify the add-on? I know a cheap way would be to make the $pkgVersion really high, but that's a patch. I want it to be seen as a totally different package.
Thanks!
So I did some heavy modifications to the "Image Slider" add-on. I changed all the names of the classes, the $pkgHandle is changed. It uses a different table in the database I can have both my modified version and the original side by side with no conflict... Yet, somehow, it's still telling me there's an update available.
How does concrete identify the add-on? I know a cheap way would be to make the $pkgVersion really high, but that's a patch. I want it to be seen as a totally different package.
Thanks!
Thanks for the speedy reply!
Here's what I have in my controller:
protected $pkgHandle = 'my_sweet_image_slider';
protected $appVersionRequired = '5.3.2b1';
protected $pkgVersion = '0.3';
Here's what I have in my controller:
protected $pkgHandle = 'my_sweet_image_slider';
protected $appVersionRequired = '5.3.2b1';
protected $pkgVersion = '0.3';
You could try renaming the folder to my_sweet_image_slider. I noticed that sometimes C5 will look at the folder names to determine what is inside.
Hey Blenderite, thanks again for the quick reply.
It is renamed. I did a thorough search and replace to find all instances of the old name.
It is renamed. I did a thorough search and replace to find all instances of the old name.
Hmm. For now, I would probably give it a outlandish version number, something like 10.0 or something. There must be something in the files that identifies it as image slider, I just can't figure out what.
Change the 'image_slider' to something else. That looks like the most probable identifier to me.