Calendar Hook Lenght
Submitted svit, Apr 13 2012 01:01 AM | Last updated Apr 13 2012 01:01 AM
Hello I consider this to be a bug.
I believe there should be an event count limit (e.g. 5 events) in the calendar hook so that the hook doesnt look 1km long. It isn't practical to have it cut by a time range only. I believe all of us need to have the hook not to break the look of the board index - for example if there are 5 events scheduled for a week that will happen in 9 months.. then to have them shown I have to set the time range 9 months, doing so.. if someone submits 10 events which happen in 1 month the calendar hook becomes 14 events long.. simply..by the current system we have no control over the length of the hook.
Marcher has helped me with a patch for the previous IPB but in 3.3.1 it doesnt seem to work and I think it should be incorporated in the official package.
http://community.inv...-calendar-hook/
I have received no help from the support team stating that they would have to change the code for me.
I believe there should be an event count limit (e.g. 5 events) in the calendar hook so that the hook doesnt look 1km long. It isn't practical to have it cut by a time range only. I believe all of us need to have the hook not to break the look of the board index - for example if there are 5 events scheduled for a week that will happen in 9 months.. then to have them shown I have to set the time range 9 months, doing so.. if someone submits 10 events which happen in 1 month the calendar hook becomes 14 events long.. simply..by the current system we have no control over the length of the hook.
Marcher has helped me with a patch for the previous IPB but in 3.3.1 it doesnt seem to work and I think it should be incorporated in the official package.
http://community.inv...-calendar-hook/
I have received no help from the support team stating that they would have to change the code for me.
| Status: | Not a Bug |
| Version: | 3.3.0 |
| Fixed In: |











2 Comments
<if test="calendarEventsOuter:|:$events OR !$this->settings['autohide_calendar']"> <div class='ipsSideBlock clearfix'> <h3>{$this->lang->words['upcoming_events']}</h3> <div class='_sbcollapsable'> <if test="calendarEventsInner:|:is_array( $events )"> <ul itemscope itemtype="http://schema.org/Event" class='ipsList_withminiphoto'> <if test="$this->_count=0"></if> <foreach loop="upcomingevents:$events as $event"> <if test="$this->_count++"></if> <if test="$this->_count<=5"> <li class='clearfix'> <if test="hasCalendar:|:is_array($event['calendar'])"> <a href="{parse url="app=calendar&module=calendar&section=view&cal_id={$event['calendar']['cal_id']}" base="public" seotitle="{$event['calendar']['cal_title_seo']}" template="cal_calendar"}"><span class='ipsBadge ipsBadge_lightgrey'>{$event['calendar']['cal_title']}</span></a> </if> <a itemprop="url" href='{$event['url']}' title='{$event['date']}'><span itemprop="name">{$event['title']}</span></a> <br /> <span class='date ipsType_small desc'>{$this->lang->words['next_occurrence']} {$event['date']}</span> <meta itemprop="startDate" content="{$event['isoDate']}" /> </li> </if> </foreach> </ul> <else /> <span class='desc'>{$events}</span> </if> </div> </div> </if>