07-29-2017, 09:03 AM
GVs are very easy to add. You add the new variable in the continuous changeset, add it to the documentation language file and then use it wherever you need it to do its work.
Here you can see the last one I added:
https://github.com/tsolucio/corebos/comm...b788378f21
Here I add it to the changeset: https://github.com/tsolucio/corebos/comm...94287bR131
Here to the language file: https://github.com/tsolucio/corebos/comm...c946e0R787
The other two files I change is where I use the new variable to substitute a hard coded "6" limit that was there
There are only two Save.php files you have to check:
modules/Contacts/Save.php
modules/cbCalendar/Save.php
cbCalendar has some specific closing action because it can be created in a popup window from the visual calendar. I wouldn't even look at Contacts because that one will change shortly. It is on my list to cleanup and standardize, I just haven't been able to get to it yet, so ignore that one, it will get the functionality when I fix it.
HTH
Here you can see the last one I added:
https://github.com/tsolucio/corebos/comm...b788378f21
Here I add it to the changeset: https://github.com/tsolucio/corebos/comm...94287bR131
Here to the language file: https://github.com/tsolucio/corebos/comm...c946e0R787
The other two files I change is where I use the new variable to substitute a hard coded "6" limit that was there
There are only two Save.php files you have to check:
modules/Contacts/Save.php
modules/cbCalendar/Save.php
cbCalendar has some specific closing action because it can be created in a popup window from the visual calendar. I wouldn't even look at Contacts because that one will change shortly. It is on my list to cleanup and standardize, I just haven't been able to get to it yet, so ignore that one, it will get the functionality when I fix it.
HTH
Joe
TSolucio
TSolucio