Friday 26 February 2010 7:26:42 am
I found it !! :)
- Solucom/extension/Solucom/settings/layout.ini.append.php :
<?php /* #?ini charset="utf-8"?[ical] PageLayout=ical_pagelayout.tpl
*/ ?>
- Solucom/extension/solucom/design/solucom/templates/ical_pagelayout.tpl
{*?template charset=utf-8?*} BEGIN:VCALENDAR METHOD:PUBLISH BEGIN:VEVENT DTSTART:20091028T090000Z DTEND:20091028T093000Z TRANSP:TRANSPARENT UID:[email protected] DTSTAMP:20091028T142520Z SUMMARY:titre de l'événement DESCRIPTION:description courte de l'événement en question.\nPossiblement sur\nPlusieurs lignes\n\n URL:http://www.solucom.fr/evenements/12345 CLASS:PUBLIC END:VEVENT END:VCALENDAR
<a href="layout/set/ical/content/view/full/2/nom_fichier.ics"} >Lien</a>
- Solucom/settings/override/site.ini.append.php
HTTPHeaderSettings] # Enable/disable custom HTTP header data. CustomHeader=enabled # Only apply custom headers for anonymous users OnlyForAnonymous=disabled # Header list. Contains all HTTP which should override standard ones. HeaderList[]=Content-Type Content-Type[] Content-Type[/layout/set/ical]=text/calendar; qs=0.9
- Solucom/kernel/classes/ezhttpheader.php [ligne 139]
//@list( $headerValue, $depth, $level ) = explode( ';', $value );
@list( $headerValue, $depth, $level ) = explode( '@@', $value ); :)
|