TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,913
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 508
  • Total: 508

[Block] Calendar Event Extraction (php Article)

Started by tim antley, May 04, 2009, 09:14:17 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Zetan

Almost.. well, it fixed the layout  :P


Parse error: syntax error, unexpected ')' in /home/*******/public_html/Sources/Load.php(1759) : eval()'d code(979) : eval()'d code on line 28

Zetan


Ianedres

Crazy day, with a rush to try to fix things. It is stuff like that this that makes coding so much fun!

Corrected the exit routine and posted the fix into the original post at the top of the thread. Also made the change to the similar block snippet for posting to a board.

Thanks for finding the issue; should be good to go now. :coolsmiley:

IchBin

Good thing you caught that.... I almost $foo-- on you. :P

Nice snippet though! :up:

jirsh

Is there a way to make the displayed events clickable/linkable to the calendar or post? Is there a way to make it show birthdays and holidays? Thanks.

Ianedres

Will look into the clickable events, as that would follow typical use anyway.

As for birthdays and holidays, can look into that but I thought there was some existing snippets for such things.

jirsh

Thanks, I mean for the Holidays and Birhtdays to show in your block

jirsh

Also, is there an easy way to change the font sizes?

Ianedres

Changing the font sizes is set with the $css_event variable; match it to something in your theme's style.css file for your site.

Ianedres

Rushed my answer today; the events were already clickable if they have a posted topic.

Also, will be updating the original code in the first post of this topic to accommodate the request for birthdays and holidays to be included with any scheduled events. You can select what to display in any combination of the three choices.

This website is proudly hosted on Crocweb Cloud Website Hosting.