Hello,
I am using the Calguys Feed Maker for the CGCalendar RSS Feed.
Is it possible to generate a unique code in calendar template instead of the {$event.url}?
This is the template;
{* original rss feed template *}
{* snarfed from the forum post by Inula, and slightly modified *}
{* note: if you have not configured pretty urls or mod rewrite, the next line may fail when trying to validate the feed *}
{$feed.title}
{if isset($feed.link) && !empty($feed.link)}{$feed.link}{/if}
{if isset($feed.description) && !empty($feed.description)}{$feed.description}{/if}
{if isset($feed.copyright) && !empty($feed.copyright)}{$feed.copyright}{/if}
{if isset($feed.managing_editor) && !empty($feed.managing_editor)}{$feed.managing_editor}{/if}
{if isset($feed.image) && !empty($feed.image)}
{if isset($feed.description) && !empty($feed.description)}{$feed.description}{/if}
{if isset($feed.link) && !empty($feed.link)}{$feed.link}{/if}
{$feed.title}
{$file_location}/{$feed.image}
{/if}
{capture assign='kalender'}
{* note, the output from this module call is discarded, however the smarty variables will still exist *}
{* note, you may want to adjust the parameters to this module call to gather different events *}
{cms_module module="CGCalendar" unique_only='true' display="upcominglist"}
{/capture}
{foreach from=$events key=key item=event}
{$event.event_title}
{$event.url}
{assign var=description value=$event.title}
{if $event.event_summary != ''}
{assign var=description value=$event.summary}
{/if}
{$description}
{$event.event_date_start|date_format:"%Y-%m-%eT%H:%M:%S%z"}
{$event.event_date_end|date_format:"%Y-%m-%eT%H:%M:%S%z"}
false
{$event.url}
{/foreach}
Many thanks!
Dave
CG Calendar RSS Feed
Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Let us know here.
Jump to
- Official Boards
- ↳ README FIRST!!!
- ↳ Announcements
- ↳ General Discussion
- Support Boards
- ↳ CMSMS Core
- ↳ Modules/Add-Ons
- ↳ Help Wanted (commercial)
- ↳ Translations
- Community Boards
- ↳ Tips and Tricks
- ↳ CMS Show Off
- ↳ Layout and Design (CSS & HTML)
- ↳ Feature ideas
- ↳ Developers Discussion
- ↳ The Lounge
- International Discussions
- ↳ Czech/Slovak - Česky/Slovensky
- ↳ Danish - Dansk
- ↳ Dutch - Nederlands
- ↳ Aankondigingen
- ↳ Tips en Trucs
- ↳ Vertalingen & Documentatie
- ↳ Hulp gezocht (commercieel)
- ↳ Finnish - Suomi
- ↳ French - Français
- ↳ German - Deutsch
- ↳ BITTE ZUERST LESEN !!!
- ↳ Ankündigungen
- ↳ Installation und Einstellungen
- ↳ Module und Tags
- ↳ Smarty-Tipps und -Tricks
- ↳ Layout und Design
- ↳ Suchmaschinenoptimierung (SEO)
- ↳ HowTo's
- ↳ Übersetzungen
- ↳ Show Off
- ↳ Hilfe gesucht (kommerziell)
- ↳ Stammtisch
- ↳ Hungarian - Magyar
- ↳ Italian - Italiano
- ↳ Moduli/Plugins
- ↳ Lithuanian - Lietuviškai
- ↳ Darbo / bendradarbiavimo pasiūlymai ir paieška
- ↳ Persian / Farsi
- ↳ Polish - Polski
- ↳ Portuguese - Português
- ↳ Russian - русский
- ↳ Предложения и поиск РАБОТЫ
- ↳ Spanish - Español
- ↳ Swedish - Svenska
- Geekmoot Editions
- ↳ Geekmoot 2016
- ↳ Connections and Conversations
- ↳ Geekmoot 2015
- ↳ Geek Moot 2012
- ↳ Locked: Geek Moot 2010
- Old Forums
- ↳ [locked] CMSMS 2.0 Beta
- ↳ Module Developers
- ↳ Closed Issues
- ↳ [locked] Documentation0ld
- ↳ Suggestions, Modifications & Corrections
- ↳ [locked] CMSMS 1.11 Beta
- ↳ Closed Issues
- ↳ [locked] CMSMS 1.10 Beta
- ↳ Closed Issues
- ↳ [locked] CMSMS 2.2 Beta
- ↳ [locked] CMSMS MLE fork
- ↳ Modules/Addon patchs
- ↳ [locked] Quality Assurance
- ↳ [locked] Accessability and Usability
- ↳ [locked] Documentation
- ↳ Media and presentations about CMSMS
- ↳ [locked] Installation, Setup and Upgrade