Technology Tools for Ministry

Community

Web-Empowered Church User Community
All Categories > Ministry Tools > Calendar Base Extension > Upcoming Events List
Total Posts: 7 - Pages (1): [1]
user picture Author: Gary Graham
Posted: Jul 12 2008 - 08:06 AM
Subject: Upcoming Events List
I am trying to get a sidebar of upcoming events that feeds from the calendar on my main page. I was looking through the forums and found this thread (http://webempoweredchurch.com/support/community/forum/single_thread/ministry-tools/calendar-base-extension/upcoming-events/), but I have been unable to follow these directions for it to work successfully on my site.

I'm still really new to TYPO3. Can anyone give me simplified directions or point me in the right direction?

Thank you,
Gary
Author: Jeff Segars
Posted: Jul 14 2008 - 09:50 AM
Subject: re: Upcoming Events List
Gary,
I guess the first question is where you want this sidebar to appear. Are you looking to have it show up on every page like Adam was or will you limit it to only a few pages (home page, etc)?

Thanks,
jeff
user picture Author: Gary Graham
Posted: Jul 14 2008 - 10:34 PM
Subject: re: re: Upcoming Events List
I apologize, Jeff - I should have been more specific.

I just want it to show on the homepage.

I've still been playing with it, but have had little success.

Thanks for your help.
Author: Jeff Segars
Posted: Jul 15 2008 - 04:27 PM
Subject: re: Upcoming Events List
Hey Gary,
Thanks for the clarification

I'd suggest copying the plugin from your existing calendar and placing it on the home page. You can then remove all of the allowed views, except for list view which should cause that to show up by default. You'll want to go into the tab for event view and make sure that Calendar Base is set to use your main calendar page as the page for single event view. This will ensure that clicking on event takes you to the correct page.

After that, you'll need to add the static Typoscript templates for Calendar Base on your home page (http://webempoweredchurch.com/support/howtos/single/add_a_static_template/) and you should be up and running. The display may not be exactly like you want, so we can work on tweaking that (feel free to hide it in the meantime), but that should at least get content to display properly.

Thanks,
Jeff
user picture Author: Gary Graham
Posted: Jul 15 2008 - 07:58 PM
Subject: re: re: Upcoming Events List
Jeff,

That got me up and running ... it is amazing how easy something can be when you know what you're doing, haha. I guess I'm ready to tweak the display. What I was thinking is something simple- just display the date and the events and times for each day. I don't really use the categories so they don't need to display like they are now. Maybe something similar to Adam's.

I really appreciate your assistance, Jeff.

Thanks,
Gary
Author: Jeff Segars
Posted: Jul 16 2008 - 01:24 PM
Subject: re: Upcoming Events List
Gary,
Glad to hear you're making progress! For the customizations, its really a two part process.

The first part is customizing the HTML templates. You'll find these at typo3conf/ext/cal/list.tmpl and phpicalendar_event.tmpl. The list.tmpl file contains the overall wrapper for the list view while phpicalendar_event.tmpl has subparts for ###TEMPLATE_PHPICALENDAR_EVENT_LIST_EVEN### and ...ODD###. By editing these subparts, you can change the way events are actually rendered in list view and remove the category and things like that.

Since these files are actually part of the extension, they'll be overwritten anytime you update to a new version of Calendar Base so that's where the second part comes in. Before you make changes, you'll want to copy the two files to fileadmin/ext-templates or any location like that. You can then go into the constant editor and change the template path for both the list template and the phpicalendar template. This should cause TYPO3 to start reading your custom template files rather than the standard ones shipped with Calendar Base.

That's a pretty high level overview of what it takes, so if you need some more details anywhere along the way, feel free to task.

Thanks,
Jeff

user picture Author: Gary Graham
Posted: Jul 30 2008 - 05:41 PM
Subject: re: Upcoming Events List
Jeff,

I was on a mission trip all last week and am just getting back around to working with this again. Thanks for the tips. I'll see what I can do!

Gary
Total Posts: 7 - Pages (1): [1]
You must login to post a message to this conference.