Easy PHP Calendar - We really take care of your dates!


Go Back   Easy PHP Calendar > Integration > Wordpress

Wordpress Information about integrating the calendar with the Wordpress Content Management System.

Closed Thread
 
Thread Tools Search this Thread Display Modes

Sidebar1.php question
Old 10-14-2009, 03:05 PM   #1
yddkdd
Calendar User
 
yddkdd is offline
Join Date: Sep 2005
Posts: 22
Default Sidebar1.php question

I am not terribly proficient at code - that's why I LOVE easy php calendar. Similarly, I used Artisteer to create a Wordpress template for me. When I look at my theme, the only "sidebar" file that I have in the theme is sidebar1.php. (I have already inserted the lines into my header.php file as shown in the tutorials.)

I am not sure where in sidebar1.php to add the 3rd php statement required for the calendar to show up - it looks like a copmlicated file to me. I have posted the php file at http://www.lafayettekiwanis.org/sidebar1php.htm. Can anyone tell me what I need to do to get this last piece of the puzzle working ? Thanks very much.
 

Old 10-14-2009, 05:58 PM   #2
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

The same instructions as in the tutorial stand... Take whatever makes up a block for your theme, replicate it, and add the calendar code to it.

In your case, it would seem that a bloc consists of
HTML Code:
<div class="art-Block">
<div class="art-Block-body">
<div class="art-BlockHeader">
<div class="l"></div>
<div class="r"></div>
<div class="art-header-tag-icon">
<div class="t"><?php _e('Categories', 'kubrick'); ?></div>
</div>
</div><div class="art-BlockContent">
<div class="art-BlockContent-body">
</div>
</div>

</div>
</div>
So, figure out where you want the calendar to appear, then paste this code in the proper spot to add a block to your template, and then adjust the title and the content of the block.

I'm guessing that for your theme, this would be the equivalent of the title <?php _e('Categories', 'kubrick'); ?>

And then the content would be inside of the art-BlockContent-body div.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about question marks... -=JFK=- General Support 5 11-14-2008 04:57 PM
Test or Staging Subdomain Question quella General 7 04-23-2007 08:46 AM
Integrating tool and URL Question quella General 2 09-22-2006 05:12 PM
Question about admin rights RepoMonkey General Support 13 07-06-2006 09:34 AM
TinyMCE adds a question mark to my desc when I have an image donmarvin Customizations (Themes / Templates) 6 10-14-2005 05:16 PM



All times are GMT -4. The time now is 04:12 AM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2009 NashTech, Inc.

| Home | Register | Today's Posts | Search | New Posts |