[EventCalendar] Difficulty with the EC3 install
J.M. Foster
admin at osd.net
Fri Dec 29 00:01:03 UTC 2006
Hello -
Thanks Darrell for the help.
I have made a little progress after installing the EXEC-PHP plugin.
However, although I do get the calendar, I only get an error after it.
-----------------------------------------------------------------------
Warning: Missing argument 1 for ec3_get_events() in
/homepages/43/d113456586/htdocs/hosted-domains/spice/blog/htdocs/wp-content/plugins/eventcalendar3.php
on line 719
WordPress database error: [You have an error in your SQL syntax.
Check the manual that corresponds to your MySQL server version for
the right syntax to use near '' at line 13]
SELECT
p.id AS id,
post_title,
post_date,
u.user_nicename AS author
FROM wp_posts p, wp_post2cat p2c, wp_users u
WHERE post_status = 'publish'
AND post_date_gmt > '2006-12-28 00:00:00'
AND p.id = post_id
AND p.post_author = u.id
AND category_id = 3
ORDER BY post_date
LIMIT
* No events.
------------------------------------------------------------------------------------------
The line in question I believe is # 719 [$limit, in the
eventcalendar3.php file.
function ec3_get_events(
$limit,
$template_event='<a href="%LINK%">%TITLE% (%TIME%)</a>',
$template_day='%DATE%:',
$date_format='j F',
$template_month='',
$month_format='F Y')
I am afraid this is a little over my head.
Is there some further direction you could offer me.
I will continue to read the other resource links suggested by you
and Rusty.
Thank you !
Julie -
At 01:40 PM 12/28/2006, you wrote:
>On Dec 28, 2006, at 2:29 PM, J.M. Foster wrote:
>
>>Hello -
>>
>>I am having a bit of a problem installing the EV3.0.4 plugin.
>>
>>I have understood and followed the directions normal to file
>>placement within the wp-content/plugin subdirs.
>>
>>And I have followed the directions below:
>>You must choose which Wordpress category to use for events. Do this
>>before you change the template.
>>Add ec3_get_calendar() or ec3_get_events() to your template.
>>
>>
>>The specific question is the 2nd part in adding the
>>ec3_get_calendar () or ec3_get_events() to your template.
>>
>>Is the template referred to the file: eventcalendar3.php ?
>
>J.M., that is not it. That template is actually your theme...
>
>>If this is not the template file, the same questions apply for
>>which specific
>>file to add: ec3_get_calendar() or ec3_get.
>
><?php ec3_get_calendar() ?>
><?php ec3_get_events() ?>
>
>Place either of these on a page of your choosing, but be sure to have
>something like: Exec-PHP (http://bluesome.net/post/2005/08/18/50/) or
>another of the other plugins like it to make that function call
>within your page...
>
>For more about the functions, check out: http://wpcal.firetree.net/
>template-functions/
>
>>I want it to operate within a full page installation and not in the
>>sidebar.php.
>
>Good luck with your implementation of Event Calendar.
>
>
>Darrell
>
>Darrell Schulte
>http://schulte.mn
>
>
>
>_______________________________________________
>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/20061228/017ecb51/attachment.html
More information about the EventCalendar
mailing list