[TYPO3-german] colpos in extension ermitteln (sk_calendar)
Roland Müller
roland.mueller at flad.de
Thu Dec 20 11:43:28 CET 2007
hi,
ich habe den sk_calendar auf einer seite zweimal drin; in der spalte
normal und in der spalte rechts.
wie kann ich in der extension in der main funktion ermitteln, in welcher
spalte sich die extension gerade befindet?
habe es so versucht: $this->cObj->data["colpos"]
leider wird mir da nichts ausgegeben; aber wenn ich mir
$this->cObj->data ausgeben lasse erhalte ich folgende ausgabe, da steht
die colPos ja drin? was mache ich falsch beim ansprechen des arrays?
===================================================================================================================================
Array ( [uid] => 475 [pid] => 94 [t3ver_oid] => 0 [t3ver_id] => 0
[t3ver_wsid] => 0 [t3ver_label] => [t3ver_state] => 0 [t3ver_stage] => 0
[t3ver_count] => 0 [t3ver_tstamp] => 0 [t3_origuid] => 468 [tstamp] =>
1197636957 [hidden] => 0 [sorting] => 192 [CType] => list [header] =>
[header_position] => [bodytext] => [image] => [imagewidth] => 0
[imageorient] => 8 [imagecaption] => [imagecols] => 0 [imageborder] => 0
[media] => [layout] => 0 [deleted] => 0 [cols] => 0 [records] => [pages]
=> [starttime] => 0 [endtime] => 0 [colPos] => 0 [subheader] =>
[spaceBefore] => 0 [spaceAfter] => 0 [fe_group] => [header_link] =>
[imagecaption_position] => [image_link] => [image_zoom] => 0
[image_noRows] => 0 [image_effects] => 0 [image_compression] => 0
[altText] => [titleText] => [longdescURL] => [header_layout] => 0
[text_align] => [text_face] => 0 [text_size] => 0 [text_color] => 0
[text_properties] => 0 [menu_type] => 0 [list_type] => sk_calendar_pi1
[table_border] => 0 [table_cellspacing] => 0 [table_cellpadding] => 0
[table_bgColor] => 0 [select_key] => [sectionIndex] => 1 [linkToTop] =>
0 [filelink_size] => 0 [section_frame] => 0 [date] => 0 [splash_layout]
=> 0 [multimedia] => [image_frames] => 0 [recursive] => 0 [imageheight]
=> 0 [rte_enabled] => 0 [sys_language_uid] => 5 [tx_impexp_origuid] => 0
[pi_flexform] => Array ( [data] => Array ( [sDEF] => Array ( [lDEF] =>
Array ( [default_view] => Array ( [vDEF] => list ) [showlinks] => Array
( [vDEF] => 0 ) [showfilters] => Array ( [vDEF] => 0 ) [keep_view] =>
Array ( [vDEF] => 1 ) [detail_pid] => Array ( [vDEF] => ) [source_pid]
=> Array ( [vDEF] => 151 ) [source_recursion] => Array ( [vDEF] => 0 )
[html_template] => Array ( [vDEF] => ) [pdf_template] => Array ( [vDEF]
=> ) ) ) [s_view] => Array ( [lDEF] => Array ( [boxrange] => Array (
[vDEF] => ) [upcomingrange] => Array ( [vDEF] => ) [listrange] => Array
( [vDEF] => ) [listmonths] => Array ( [vDEF] => 0 ) [thumbmonths] =>
Array ( [vDEF] => ) ) ) [s_filters] => Array ( [lDEF] => Array (
[showsearch] => Array ( [vDEF] => 0 ) [showdate] => Array ( [vDEF] => 0
) [showcat] => Array ( [vDEF] => 0 ) [showloc] => Array ( [vDEF] => 0 )
[showorg] => Array ( [vDEF] => 0 ) [showtar] => Array ( [vDEF] => 0 ) )
) ) ) [l18n_parent] => 468 [l18n_diffsource] =>
a:21:{s:5:"CType";s:4:"list";s:16:"sys_language_uid";s:1:"0";s:6:"colPos";s:1:"0";s:11:"spaceBefore";s:1:"0";s:10:"spaceAfter";s:1:"0";s:13:"section_frame";s:1:"0";s:12:"sectionIndex";s:1:"1";s:9:"linkToTop";s:1:"0";s:24:"tx_rgaccordion_accordion";s:1:"0";s:6:"header";s:0:"";s:15:"header_position";s:0:"";s:13:"header_layout";s:1:"0";s:11:"header_link";s:0:"";s:4:"date";s:1:"0";s:9:"list_type";s:15:"sk_calendar_pi1";s:11:"pi_flexform";s:2794:"
upcoming 0 0 1 151 0 0
0 0 0 0 0 0
";s:6:"hidden";s:1:"0";s:9:"starttime";s:1:"0";s:7:"endtime";s:1:"0";s:8:"fe_group";s:0:"";s:11:"l18n_parent";s:1:"0";}
[tx_rgaccordion_accordion] => 0 [tx_filelist_path] =>
[tx_filelist_order_by] => 0 [tx_filelist_order_sort] => 0
[tx_filelist_show_new] => [tx_filelist_fe_user_sort] => 0
[tx_rgsmoothgallery_rgsg] => 0 [tx_vcjavascriptslideshow_images] =>
[tx_vcjavascriptslideshow_title] => [tx_vcjavascriptslideshow_mseconds]
=> 10 [tx_vcjavascriptslideshow_width] => 0
[tx_vcjavascriptslideshow_height] => 0 [currentValue_kidjls9dksoje] => )
Array ( [uid] => 853 [pid] => 94 [t3ver_oid] => 0 [t3ver_id] => 0
[t3ver_wsid] => 0 [t3ver_label] => [t3ver_state] => 0 [t3ver_stage] => 0
[t3ver_count] => 0 [t3ver_tstamp] => 0 [t3_origuid] => 851 [tstamp] =>
1197812870 [hidden] => 0 [sorting] => 24 [CType] => list [header] =>
Messekalender [header_position] => [bodytext] => [image] => [imagewidth]
=> 0 [imageorient] => 8 [imagecaption] => [imagecols] => 0 [imageborder]
=> 0 [media] => [layout] => 0 [deleted] => 0 [cols] => 0 [records] =>
[pages] => [starttime] => 0 [endtime] => 0 [colPos] => 2 [subheader] =>
[spaceBefore] => 0 [spaceAfter] => 0 [fe_group] => [header_link] =>
[imagecaption_position] => [image_link] => [image_zoom] => 0
[image_noRows] => 0 [image_effects] => 0 [image_compression] => 0
[altText] => [titleText] => [longdescURL] => [header_layout] => 0
[text_align] => [text_face] => 0 [text_size] => 0 [text_color] => 0
[text_properties] => 0 [menu_type] => 0 [list_type] => sk_calendar_pi1
[table_border] => 0 [table_cellspacing] => 0 [table_cellpadding] => 0
[table_bgColor] => 0 [select_key] => [sectionIndex] => 1 [linkToTop] =>
0 [filelink_size] => 0 [section_frame] => 0 [date] => 0 [splash_layout]
=> 0 [multimedia] => [image_frames] => 0 [recursive] => 0 [imageheight]
=> 0 [rte_enabled] => 0 [sys_language_uid] => 5 [tx_impexp_origuid] => 0
[pi_flexform] => Array ( [data] => Array ( [sDEF] => Array ( [lDEF] =>
Array ( [default_view] => Array ( [vDEF] => thumbmonth ) [showlinks] =>
Array ( [vDEF] => 0 ) [showfilters] => Array ( [vDEF] => 0 ) [keep_view]
=> Array ( [vDEF] => 1 ) [detail_pid] => Array ( [vDEF] => )
[source_pid] => Array ( [vDEF] => 151 ) [source_recursion] => Array (
[vDEF] => 0 ) [html_template] => Array ( [vDEF] => ) [pdf_template] =>
Array ( [vDEF] => ) ) ) [s_view] => Array ( [lDEF] => Array ( [boxrange]
=> Array ( [vDEF] => ) [upcomingrange] => Array ( [vDEF] => )
[listrange] => Array ( [vDEF] => ) [listmonths] => Array ( [vDEF] => 0 )
[thumbmonths] => Array ( [vDEF] => ) ) ) [s_filters] => Array ( [lDEF]
=> Array ( [showsearch] => Array ( [vDEF] => 0 ) [showdate] => Array (
[vDEF] => 0 ) [showcat] => Array ( [vDEF] => 0 ) [showloc] => Array (
[vDEF] => 0 ) [showorg] => Array ( [vDEF] => 0 ) [showtar] => Array (
[vDEF] => 0 ) ) ) ) ) [l18n_parent] => 851 [l18n_diffsource] =>
a:21:{s:5:"CType";s:4:"list";s:16:"sys_language_uid";s:1:"0";s:6:"colPos";s:1:"2";s:11:"spaceBefore";s:1:"0";s:10:"spaceAfter";s:1:"0";s:13:"section_frame";s:1:"0";s:12:"sectionIndex";s:1:"1";s:9:"linkToTop";s:1:"0";s:24:"tx_rgaccordion_accordion";s:1:"0";s:6:"header";s:8:"Calendar";s:15:"header_position";s:0:"";s:13:"header_layout";s:1:"0";s:11:"header_link";s:0:"";s:4:"date";s:1:"0";s:9:"list_type";s:15:"sk_calendar_pi1";s:11:"pi_flexform";s:2796:"
thumbmonth 0 0 1 151 0 0
0 0 0 0 0 0
";s:6:"hidden";s:1:"0";s:9:"starttime";s:1:"0";s:7:"endtime";s:1:"0";s:8:"fe_group";s:0:"";s:11:"l18n_parent";s:1:"0";}
[tx_rgaccordion_accordion] => 0 [tx_filelist_path] =>
[tx_filelist_order_by] => 0 [tx_filelist_order_sort] => 0
[tx_filelist_show_new] => [tx_filelist_fe_user_sort] => 0
[tx_rgsmoothgallery_rgsg] => 0 [tx_vcjavascriptslideshow_images] =>
[tx_vcjavascriptslideshow_title] => [tx_vcjavascriptslideshow_mseconds]
=> 10 [tx_vcjavascriptslideshow_width] => 0
[tx_vcjavascriptslideshow_height] => 0 [currentValue_kidjls9dksoje] =>
Messekalender )
===================================================================================================================================
danke, roland
More information about the TYPO3-german
mailing list