[EventCalendar] RE: Event schedule box and page

Alex Tingle alex at firetree.net
Tue Sep 12 19:04:14 UTC 2006


Hi Alex,

The best way to remove the schedules from pages is to just go to the edit screen and use the user interface to delete all of the schedules. If you've done that, and you are still seeing pages with schedule boxes, then let me know - it's a bug that needs to be fixed.

-Alex

On Tue, 12 Sep 2006 20:06:41 +0300
"Linquity HELP" <help at linquity.com> wrote:

> Hi Alex,
> 
> Thank you for your notice about modification for translation. I will check
> it out tonight.
> About the main issue, removing the schedule box on pages, I have inserted
> <?php remove_filter('the_content','ec3_filter_the_content'); ?> at the top
> of the page.php
> but no success, the schedule box is still there.
> I tried something else, reading the readme files that comes with the
> distribution.
> <?php remove_filter('wp_head','ec3_action_wp_head'); ?> and it removed the
> css only.
> Am I not writing the remove_filter where it should be? It should be used on
> other template page?
> I am guessing that if I want to remove it from the pages (but not on posts)
> I have to write it
> in page.php. Am I wrong?
> 
> Thanks, best,
> Alex
> 
> 
> On 9/12/06, eventcalendar-request at firetree.net <
> eventcalendar-request at firetree.net> wrote:
> >
> > Send EventCalendar mailing list submissions to
> >         eventcalendar at firetree.net
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> >         http://penguin.firetree.net/cgi-bin/mailman/listinfo/eventcalendar
> > or, via email, send a message with subject or body 'help' to
> >         eventcalendar-request at firetree.net
> >
> > You can reach the person managing the list at
> >         eventcalendar-owner at firetree.net
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of EventCalendar digest..."
> >
> >
> > Today's Topics:
> >
> >    1. Re: Moving the database help ... (Darrell Schulte)
> >    2. Re: Event schedule box and pages (TIGA31328 at cs.com)
> >    3. Re: Event schedule box and pages (Alex Tingle)
> >    4. Re: Script error in IE (Kurt O'Connor)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Mon, 11 Sep 2006 08:13:53 -0500
> > From: Darrell Schulte <d at schulte.mn>
> > Subject: Re: [EventCalendar] Moving the database help ...
> > To: eventcalendar at firetree.net
> > Message-ID: <02850231-E39C-4E07-B959-F84D1C28D50E at schulte.mn>
> > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
> >
> >
> > On Sep 9, 2006, at 8:07 AM, Damon wrote:
> >
> > > Hello - still trying to trouble shoot my "ERROR 2013 (HY000): Lost
> > > connection to MySQL server during query" when restoring a backed up
> > > database to a different server and enabling the eventCalendar plugin
> > > (site works with plugin disabled).  I did some more trouble shooting
> >
> > Just an aside on this problem of Damon's -- I helped him "off-list"
> > yesterday and we were quite perplexed about this particular issue,
> > trying all manner of possibilities. The ultimate solution was to
> > upgrade to the development build of the plugin and modify the future
> > post dates. I don't think either of us sorted out the real nature of
> > the problem. It just seemed to conspire against us.
> >
> > Darrell
> >
> > Darrell Schulte
> > http://schulte.mn
> >
> >
> >
> >
> >
> > ------------------------------
> >
> > Message: 2
> > Date: Mon, 11 Sep 2006 14:58:47 EDT
> > From: TIGA31328 at cs.com
> > Subject: Re: [EventCalendar] Event schedule box and pages
> > To: eventcalendar at firetree.net
> > Message-ID: <c19.42ec753.32370be7 at cs.com>
> > Content-Type: text/plain; charset="us-ascii"
> >
> >
> > I dunno, I'm more of an all on type of person, I'd rather see everything
> > out
> > of the box then select anything that I don't want.  Just my two cents.  :)
> >
> > Patrick
> >
> >
> >
> > > Subj: Re: [EventCalendar] Event schedule box and pages
> > > Date:9/11/2006 3:53:18 AM Mountain Daylight Time
> > > From:peter.troxler at gmx.net
> > > CC:eventcalendar at firetree.net
> > > Received from Internet:
> > >
> > >
> > >
> > > 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
> > > >
> > >
> > >
> > > _______________________________________________
> > > EventCalendar mailing list
> > > EventCalendar at firetree.net
> > > http://penguin.firetree.net/cgi-bin/mailman/listinfo/eventcalendar
> > >
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL:
> > http://penguin.firetree.net/pipermail/eventcalendar/attachments/20060911/61d7c6c7/attachment-0001.html
> >
> > ------------------------------
> >
> > Message: 3
> > Date: Mon, 11 Sep 2006 23:17:07 +0100
> > From: Alex Tingle <alex at firetree.net>
> > Subject: Re: [EventCalendar] Event schedule box and pages
> > To: eventcalendar at firetree.net
> > Message-ID: <20060911231707.632a29b1 at localhost.localdomain>
> > Content-Type: text/plain; charset=US-ASCII
> >
> > On Mon, 11 Sep 2006 11:50:31 +0300
> > "Linquity HELP" <help at linquity.com> wrote:
> >
> > > 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.
> >
> > Oh, good point. I've fixed that now in Subversion. Give it a try:
> >
> > svn co https://svn.sourceforge.net/svnroot/wpcal/trunk/eventcalendar3
> >
> > -Alex
> >
> > --
> > :: Let me solve your problems: http://www.firetree.net/consulting/
> > :: alex.tingle AT firetree.net  +44-7901-552763
> >
> >
> >
> > ------------------------------
> >
> > Message: 4
> > Date: Mon, 11 Sep 2006 22:54:55 -0500
> > From: "Kurt O'Connor" <kurt.oconnor at gmail.com>
> > Subject: [EventCalendar] Re: Script error in IE
> > To: eventcalendar at firetree.net
> > Message-ID:
> >         <b72b236d0609112054s5956fdcfo6c27684d7baf2ded at mail.gmail.com>
> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> >
> > For anybody who ever has this problem, I finally found the issue for
> > me.  I had created a custom theme template and I needed to add
> >
> > <?php wp_head(); ?>
> >
> > to the head in the header file.  Its in the installation notes, I just
> > missed it.
> >
> >
> >
> >
> > On 5/22/06, Kurt O'Connor <kurt.oconnor at gmail.com> wrote:
> > >
> > > This is a wonderful plugin, thank you very much.  I am having an issue
> > though.  I am calling the calendar from the sidebar of a page template and
> > it works fine in Firefox, but, in IE I get an "object expected" error at
> > this location in the  popup.js file:
> > >
> > >
> > >  for(var i=0; i<calendars.length; i++)
> > >       add_tbody( ec3.get_child_by_tag_name(calendars[i],'tbody') );
> > >   } );
> > >
> > >
> > > If this has already been addressed, I apologize in advance.  A referal
> > to the solution would be much appreciated.  If more information is needed,
> > please let me know.  Thank you very much.
> > >
> >
> >
> >
> > ------------------------------
> >
> > _______________________________________________
> > EventCalendar mailing list
> > EventCalendar at firetree.net
> > http://penguin.firetree.net/cgi-bin/mailman/listinfo/eventcalendar
> >
> >
> > End of EventCalendar Digest, Vol 11, Issue 13
> > *********************************************
> >


-- 
:: Let me solve your problems: http://www.firetree.net/consulting/
:: alex.tingle AT firetree.net  +44-7901-552763 



More information about the EventCalendar mailing list