[EventCalendar] Event schedule box and pages
Dr. Peter Troxler
peter.troxler at gmx.net
Mon Sep 11 09:53:04 UTC 2006
I wonder if it would be better the other way round, i.e. adding the
extra filters only where you want them to appear, but again, this
depends on the application context:
-- if the blog/site is event-centric you probably want the schedule
most of the time
-- if the blog/site is not event centric, you might be inclined to
use the box only on specific templates
BTW.
I had some troubles connected with the "Subscribe2 Sidebar Widget
V1.1 by Matthew Robinson (http://subscribe2.wordpress.com/)" when the
ec3_filter_the_content filter was on, the filter was then applied to
the sidebar-widget.
you can still see it here: http://www.stachanow.net/arac/?cat=4
(subscirbed2 widget in the right hand sidebar, near the bottom)
so I had to use the ec3 filter on the excerpt rather than the content
to get rid of this problem
(in eventcalendar3.php changed the function ec3_filter_the_content
accordingly; not a nice hack...)
as I did here: http://www.stachanow.net/dln/site/events/andrew-lyon-
iff-the-outcomes-of-research-into-modern-management/
(subscribe2 widget in the left had sidebar top)
any suggestions how to fix that in a more elegant way? (or maybe the
subscribe2 widget is the guilty one?)
/ Peter
On 11 sep 2006, at 11:13, Alex Tingle wrote:
> Add the following to the top of templates where you do NOT want to
> see the schedule box:
>
> remove_filter('the_content','ec3_filter_the_content');
> remove_filter('get_the_excerpt','ec3_get_the_excerpt');
>
> You usually only need one of these two, depending upon whether your
> loop shows content or excerpts.
>
> Let me know how you get on. If this works for people, then I want
> to put it in the standard documentation.
>
> -Alex
>
> --
> Dammit Jim, I'm a programmer... not a mind reader!
>
> On 11 Sep 2006, at 09:50, Linquity HELP wrote:
>
>> Hello all,
>>
>> I am using the latest beta of EventCalendar downloaded last week
>> together
>> with WP2.0.4
>>
>> I am wondering if I can disable the schedule box from being
>> displayed on the
>> normal pages,
>> and to appear only within posts with events. Now, it appears on
>> both pages
>> and posts loop and
>> assuming that pages are not a schedule, I would like to know how
>> can I
>> prevent
>> from showing it on normal pages.
>>
>> Another issue, where can I modify the names of the months and
>> days? I am
>> trying
>> to adapt it for a romanian concert season schedule, and currently the
>> schedule box
>> is displaying the months in english.
>>
>> Thank you,
>> Alex
>> _______________________________________________
>> EventCalendar mailing list
>> EventCalendar at firetree.net
>> http://penguin.firetree.net/cgi-bin/mailman/listinfo/eventcalendar
>
>
> _______________________________________________
> EventCalendar mailing list
> EventCalendar at firetree.net
> http://penguin.firetree.net/cgi-bin/mailman/listinfo/eventcalendar
>
More information about the EventCalendar
mailing list