Resource icon

Unmaintained Widget for EventsCalendar of [8wayRun.Com] XenAtendo (Events) Add-on on WidgetFramework 2

No permission to download
After some modifications, I left to display a link to the event (if event (s)) and birthdays (if any).

Upload and overwritte existing files.

Edit EWRatendo_Daily template and replace ALL its contents by:
Rich (BB code):
<xen:require css="EWRatendo.css" />
 
<xen:if is="{$events} && {$birthdays}">
    <xen:title>{xen:phrase events}{xen:phrase and}{xen:phrase birthdays_on_x, 'month={$month}', 'day={$day}', 'year={$year}'}</xen:title>
    <xen:h1>{xen:phrase events}{xen:phrase and}{xen:phrase birthdays_on_x, 'month={$month}', 'day={$day}', 'year={$year}'}</xen:h1>
<xen:elseif is="{$events} && !{$birthdays}" />
    <xen:title>{xen:phrase events_on_x, 'month={$month}', 'day={$day}', 'year={$year}'}</xen:title>
    <xen:h1>{xen:phrase events_on_x, 'month={$month}', 'day={$day}', 'year={$year}'}</xen:h1>
<xen:elseif is="!{$events} && {$birthdays}" />
    <xen:title>{xen:phrase birthdays_on_x, 'month={$month}', 'day={$day}'}</xen:title>
    <xen:h1 class="subHeading">{xen:phrase birthdays_on_x, 'month={$month}', 'day={$day}'}</xen:h1>
<xen:else />
    <xen:title>{xen:phrase events_on_x, 'month={$month}', 'day={$day}', 'year={$year}'}</xen:title>
    <xen:h1>{xen:phrase events_on_x, 'month={$month}', 'day={$day}', 'year={$year}'}</xen:h1>
</xen:if>
 
<div class="section eventDaily">
    <xen:if is="{$events}">
        <div class="subHeading">{xen:phrase events}</div>
 
        <ol class="overlayScroll">
 
            <xen:foreach loop="$events" value="$event">
                <xen:include template="EWRatendo_Daily_Bit" />
            </xen:foreach>
        </ol>
    </xen:if>
 
    <xen:if is="{$birthdays}">
        <div class="subHeading">{xen:phrase birthdays}</div>
        <ol class="overlayScroll">
        <xen:foreach loop="$birthdays" value="$user">
            <xen:include template="member_list_item">
                <xen:set var="$extraTemplate">{xen:date $user.timeStamp, $user.format} <xen:if is="{$user.age}">({xen:phrase age}: {$user.age})</xen:if></xen:set>
            </xen:include>
        </xen:foreach>
        </ol>
    </xen:if>
 
    <div class="sectionFooter overlayOnly"><a class="button primary OverlayCloser">{xen:phrase close}</a></div>
</div>
For translations and stetic purposes, You must create a Phrase: (ACP->Appareance->Phrases->Create Phrase)
  • Title: and
  • Phrase Text: " and " (without quotes)
  • Caching this phrase globally: yes

SCREENSHOTS:

53.webp

Salud2
Top Bottom