Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hi
After installing LimeSurvey_sync I lost the Import tab for Mailhandler Source nodes associted with feeds importers. Found the code below to be causing the Import menu item to be sharing space with the Synchronize menu item (both of which cause a tab to show on a node). I renamed node/%node/import to node/%node/import1 in feeds.module to solve the issue, but a better solution would seem in order
Thanks
In feeds.module there is:
function feeds_menu() {
$items = array();
...
$items['node/%node/import'] = array(
'title' => 'Import',
'page callback' => 'drupal_get_form',
'page arguments' => array('feeds_import_tab_form', 1),
'access callback' => 'feeds_access',
'access arguments' => array('import', 1),
'file' => 'feeds.pages.inc',
'type' => MENU_LOCAL_TASK,
'weight' => 10,
);
and in ls_survey.module there is
function ls_survey_menu() {
$items = array();
...
$items['node/%node/import'] = array(
'title' => 'Synchronization',
'page callback' => 'drupal_get_form',
'page arguments' => array('ls_survey_import', 1),
'access callback' => 'ls_survey_import_access',
'access arguments' => array(1),
'type' => MENU_LOCAL_TASK,
'weight' => 15,
'file' => 'ls_survey.import.inc',
);
Comment | File | Size | Author |
---|---|---|---|
#1 | fix_feeds_compatibility-2177819-1.patch | 4.42 KB | thedut |
Comments
Comment #1
thedut CreditAttribution: thedut commentedHello hanksterr7,
Thank you for reporting this issue. It only occurs when the Feeds module is enabled.
I will include this fix into the next LimeSurvey Sync release.
Comment #2
thedut CreditAttribution: thedut commentedFixed into the LimeSurvey Sync 7.x-1.6 release and 6.x-1.6 release.