Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can we change the return screen after creating an entity?
#6
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/commit/541f6ff55924996e160b1cb00806e0b788378f21

Here I add it to the changeset: https://github.com/tsolucio/corebos/commit/541f6ff55924996e160b1cb00806e0b788378f21#diff-812c6f28f745ea333df89c5f0194287bR131

Here to the language file: https://github.com/tsolucio/corebos/commit/541f6ff55924996e160b1cb00806e0b788378f21#diff-48590fdb96f215e9c38678a0b6c946e0R787

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
Reply


Messages In This Thread
RE: Can we change the return screen after creating an entity? - joebordes - 07-29-2017, 09:03 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)