[TYPO3-calendar] Shorten realURL links
Tony Lush
tlush at advancewm.com
Mon Apr 18 21:14:22 CEST 2011
I would like to shorten our realURL links for Cal. The current event
URLs look like:
http://Domain.TLD/classschedule/event/cal/2011/05/03/event/tx_cal_phpicalendar/view-month%7Cpage_id-55/Event_Title/
Is there a way to remove [lastview] and [type] from the url without
breaking the links or generating a chash onthe end of the URL?
My realURL config for Cal is:
'cal' =>
array (
0 =>
array (
'GETvar' => 'tx_cal_controller[year]',
),
1 =>
array (
'GETvar' => 'tx_cal_controller[month]',
),
2 =>
array (
'GETvar' => 'tx_cal_controller[day]',
),
3 =>
array (
'GETvar' => 'tx_cal_controller[view]',
),
4 =>
array (
'GETvar' => 'tx_cal_controller[type]',
),
5 =>
array (
'GETvar' => 'tx_cal_controller[lastview]',
),
6 =>
array (
'GETvar' => 'tx_cal_controller[uid]',
'lookUpTable' =>
array (
'table' => 'tx_cal_event',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'userUniqueCache_conf' =>
array (
'strtolower' => 1,
'spaceCharacter' => '_',
),
),
),
),
Thank you -- Tony
More information about the TYPO3-project-calendar
mailing list