Feature #1380

Patch to add Map in Cal_Organizer records

Added by Stefano Cecere over 3 years ago. Updated about 1 year ago.

Status:Needs Feedback Start:01/02/2009
Priority:Low Due date:
Assigned to:- % Done:

0%

Category:BE
Target version:2.3.5

Description

i needed the inline map in cal_organizer records, so i (easily) added them the following lines.. could they go into SVN? can i do it?
thaks! stefano

/* in ext_conf_template.txt */
  1. cat=basic; type=boolean; label=Enable map in CAL Organizer records
    calOrganizerRecordMap = 0

/* in ext_tables.php */

/* If we want to show a map in cal Organizers records, add it to the TCA */
if(tx_wecmap_backend::getExtConf('calOrganizerRecordMap')) {
$mapTCA = array (
'tx_wecmap_map' => array (
'exclude' => 1,
'label' => 'LLL:EXT:wec_map/locallang_db.xml:berecord_maplabel',
'config' => array (
'type' => 'passthrough',
'form_type' => 'user',
'userFunc' => 'tx_wecmap_backend->drawMap',
),
),
);

t3lib_extMgm::addTCAcolumns('tx_cal_organizer', $mapTCA, 1);
$TCA['tx_cal_organizer']['interface']['showRecordFieldList'] .= ',tx_wecmap_map';
t3lib_extMgm::addToAllTCAtypes('tx_cal_organizer', '--div--;LLL:EXT:wec_map/locallang_db.xml:berecord_maplabel,tx_wecmap_map');
}

History

Updated by Christoph Koehler about 1 year ago

  • Status changed from New to Needs Feedback
  • Priority changed from High to Low

Hmm, I'll talk to Jeff about it. Ideally we'd like to avoid dependence on other extensions, especially since this seems to be quite possible to do in your own custom extension.
We'll see.

Updated by Christoph Koehler about 1 year ago

  • Target version changed from 2.2.0 to 2.3.5

Also available in: Atom PDF