One thing I'd love to know is - Is it possible to pull the "UPCOMING EVENTS (Within next X Days)" and place it onto another page of my website? I've got the forum installed under the ./Community/ section and would love to be able to grab that info (I'm guessing from the database) and place it into a page that's in the ./ directory. I have no idea what I'd need to look for in the php code and no idea how to open a connection / close a connection with the database using sql and php - I'm a real noob when it comes to this.
What I've got so far is the php code:
- Code: Select all
{L_SHOW_UPCOMING_EVENTS}
- Code: Select all
$s_show_upcoming_events = $config['calendar_show_events_list'];
Then a heck of a lot of code underneeth this... from if ($s_show_upcoming_events || $s_show_upcoming_birthdays) downwards...
Is there a simple way of doing this or would it be better me getting some PHP/SQL lessons and learning how to pull the stuff from the database? I would love to be able to implement this on other pages of my site. I had thought about having the whole Calendar on other pages but decided against asking due to the themes and way it'd work/not work - if this is easier or doable with not much effort then I'd love to hear too. I can pull from a database but don't a) how to set variables for which dates to show between, b) show the dates in an english form, c) say I just want the event name and then have it link to the actual topic on the calendar (if this is too much then don't worry - maybe the output of the php pull could be a simple page that includes the topic_desc - mine are short and sweet
Thanks for your time!







