Forum

Best procedure to u...
 
Notifications
Retirer tout

Best procedure to update with new release

4 Posts
2 Utilisateurs
0 Reactions
5,657 Vu
(@liolic)
Posts: 15
Active Member
Début du sujet
 
[#297]

Hi,

Sorry for an obvious question.
As I made a lot of changes in PHP files and language file, which is the best procedure to update to the last release of Project'Or RIA without deletting all the work.
Is it possible to have a list of the files that have been changed in new update?
Or is it an obligation to upload all the files of the new version?

Thanks for help.

___________________
Liolic
Creation of websites with Joomla 1.7 - Project manager


 
Posté : 5 Jan AM 00:011
(@babynus)
Posts: 14952
Membre Admin
 

Hi,

Is it possible to have a list of the files that have been changed in new update?

Yes : check the svn repository available at sourceforge.

Or is it an obligation to upload all the files of the new version?

Yes, it is, to be sure to get coherent updates.

By the way, you'll have to re-copy your updates into new files.

HINTS :
To avoid this constraint for objects (php classes), you can :
- create a new class extending the original object
- update the "menu" table to access your own classes
Then new deployments will overwrite original classes and not your own.

If you insert new common functionalities (for instance in projector.php), don't update existing files : create new files and just insert the include in the existing files : you'll just have to re-copy these includes on new deployments.

Regards.


 
Posté : 5 Jan PM 15:011
(@liolic)
Posts: 15
Active Member
Début du sujet
 

Hi Babynus,

Thanks for your answer.
I undertand your explanation, but I am not shure to have the sufficiant knowledge in php programmation to do that...

The changes that I made are mostly in lang.xls and main.php, but the biggest work is in language file. All other changes are in database. So if update does not changes the database, and language file, I can manage changes in main.php at each update.

I will think about it and I will try to do as you explain to me.

I forgot to tell you that in language translation I found a little error in French lang. "Environement" should be written with 2 n = "Environnement"

Best regards,
Liolic


 
Posté : 6 Jan AM 00:011
(@babynus)
Posts: 14952
Membre Admin
 

Hi,

If your changes stand on lang.xls files, you'll just have to include new labels from next version lang.xls : select on "Vers." columns.

Changes in Database, will not be impacted by new versions ... unless new version creates data of columns you already added : this may lead to errors in alter of tables, then you'd have to update manually to get the other changes...

Thanks for the typo : fixed

Regards


 
Posté : 6 Jan AM 01:011
Share:
Retour en haut