[TYPO3] simple calendar location
Katja Lampela
katja.lampela at lieska.net
Thu Sep 20 09:59:18 CEST 2007
Oh that's great!!! I don't know why in the version I have there is
nothing like that in the default setup. Thank you so very many millions!!!!
Administrator kirjoitti:
> Here's the parts you need based on the plugin's original TS:
> [pre]
> plugin.tx_desimplecalendar_pi1.eventDetail = TEMPLATE
> plugin.tx_desimplecalendar_pi1.eventDetail {
> template = HTML
> template.value (
> <h2>###title###</h2>
> <h3>###date### ###time### </h3>
> ###image### ###description###
> ###organizer### ###location### ###location_address### ###location_phone### ###maplink### ###category###
> )
> template.value.wrap = <div class="eventdetail_wrap">|</div>
> marks {
> ..
>
> location = RECORDS
> location {
> source.field = location
> tables = tx_desimplecalendar_location
> conf.tx_desimplecalendar_location = TEXT
> conf.tx_desimplecalendar_location.field= name
> conf.tx_desimplecalendar_location.wrap = <br /><strong>Location:</strong> |
> conf.tx_desimplecalendar_location.required = 1
>
> }
> location_address = RECORDS
> location_address {
> source.field = location
> tables = tx_desimplecalendar_location
> conf.tx_desimplecalendar_location = TEXT
> conf.tx_desimplecalendar_location.field= address
> conf.tx_desimplecalendar_location.wrap = <br />|
> conf.tx_desimplecalendar_location.required = 1
> parseFunc < lib.parseFunc
>
> }
>
> location_phone = RECORDS
> location_phone {
> source.field = location
> tables = tx_desimplecalendar_location
> conf.tx_desimplecalendar_location = TEXT
> conf.tx_desimplecalendar_location.field= phone
> conf.tx_desimplecalendar_location.wrap = <br /><br /><strong>Phone:</strong> |
> conf.tx_desimplecalendar_location.required = 1
>
> }
> maplink = RECORDS
> maplink {
> source.field = location
> tables = tx_desimplecalendar_location
> conf.tx_desimplecalendar_location = TEXT
> conf.tx_desimplecalendar_location.field= address
> conf.tx_desimplecalendar_location.wrap = <br /><br /><a href="http://maps.google.com/maps?f=q&hl=en&q=|" target="blank">Map/Directions</a>
> conf.tx_desimplecalendar_location.required = 1
> parseFunc > lib.parseFunc
> }
>
> ..
> }
>
> }
> [/pre]
More information about the TYPO3-english
mailing list