[EventCalendar] Widget formatting?

firetree_ec3 at spamex.com firetree_ec3 at spamex.com
Mon May 12 12:36:20 UTC 2008


> In order to get php code to work in a text widget, you'll need to  
> get something like the Exec-PHP plugin (http://wordpress.org/extend/plugins/exec-php/ 
> ).

MAJOR caveat:

The Exec-PHP plugin allows anyone who can write an article to write  
EXECUTABLE PHP ON YOUR SERVER!

You'd darn well better trust the people you let author articles.

On May 12, 2008, at 8:03 AM, Trevor Bain wrote:

> * Replies will be sent through Spamex to eventcalendar at firetree.net
> * For additional info click -> http://www.spamex.com/i/?v=17832931
>
> In order to get php code to work in a text widget, you'll need to  
> get something like the Exec-PHP plugin (http://wordpress.org/extend/plugins/exec-php/ 
> ).
>
> I'm not a calendar user but I assume that's the issue you're running  
> into.
>
> Hope that helps,
>
> Trevor
>
>
> On 12-May-08, at 7:27 AM, Unwork Studio wrote:
>
>> Hi,
>>
>> Firstly, great plugin - exactly what I was looking for.
>>
>> However, I'm struggling to make a small adjustment to the way the  
>> 'upcoming event' widget displays the events ...
>>
>> What I am trying to achieve is already documented on your site;
>> Example 1. No special headers:
>> <li>Events <?php
>> ec3_get_events(
>>   '5',                               // limit
>>   '%DATE%: <a href="%LINK%">%TITLE%</a>', // template_event
>>   ''                                      // template_day
>> );
>> ?></li>
>> 2 January: First event.
>> 5 January: Second event.
>>
>>
>> I can achieve this by pasting the code directly into my  
>> dynamic_sidebar.php (I am using widgets) but cannot find where I  
>> can edit the actual widget to achieve the same effect? I've even  
>> tried pasting the code into a text widget but this does not seem to  
>> work (no php?).
>>
>> I'm not a coder so I have to fiddle around in a trial and error  
>> kind of way to see if things work or not but I'm struggling with  
>> something that seems so simple ... can anyone help?
>>
>> Thanks,
>>
>> Jason
>> _______________________________________________
>> 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

catchall account




More information about the EventCalendar mailing list