PDA

View Full Version : Is this possible?


keelyak
11-11-2008, 06:51 PM
So .. I'm not sure if this is possible. :ugh:

I have placed EPC on one of my sidebars in the Wordpress site I'm building; it's running in Blog Mode, so the "event info" shows up beneath the calendar and switches based on what ever date is picked, yatta yatta. Works great!

But here's a question ..

Is there any way to move the table where the "event info" is displayed into the main content area of my site? IE .. where normal posts (and pages, ETC) would be displayed.

That way, when a visitor would click the date on the calendar in the sidebar, it's information would show up in the "main" area of the page?

I suppose I could just move

<?php
$EPCBLOG=2;
$template="blog.php";
$DF = "F d, Y";
require("calendar/calendar.php");
?>into the desired area. But it would be visible all the time, correct?
Is there a way to make it so the blogged "event info" is ONLY visible (only loads into the main content area) when somebody selects a date on the calendar, but the info is navigated away from when other areas of the site are being browsed?

If that made no sense, I apologize. I'm just brainstorming and curious about EPC's potential. So far, it's a pretty killer little program!

I'm a far cry from PHP expert. So any input would be appreciated. :)

And if this is totally impossible, I'll understand and come up with another plan.

Thanks!

ve9gra
11-11-2008, 07:58 PM
This is possible but you will need to create a new WP page to put the Blog List mode on.. then there are a few tweaks required on the calendar to redirect clicks to the new page..

Do you have a deadline for this, or do you have some leeway? I could post something on my site on how to do this and make it really clear so that anyone could do this... or give you the very quick and dirty instructions and then help you fix any bugs as they come out.

keelyak
11-11-2008, 08:18 PM
No real deadline.

So feel free to come up with a good tutorial for your site and I'll hit that up when ever you publish it.

Thanks. :)

Tal
12-06-2008, 02:11 PM
Is what you want to achieve like what I'm running on this site? Calendar on the sidebar (click the arrow to go to Jan, there are no events in December) then click on one of the dates that has an event and it'll open the details in the main part of the site. http://www.fannishinquisition.com

ve9gra
12-06-2008, 10:55 PM
That is exactly what the tutorial will explain [if I can just get it done]. I've now added a reminder for myself to get this done as soon as possible.

The quick and dirty steps are that you need to use the $thisFile variable, make up your own navigation table (tutorial is already done for this), have a page in WP, and the calendar in the sidebar.