[TYPO3-calendar] Re: ListView: How to show the location next to the title?
Kesandal
virgil at arcor.de
Thu Oct 15 11:01:18 CEST 2015
Quote: Mario Matzulla wrote on Sun, 27 September 2015 14:54
----------------------------------------------------
> Hi Kesandal,
>
> Am 26.09.15 um 15:44 schrieb Kesandal:
> > Hello,
> >
> > I've set up successfully cal 1.10.
> >
> > Now I would like to modify the ListView.
> > Next to the event-title I would like to show the location (with the appropriate link).
> >
> > What I found out so far is to show the caption "location:"
> >
> > plugin.tx_cal_controller {
> > view.list.event {
> > title = TEXT
> > title {
> > field = title
> > dataWrap = | - %%%LOCATION%%%
> > }
> > }
> > }
> >
> > Can anyone tell me please how to show the corresponding location?
>
> A link to the location will be shown by the ###LOCATION### marker inside the template. Have a look at the event_model.tmpl
> ###TEMPLATE_PHPICALENDAR_EVENT### subpart. All those markers can be used in other views as well.
>
> Regards,
> Mario
> >
> > Thanks in advance
----------------------------------------------------
Thank for your reply.
Sorry but I still can't figure out how to add the location to the list view.
When I open up list.tmpl I see
<!-- ###LIST### start -->
<!-- ###LIST### end -->
So I can't simply add my ###LOCATION### marker, since the list is a "one-part"-marker.
Next try was to modify templates/partials/list/event
- this seems like the part I'm searching for. But doing any modification here doesn't change the output.
templates/v2/event_model.tmpl
- seems like a candidate to. But again: Any modification doesn't change the output
Thanks for your help and best regards
More information about the TYPO3-project-calendar
mailing list