[TYPO3-calendar] Trouble setting event front end editing
Konischikichen
golcor at gmx.de
Tue Aug 20 17:51:30 CEST 2013
Hi there,
i have been spending a while trying to set up front end event editing
for my cal extension and havn't had any success so far. The problem is
I don't even get to see the editing icons. I am using cal ver 1.4.2
running in typo3 4.6.1.
I followed the manuals and:
- included fe-editing static templates
- enabled fe-editing in constants editor
- created a front end user with id = 2 and a fe user group with id = 2.
I entered those in the constants editor for admin user and admin group.
- in plug in options I enabled edit, list and single view.
- inspected the ts ref in the manual and added the following ts to my
site template:
in constants:
> plugin.tx_cal_controller.view.month.monthTemplate = fileadmin/cal_template/month.tmpl
> plugin.tx_cal_controller.view.month.monthLargeTemplate = fileadmin/cal_template/month_large.tmpl
> plugin.tx_cal_controller.view.event.eventModelTemplate = fileadmin/cal_template/event_model.tmpl
> plugin.tx_cal_controller.view.list.listTemplate = fileadmin/cal_template/list.tmpl
> plugin.tx_cal_controller.rights.edit = 1
in setup:
> plugin.tx_cal_controller.rights {
> edit = 1
> edit.event {
> user = 2
> group = 2
> enableAllFields.user = 2
> enableAllFields.group = 2
> }
> }
To me this seemed like the minimum code necessary to enable fe editing
for events.
This is my list view relevant part of the event model template:
> <!-- ###TEMPLATE_PHPICALENDAR_EVENT_LIST_ODD### start -->
> <p class="concert_date red">###STARTDATE###, ###STARTTIME### Uhr</p>
> <!-- ###EVENT_LINK### start--><h2 class="white red_bg margin_bottom_klein" style="text-align:justify">###TITLE###</h2><!-- ###EVENT_LINK### end-->
> <p class="standard_text">###DESCRIPTION### ###EDIT_LINK###<!-- ###EVENT_LINK### start-->(...mehr)<!-- ###EVENT_LINK### end--></p>
>
> <!--<br /><span class="V9G">###CATEGORY_LINK###</span>-->
> <!-- ###ENDDATE### <span class="V9G"> ###ENDTIME###</span><br /> -->
> <!-- ###IMAGE### -->
> <!-- ###TEMPLATE_PHPICALENDAR_EVENT_LIST_ODD### end -->
> <!-- ###TEMPLATE_PHPICALENDAR_EVENT_LIST_EVEN### start -->
> <p class="concert_date red">###STARTDATE###, ###STARTTIME### Uhr</p>
> <!-- ###EVENT_LINK### start--><h2 class="white red_bg margin_bottom_klein" style="text-align:justify">###TITLE###</h2><!-- ###EVENT_LINK### end-->
> <p class="standard_text">###DESCRIPTION### ###EDIT_LINK###<!-- ###EVENT_LINK### start-->(...mehr)<!-- ###EVENT_LINK### end--></p>
> ###EDIT_LINK###
> <!--<br /><span class="V9G">###CATEGORY_LINK###</span>-->
> <!-- ###ENDDATE### <span class="V9G"> ###ENDTIME###</span><br /> -->
> <!-- ###IMAGE### -->
> <!-- ###TEMPLATE_PHPICALENDAR_EVENT_LIST_EVEN### end -->
Now when logging in at the frontend the list view will show me the same
like if i was not logged in (so ###EDIT_LINK### is replaced by an empty
space).
Any ideas? I'd be very happy for any kind of advice, have been stuck on
this for a while now...
Konischikichen
More information about the TYPO3-project-calendar
mailing list