Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #1  
Old 03-15-2005, 12:41 PM
squeejee Offline
forum loafer
 
Join Date: Mar 2005
Location: Spain
Posts: 8
indicate existence of comments on calendar?

Hi,
I was wondering how hard it would be to have some indication in the calendar (i.e. number in red) that there are comments for the image on a particular day. Any suggestions?
Thanks.
Reply With Quote
  #2  
Old 03-15-2005, 08:29 PM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
Your answer: not to hard!
you should modify the calander addon to make it behave as you like.
you should use a query like this

select count(*) as count from pixelpost_comments where id = $image_id

and if the count > 1 then override the style of the day $image_id has appeared.

need some scripting experince, hope you have it.
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #3  
Old 03-16-2005, 09:59 AM
squeejee Offline
forum loafer
 
Join Date: Mar 2005
Location: Spain
Posts: 8
Nope, no coding experience here unfortunately. Thanks very much for the reply anyway.
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 02:23 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs