[EventCalendar] Help needed to change the navigation bar

Jeff Cole news2 at clear-vision.org
Tue Dec 6 13:52:41 GMT 2011


 Hi Nico

I can offer you this:

To remove the ical subscription comment out the lines in
calendar-sidebar.php line 130ff

    $nav .= "\t<td><img id='$ec3spinnerid' style='display:none' src='"
       . $ec3->myfiles . "/ec_load.gif' alt='spinner' />";
    // iCalendar link.
    //$webcal=get_feed_link('ical');
    // Macintosh always understands webcal:// protocol.
    // It's hard to guess on other platforms, so stick to http://
    //if(strstr($_SERVER['HTTP_USER_AGENT'],'Mac OS X'))
    //    $webcal=preg_replace('/^http:/','webcal:',$webcal);
    //$nav .= "\t    <a id='$ec3publishid' href='$webcal'"
    //   . " title='" . __('Subscribe to iCalendar.','ec3') ."'>"
    //   . "\t     <img src='$ec3->myfiles/publish.gif' alt='iCalendar' />"
    //   . "\t    </a>";
    $nav .= "\t</td>";

Thanks your request prompted me to look at my set up and I found that my
feedburner link was appearing in the iCal subscription, which is a bit
unhelpful and I've already got an iCal subscription in my sidebar
separately so I can just delete this button.

Regards

Jeff

On 6 December 2011 00:49, Nico Vial <royalcasinobonus at gmail.com> wrote:

> Hi,
>
> I'd like to remove the iCalendar subscription and replace it by the
> current month.
>
> Replace this:
>  <nov | ec3_ical | jan>
>
> By this:
>  <nov | December 2011 | jan>
>
> And then delete the caption cell which will be unnecessary.
>
> Hope that someone can help me on this one!
>
> Thanks in advance.
> Nico
>
>
>
> _______________________________________________
> Blog: http://wpcal.firetree.net/
> EventCalendar at firetree.net mailing list
> Unsubscribe: http://penguin.firetree.net/eventcalendar
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://penguin.firetree.net/pipermail/eventcalendar/attachments/20111206/022c0e24/attachment.htm>


More information about the EventCalendar mailing list