Home · Links · Contact Us
Home arrow Forums
Home
Features
FAQ
Screen Shots
Modules
Themes
Demos
Documentation
Forums
Contact Us
Download
Purchase
Quotes

" ... I want to tell you that your thyme product is functional and valuable beyond words. I cannot imagine why any portal would be without it. It is the cornerstone of our new project ..."

" ... Thanks for such a complete project, its making my job much easier. ..."

" ... I have now deployed 4 different calendars and our users love them ... "

" ... Easy to install and use and a great look/design. ..."

" ... This has to be the easiest to use program I think I've had to deal with at all this year. ..."


  FAQFAQ    SearchSearch  RegisterRegister   Log inLog in 
Javascript Events: More options

 
Post new topic   Reply to topic     Forum Index -> Modules
View previous topic :: View next topic  
Author Message
niskypto



Joined: 17 Mar 2007
Posts: 127
Location: New York

PostPosted: Wed Aug 29, 2007 1:01 am    Post subject: Javascript Events: More options Reply with quote

I'm really having fun with the java elist.

I wish that the category or calendar was also listed in the output. For me, all my public calendars are views. And so a typical js elist will display events from 4 different calendars. To key the user into what event (calendar) it's from, it would be great to have something like the list below where the calendar is in parentheses. Is this simple to include? Thanks.

Labor Day (Vacation Calendar)
Mon, Sep 3 All Day

Staff orientation and development (School Calendar)
Tue, Sep 4 All Day

Classes begin (District Calendar)
Wed, Sep 5 All Day

First Full Day of Kindergarten (District Calendar)
Fri, Sep 7 All Day
Back to top
View user's profile Send private message Visit poster's website
esoft_ian



Joined: 12 Sep 2005
Posts: 5268

PostPosted: Thu Aug 30, 2007 12:59 pm    Post subject: Reply with quote

You could add this in pretty easily. Edit modules/js_eventlist/elist.php and change line 194 from:

Code:
 echo(_mk_link($link,$e->title,'thyme_item') ."<br />");


to ..

Code:
 echo(_mk_link($link,$e->title,'thyme_item') ." ( {$e->cal_obj->title} )<br />");
Back to top
View user's profile Send private message Visit poster's website
niskypto



Joined: 17 Mar 2007
Posts: 127
Location: New York

PostPosted: Thu Aug 30, 2007 2:27 pm    Post subject: Reply with quote

Very nice! Thanks Ian.

Maybe make this an option for the js elist module....
Back to top
View user's profile Send private message Visit poster's website
niskypto



Joined: 17 Mar 2007
Posts: 127
Location: New York

PostPosted: Wed Oct 31, 2007 2:46 pm    Post subject: elist.php Reply with quote

I still think the option to include the calendar like "(Holidays)" in the jscript list is required.

While I have edited the code to enable this, it would be nice to simply have the option when configuring it within the Thyme GUI.
Back to top
View user's profile Send private message Visit poster's website
niskypto



Joined: 17 Mar 2007
Posts: 127
Location: New York

PostPosted: Tue Nov 06, 2007 4:46 pm    Post subject: Reply with quote

Yes? No? Future version option?
Back to top
View user's profile Send private message Visit poster's website
esoft_ian



Joined: 12 Sep 2005
Posts: 5268

PostPosted: Tue Nov 06, 2007 5:06 pm    Post subject: Reply with quote

Hi,

I will add it and update this post when I get a chance.
Back to top
View user's profile Send private message Visit poster's website
CavySpirit



Joined: 17 Sep 2007
Posts: 18

PostPosted: Wed Nov 07, 2007 5:21 pm    Post subject: Reply with quote

What would be the code to list the category instead of the calendar?
Back to top
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5268

PostPosted: Wed Nov 07, 2007 6:45 pm    Post subject: Reply with quote

Hi,

Code:
echo(_mk_link($link,$e->title,'thyme_item') ." ( {$e->category} )>br /<");
Back to top
View user's profile Send private message Visit poster's website
CavySpirit



Joined: 17 Sep 2007
Posts: 18

PostPosted: Wed Nov 07, 2007 7:28 pm    Post subject: Reply with quote

Cool. Thanks so much.
Back to top
View user's profile Send private message
niskypto



Joined: 17 Mar 2007
Posts: 127
Location: New York

PostPosted: Fri Nov 30, 2007 6:40 pm    Post subject: Reply with quote

esoft_ian wrote:
Hi,

I will add it and update this post when I get a chance.


OK, thanks...and take some time off for the holidays: You deserve it. Razz
Back to top
View user's profile Send private message Visit poster's website
niskypto



Joined: 17 Mar 2007
Posts: 127
Location: New York

PostPosted: Thu Dec 20, 2007 1:35 pm    Post subject: Reply with quote

Thank-you for updating this module. Very Happy
Back to top
View user's profile Send private message Visit poster's website
niskypto



Joined: 17 Mar 2007
Posts: 127
Location: New York

PostPosted: Thu Feb 07, 2008 8:56 pm    Post subject: Reply with quote

A very minor and simple change request: When the categories are listed in the javascript elist, there are spaces on each side of the parentheses:

( club social )

It would look better to just have...

(club social)

Don't ya think?

Thanks!
Back to top
View user's profile Send private message Visit poster's website
niskypto



Joined: 17 Mar 2007
Posts: 127
Location: New York

PostPosted: Fri Feb 29, 2008 7:20 pm    Post subject: Reply with quote

bump

I think this is a simple format fix...
( {$e->cal_obj->title} ) to ({$e->cal_obj->title})

I can do it, but an update would be appreciated.
Back to top
View user's profile Send private message Visit poster's website
niskypto



Joined: 17 Mar 2007
Posts: 127
Location: New York

PostPosted: Sat May 17, 2008 9:19 pm    Post subject: Reply with quote

Sorry for the bump....

But this is a real simple update for the installer...remove the spaces (category) rather than ( category ). Wink

Code:
({$e->category})>br /<");


I have done this manually, but it would be nice to share.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Modules All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
© 2005 eXtrovert software unless otherwise noted. All rights reserved.
Portions © 2004 Ben Brown. All rights reserved.
Trademarks are property of their respective owners.