Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
import custom modules from 5.5 to 7
#1
Wink 
hello

I am trying to import a custom module from corebos 5.5 to a clean instalation of corebos 7, but I find two troubles:

In a first moment, I need to find and write the function getcriteria_options(), because it is called in line 157 of listView.php and it isn´t declarate. When I paste it in include/Utils/SearchUtils.php it works. Then the module appears but, when I try to create a new item, the screen dont show the fields..


[Image: certiarmas.jpg]

The url is http://corebos7.renovarcarnetconducirenvalencia.com/index.php?module=CertArma&action=EditView&return_action=DetailView&parenttab=ptab

What could be the problem? Thanks...
Reply
#2
Do not recover the getcriteria_options function. That function is obsolete and has been eliminated.

You must always update your module's files with the latest version of module files that are in the vtlib/ModuleDir directory.

In other words, update all the files in your module to be in sync with the files in vtlib/ModuleDir, that should fix the problem and give your module access to all the new features in coreBOS.

BTW, the image you attach is the typical error of not having updated the tabdata.php file, make sure you have correct permissions on that file.

Keep asking...
Joe
TSolucio
Reply
#3
Hi Joe

It works!!. I replace the files and the module works perfectly. Thanks!
Reply
#4
:-)
Joe
TSolucio
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)