Page 1 of 1

Move/Copy vicidial.php 2.6-350c --> 2.6-352c

PostPosted: Tue Oct 09, 2012 8:48 am
by Aspia
Old install:
version = '2.6-350c'
build = '120810-0056'

New install:
version = '2.6-352c'
build = '120914-1357'

I have done some major UI changes to vicidial.php on my '2.6-350c and these changes I wanna use in the 2.6-352c. Tried to copy the vicidial.php from old to new version. But no luck, won't load after credentials. What are the major changes to vicidial.php in the new version. Is it possible at all to use the old configuration in my vicidial.php?

Re: Move/Copy vicidial.php 2.6-350c --> 2.6-352c

PostPosted: Wed Oct 10, 2012 4:39 am
by Aspia
Solved :) Used Winmerge and comared files.

Re: Move/Copy vicidial.php 2.6-350c --> 2.6-352c

PostPosted: Wed Oct 10, 2012 5:10 am
by DomeDan
Cool, never heard of Winmerge, I didn't get that it was simply patching you were trying to do.
I usually create patch-files with diff and patch the new php-files for every update of vicidial I'm doing.

Re: Move/Copy vicidial.php 2.6-350c --> 2.6-352c

PostPosted: Tue Nov 27, 2012 9:43 pm
by williamconley
When you have a modified vicidial file, you can run diff on it and get a patch file. Then you can apply that patch file to a new vicidial file and often get a fully functional new page. Just avoid adding variables to the end of the variable list (which is where Vicidial will add them, creating a conflict ...) and other such obvious "here's a good place to make a change ..." items. If you make sure you avoid making your changes where new changes are expected (at the bottoms of the change list? right?) the patching process can be very clean.