News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

multiple calendars

Started by The Ice Man, September 03, 2013, 04:37:25 AM

Previous topic - Next topic

The Ice Man

I havent leaned how to create a mod in SMF yet (still working on learning to theme), but would it be straight forward, to create a mod that would add dropdown list near the calendar 'post event' button, so peeps could post in different calendars?

Assuming that there is a calendar class, could I not start another instance and go from there, or is inheritance an issue? (just thinking out load)

I'm part of a gaming forum and we have a need for separate calendars for each console, ie: xbox360, PS3, PC etc


Any advice on how this could be done?

Arantor

There isn't a calendar class. Even if there were, that still wouldn't make any difference because the problem isn't the coding - it's the fact that the database has no structure to hold multiple calendars.

Also note that even if there were a class, inheriting would allow you to duplicate and modify behaviour, but inheritance wouldn't simply magically allow you to change all its behaviour without a rewrite anyway.
Holder of controversial views, all of which my own.


Advertisement: