108330403587945889

April 30th, 2004  |  Published in Uncategorized

multiple instances of postcalendar on a postnuke site

http://forums.postnuke.com/index.php?name=PNphpBB2&file=viewtopic&t=5838&highlight=duplicate+modules

Here’s some info I learned in trying to do this myself:


Files that contain the string ‘postcalendar_’:

common.api.php
plugins/function.pc_week_range.php
plugins/function.pc_date_select.php
plugins/function.pc_filter.php
plugins/function.pc_form_nav_close.php
plugins/function.pc_url.php
plugins/function.pc_view_select.php
pnadmin.php
pnadminapi.php
pnblocks/calendar.php
pninit.php
pntables.php
pnuser.php
pnuserapi.php
print.php

Files that contain the string ‘POSTCALENDAR’:

common.api.php
pcSmarty.class.php
plugins/function.pc_date_select.php
plugins/function.pc_filter.php
plugins/function.pc_form_nav_open.php
plugins/function.pc_url.php
plugins/function.pc_view_select.php
pnadmin.php
pnadminapi.php
pnblocks/calendar.php
pninit.php
pnuser.php
pnuserapi.php
pnlang/eng/popup.php
pnlang/eng/admin.php
pnlang/eng/global.php
pnlang/eng/user.php

Files that contain the string ‘PostCalendar’:

common.api.php
pnadmin.php
pnblocks/calendar.php
pnuser.php
pnuserapi.php
pnversion.php
pnlang/eng/popup.php
pnlang/eng/admin.php
pnlang/eng/global.php
pnlang/eng/user.php

Other things that need to be changed:

‘opencal’->’opencalAA’ in common.api.php
‘pcDebugVar’->’pcAADebugVar’ in common.api.php
‘pcVarPrepForDisplay’ -> ‘pcAAVarPrepForDisplay’ in common.api.php, pnuserapi.php
‘pcVarPrepHTMLDisplay’ -> ‘pcAAVarPrepHTMLDisplay’ in common.api.php, pnuserapi.php
‘pcGetTopicName’ -> ‘pcAAGetTopicName’ in common.api.php, pnuserapi.php
‘pc_notify’ -> ‘pcAA_notify’ in common.api.php
‘sort_byCategoryA’ -> ‘sortAA_byCategoryA’ in common.api.php, plugins/function.pc_sort_events.php, plugins/function.pc_sort_day.php
‘sort_byCategoryD’ -> ‘sortAA_byCategoryD’ in common.api.php, plugins/function.pc_sort_events.php, plugins/function.pc_sort_day.php
‘sort_byTitleA’ -> ‘sortAA_byTitleA’ in common.api.php, plugins/function.pc_sort_events.php, plugins/function.pc_sort_day.php
‘sort_byTitleD’ -> ‘sortAA_byTitleD’ in common.api.php, plugins/function.pc_sort_events.php, plugins/function.pc_sort_day.php
‘sort_byTimeA’ -> ‘sortAA_byTimeA’ in common.api.php, plugins/function.pc_sort_events.php, plugins/function.pc_sort_day.php
‘sort_byTimeD’ -> ‘sortAA_byTimeD’ in common.api.php, plugins/function.pc_sort_events.php, plugins/function.pc_sort_day.php
‘pc_clean’ -> ‘pcAA_clean’ in common.api.php, plugins/function.pc_popup.php

Moved plugins/function.pc_*.php to plugins/function.pcAA_*.php
Chaned ‘pc_*’ to ‘pcAA_*’ in all pntemplates/default/*.html

Comments are closed.

TODO

I've made a calendar of Chicago events I think are interesting. You can view the calendar here or load the ical in your calendar application.

DIY Chicago and the Chicago Radicalendar have a more comprehensive list of things going on.

C.R.E.A.M.

This site is hosted by 1 & 1. I started with them because they offered 3 years of free hosting and I've had no complaints sin ce. Use the link below if you're looking for hosting.