[EventCalendar] ec3_get_schedule
Mark Naylor
MarkNaylor at signet-solutions.com
Thu Oct 25 07:47:06 UTC 2007
Hi Alex,
As requested the snippet of my index template.
<?php get_header() ?>
<!--This is index template-->
<?php get_sidebar() ?>
<div class="right">
<div
class="search">
<div
class="search_txt">
</div><!--search_txt-->
</div><!--search-->
<div
class="content"><br style="line-height:24px "/>
<div class="article">
<?php while ( have_posts() ) : the_post() ?>
<div class="head_bg">
<div class="table2">
<div class="table_row2">
<div class="date">
<div class="date_txt"><?php the_time('F j, Y'); ?></div><!--date_txt-->
</div><!--date-->
<div class="head">
<div class="head_txt">
<a href="<?php the_permalink() ?>" title="<?php printf(__('Permalink to
%s', 'sandbox'), wp_specialchars(get_the_title(), 1)) ?>"
rel="bookmark"><?php the_title() ?></a><br/>Author: <?php the_author();
?>
</div><!--head_txt-->
</div><!--head-->
</div><!--table_row2-->
</div><!--table2-->
</div><!--article-->
<div class="cont_bg">
<div class="content_txt">
<?php echo ec3_the_schedule(); ?>
<?php the_content(''.__('Read More <span
class="meta-nav">»</span>', 'sandbox').''); ?>
<?php link_pages("\t\t\t\t\t<div class='page-link'>".__('Pages: ',
'sandbox'), "</div><!--page-link-->\n", 'number'); ?>
</div><!--content_txt-->
</div><!--cont_bg-->
<div class="more_bg">
<div class="content_more">
<a href="<?php comments_link(); ?>">Read Comments</a>
</div><!--content_mare-->
</div><!--more_bg-->
<img
src="http://osc.templatemonster.com/wordpress_11368/wp-content/themes/th
eme62/images/hr2.jpg" alt="" width="722" height="3" align="top"
style="margin:4px 0px 25px 0px "/>
<?php endwhile ?>
</div><!--article-->
<div style="clear:both; font-size:20px;
line-height:20px"><br/></div>
</div>
</div>
</div>
</div>
<?php get_footer() ?>
I have tried <?php echo ec3_the_schedule(); ?> and <?php
ec3_the_schedule(); ?>
And I get no output from either.
Thanks
Mark
-----Original Message-----
From: eventcalendar-bounces at firetree.net
[mailto:eventcalendar-bounces at firetree.net] On Behalf Of Alex Tingle
Sent: 24 October 2007 22:57
To: Support for EventCalendar plugin
Subject: Re: [EventCalendar] ec3_get_schedule
Hi Mark,
Mark Naylor wrote:
> Hi alex,
> Thanks for answering.
> I am afraid that doesn't work either.
> I have tried every solution I can think of, and am stumped.
> I don't normally hand off looking for a solution, but if u want to
have a look at the source, then ill provide a login for you.
Sorry to hear that you are still having trouble. Before giving me a
log-on, why don't you just post a copy of the whole file that contains
the troublesome fragment.
-Alex
--
>
> -----Original Message-----
> From: "Alex Tingle" <alex at firetree.net>
> To: "Support for EventCalendar plugin" <eventcalendar at firetree.net>
> Sent: 10/24/07 6:07 PM
> Subject: Re: [EventCalendar] ec3_get_schedule
>
> Hi Mark,
>
> ec3_get_schedule() returns the HTML as a string. You want to print it
> out. So use...
> ec3_the_schedule()
>
> regards,
>
> -Alex
>
> --
> :: Let me solve your problems: http://www.firetree.net/alex/
> :: alex.tingle AT firetree.net +44-7901-552763
>
> On 24 Oct 2007, at 10:27, Mark Naylor wrote:
>
>> Hi guys,
>> I am a regular user of event calendar on several blogs.
>> I'm trying to use this fragment to show a schedule in my post.
>>
>> <?php ec3_get_schedule('%s; ','%1$s %3$s %2$s. ','[ %s] '); ?>
>>
>> (straight from the wpcal site)
>>
>> I have turned on the schedule in event calendar, so I get the default
>> format schedule anyway. I have this fragment immediatley after the
>> <div class="content_txt">
>>
>> I think that this means I should have 2 schedules (the effect I want
>> for now).
>> That doesn't happen. There is no output from this statement at all.
>>
>> If I use <?php ec3_get_schedule(); ?>
>>
>> There is no output either. Am I making an error here?
>>
>> I just want to be able to use the statement so I can style the
output.
>> Previously I hacked the core files, but it is not elegant, and I want
>> to do it right :)
>>
>> The behaviour can be seen at
>> http://www.spondonoffroad.co.uk/Test/?cat=7
>>
>> Regards
>> Mark
>>
>> _______________________________________________
>> Blog: http://wpcal.firetree.net/
>> EventCalendar at firetree.net mailing list
>> Unsubscribe: http://penguin.firetree.net/eventcalendar
>
>
> _______________________________________________
> Blog: http://wpcal.firetree.net/
> EventCalendar at firetree.net mailing list
> Unsubscribe: http://penguin.firetree.net/eventcalendar
>
>
> _______________________________________________
> Blog: http://wpcal.firetree.net/
> EventCalendar at firetree.net mailing list
> Unsubscribe: http://penguin.firetree.net/eventcalendar
--
:: Let me solve your problems: http://www.firetree.net/consulting/
:: alex.tingle AT firetree.net +44-7901-552763
_______________________________________________
Blog: http://wpcal.firetree.net/
EventCalendar at firetree.net mailing list
Unsubscribe: http://penguin.firetree.net/eventcalendar
More information about the EventCalendar
mailing list