CoreBOSBB
Can't add related module block to the main layout - Printable Version

+- CoreBOSBB (https://discussions.corebos.org)
+-- Forum: Support (https://discussions.corebos.org/forumdisplay.php?fid=17)
+--- Forum: Administrator Support (https://discussions.corebos.org/forumdisplay.php?fid=8)
+--- Thread: Can't add related module block to the main layout (/showthread.php?tid=1768)

Pages: 1 2


RE: Can't add related module block to the main layout - addady2 - 04-27-2020

Can't find some thing suspicious:

Code:
grep -R --include=en_us.lang.php "Activities"

Quote:modules/Reports/language/en_us.lang.php:'Last Month Activities'=>'Last Month Activities',
modules/Reports/language/en_us.lang.php:'This Month Activities'=>'This Month Activities',
modules/Users/language/en_us.lang.php:'OLV'=>'Upcoming & Pending Activities',
modules/Users/language/en_us.lang.php:'UA'=>'Upcoming Activities',
modules/Users/language/en_us.lang.php:'PA'=>'Pending Activities',
modules/cbCalendar/language/en_us.lang.php: 'DATE_SHOULDNOT_PAST' => 'Current date & time for Activities with status as Planned',
modules/cbCalendar/language/en_us.lang.php: 'TIME_SHOULDNOT_PAST' => 'Current Time for Activities with status as Planned',
modules/Settings/language/en_us.lang.php:'Activities'=>'Task',
modules/Calendar/language/en_us.lang.php:'LBL_OPEN_ACTIVITIES'=>'Open Activities',
modules/Calendar/language/en_us.lang.php:'LBL_UPCOMING'=>"My Upcoming and Pending Activities",
modules/Calendar/language/en_us.lang.php:// Added vtiger_fields for Attachments in Activities/SubPanelView.php
modules/Calendar/language/en_us.lang.php://Activities - Notification Error
modules/Home/language/en_us.lang.php:'LBL_UPCOMING_EVENTS'=>'Upcoming Activities',
modules/Home/language/en_us.lang.php:'LBL_PENDING_EVENTS'=>'Pending Activities',
modules/Home/language/en_us.lang.php:'Upcoming Activities'=>'Upcoming Activities',
modules/Home/language/en_us.lang.php:'Pending Activities'=>'Pending Activities',
include/language/en_us.lang.php:'LBL_UPCOMING_EVENTS'=>'Upcoming Activities',
include/language/en_us.lang.php:'LBL_PENDING_EVENTS'=>'Pending Activities',
include/language/en_us.lang.php:'LBL_OPEN_ACTIVITIES' => 'Open Activities',
include/language/en_us.lang.php:'Activities' => 'Activities',
include/language/en_us.lang.php:'ACTIVITIES' => 'Activities',

Quote:grep -R --include=en_us.lang.php "cbtranslation"

Code:
modules/cbtranslation/language/en_us.lang.php:  'cbtranslation' => 'Translations',
modules/cbtranslation/language/en_us.lang.php:  'SINGLE_cbtranslation' => 'Translation',
modules/cbtranslation/language/en_us.lang.php:  'cbtranslation ID' => 'Translation ID',
modules/cbtranslation/language/en_us.lang.php:  'cbtranslation No' => 'Translation No',

Maybe its in the DB ?


RE: Can't add related module block to the main layout - joebordes - 04-27-2020

can you look in vtiger_tab, and show me the row with id = 64


RE: Can't add related module block to the main layout - addady2 - 04-27-2020

select * from vtiger_tab where tabid = 64;


+-------+---------------+----------+-------------+---------------+------------+--------------+------------+---------+--------------+---------+----------+
| tabid | name          | presence | tabsequence | tablabel      | modifiedby | modifiedtime | customized | ownedby | isentitytype | version | parent   |
+-------+---------------+----------+-------------+---------------+------------+--------------+------------+---------+--------------+---------+----------+
|    64 | cbtranslation |        0 |          -1 | cbtranslation |       NULL |         NULL |          1 |       0 |            1 | 0       | Settings |
+-------+---------------+----------+-------------+---------------+------------+--------------+------------+---------+--------------+---------+----------+


RE: Can't add related module block to the main layout - joebordes - 04-27-2020

that is the problem, for some reason the relatedlists entry is establishing the connection with the translation module, not the calendar. look for the cbCalendar row in vtiger_tab, then change the 64 in the related_module column of vtiger_relatedlists for the get_activities row and try again


RE: Can't add related module block to the main layout - joebordes - 04-27-2020

you should check if there are some other relations in the same situation.
do you have any idea how that could have happened?


RE: Can't add related module block to the main layout - addady2 - 04-28-2020

Quote:that is the problem, for some reason the relatedlists entry is establishing the connection with the translation module, not the calendar. look for the cbCalendar row in vtiger_tab, then change the 64 in the related_module column of vtiger_relatedlists for the get_activities row and try again

Thank you is solve the issue. In vtiger_relatedlists all the get_activities point to the wrong vtiger_tab.

I have no clue why !


RE: Can't add related module block to the main layout - joebordes - 04-28-2020

very strange. glad you got it workng