Forum

Isolated module
 
Notifications
Retirer tout

Isolated module

3 Posts
2 Utilisateurs
0 Reactions
4,265 Vu
(@godzinho31)
Posts: 2
New Member
Début du sujet
 
[#277]

Hello,

I wish to integrate an isolated module on the source's project with an update of some views without modify the original source code.
I don't really know how to do this.

When a new version is available, I replace the old project'or by this new version. So all old sources are deleted.

Is-it possible (and not too hard) to write a little script which integrate the specific module and modify views in the original project'or which must to be ?

Thank you in advance.

P.S : sorry for my english which is not so good, sometimes a little "franglais" 🙂


 
Posté : 14 Déc PM 13:1212
(@babynus)
Posts: 14952
Membre Admin
 

Hi,
The application is not really designed in a way to be extended, but it is possible in some ways to extend functionalities.

To add new funtionalities : no issue, you just create new classes, add needed items in the Menu table, add some icons and css (see porjectorIcon.css). This will not generate conflicts with furtur versions (unless future version create new classes with same name).

Next, if you want to update existing class : the best is to overide with a new class. For instance, if you want to extend "Activity", create "MyActivity" that extends Activity, change name in the Menu talbe so that you'll reach your object, and you're in.

Worst, if you need to update some common functionality (for instance in projector.php) : you must save your changes and merge them on each new version.

Finaly, you'd probably like to add new captions : you must update lang.xls (search for translatable in the manual) => just tag your changes in the version column and save them : you'll have to paste these changes after each new version deployment.

It's a bit short for a long subject, but hope t's enought for you to work.
Regards.


 
Posté : 15 Déc PM 13:1212
(@godzinho31)
Posts: 2
New Member
Début du sujet
 

Ok thanks for your reply.
I'm trying to follow this way and if conclusions are not good, I'll be back.
Regards.


 
Posté : 15 Déc PM 15:1212
Share:
Retour en haut