updating ihris-manage module

Asked by kasongo on 2014-11-25

Hi all,
I am new to iHRIS and I am customizing some iHRIS-manage modules for my country(DRC); but the thing is, whenever I add a new field to an already customized module, I really get into trouble getting the field show up. Sometimes, the newly added fields show up after the computer reboot and some other time, simply with site update(very random). Can someone give me a help to tackle this issue?

Question information

Language:
French Edit question
Status:
Solved
For:
iHRIS Manage Edit question
Assignee:
No assignee Edit question
Solved by:
Luke Duncan
Solved:
2014-11-25
Last query:
2014-11-25
Last reply:
2014-11-25
Best Luke Duncan (lduncan) said : #1

There may be two issues affecting this depending on what exactly is happening.

1. If you copy a template to a new module or site template directory then it will take some time for the file location cache to get the new file location. You can speed this up by removing any session files from the server. You can view source to see which template file is being loaded to make sure it's the one you're making changes to.

2. The magic data changes may not be loaded. Any time you modify magic data in a module configuration file you need to increment the version at the top (for example 4.1.10 2 becomes 4.1.10.3) and then include that version in the configuration or configurationGroup where you made the change. If you update from the command line you'll also need to restart apache so the APC can be updated with the change: sudo service apache2 restart

Based on the fact that a reboot or time fixes the issue then it's most likely #1.

kasongo (pierrekasongo88) said : #2

Thanks Luke Duncan, that solved my question.