Home Forum
Qivva Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Feature request: Each category its own Color
(0 viewing) 
Go to bottom Favoured: 1
TOPIC: Feature request: Each category its own Color
#1783
CheshireCat
Senior Boarder
Posts: 61
graphgraph
User Offline Click here to see the profile of this user
Re:Feature request: Each category its own Color 9 Years, 10 Months ago Karma: 1
After playing with this a bit I decided I wanted to show with the highest weighted category option (2) that there was more and not just the one event. I have thus added option 4 which is like option 2 except if there were more events then it appends 'm' to the class e.g. I get a class like td.mod_eventlistcalq_caldaylink_c_1m rather than just td.mod_eventlistcalq_caldaylink_c_1

For the reference CSS I'm settling on 3 main colours thus total classes is around 13 i.e. for example,

.eventcalq td.mod_eventlistcalq_caltodaylink a:hover,
.eventcalq td.mod_eventlistcalq_caltodaylink_c_1 a:hover,
.eventcalq td.mod_eventlistcalq_caltodaylink_c_2 a:hover,
.eventcalq td.mod_eventlistcalq_caltodaylink_c_3 a:hover,
.eventcalq td.mod_eventlistcalq_caltodaylink_c_1_2 a:hover,
.eventcalq td.mod_eventlistcalq_caltodaylink_c_1_3 a:hover,
.eventcalq td.mod_eventlistcalq_caltodaylink_c_1_2_3 a:hover,
.eventcalq td.mod_eventlistcalq_caltodaylink_c_2_3 a:hover,
.eventcalq td.mod_eventlistcalq_caltodaylink_c_1m a:hover,
.eventcalq td.mod_eventlistcalq_caltodaylink_c_2m a:hover,
.eventcalq td.mod_eventlistcalq_caltodaylink_c_3m a:hover,
.eventcalq td.mod_eventlistcalq_caltodaylink_n_1 a:hover,
.eventcalq td.mod_eventlistcalq_caltodaylink_n_2 a:hover,
.eventcalq td.mod_eventlistcalq_caltodaylink_n_3 a:hover
 
Logged Logged
  The administrator has disabled public write access.
#1785
CheshireCat
Senior Boarder
Posts: 61
graphgraph
User Offline Click here to see the profile of this user
Re:Feature request: Each category its own Color 9 Years, 10 Months ago Karma: 1
My latest release candidate. To install just FTP this up into your existing module and then to activate the colours you need to go into the module parameters in the admin and set the new options.
If you want to play with the category map then you must identify the existing category ID for your events. To do this go into the Eventlist component and click the Categories buton. On teh right of your list will be the ID. You need to decide what is a default weight (usually 1) and which of those categories the medium importance and which is the highest importance. Set the map up as a comma seperated list of categoryID=weight e.g. 1=1,2=1,4=2,5=2,6=1,7=3
File Attachment:
File Name: mod_eventlistcal15q-679fc67f464c5055b4f2404b091e726e.zip
File Size: 17426
 
Logged Logged
  The administrator has disabled public write access.
#1788
CheshireCat
Senior Boarder
Posts: 61
graphgraph
User Offline Click here to see the profile of this user
Re:Feature request: Each category its own Color 9 Years, 10 Months ago Karma: 1
Moving discussion to http://extensions.qivva.com/forum.html?func=view&catid=5&id=1787#1787 to get feedback. My release candidate is there.
 
Logged Logged
 
Last Edit: 2009/10/31 11:37 By CheshireCat.
  The administrator has disabled public write access.
#2014
RedElectro
Fresh Boarder
Posts: 3
graphgraph
User Offline
Re:Feature request: Each category its own Color 9 Years, 6 Months ago Karma: 0
I'd love to see the coloured categories feature too. In all the sites that I've used Eventlist and The Calendar module, each would've benefited from being able to set different types of event to different colours on the calendar.

The Eventlist component and Calendar Module have become an essential inclusion to the sites I've created. Thank you and keep up the good work!
 
Logged Logged
  The administrator has disabled public write access.
Go to top
Drug Amoxil Online (Amoxicillin) is used to treat many different types of infections caused by bacteria, such as ear infections, bladder infections, pneumonia, gonorrhea, and E. coli or salmonella infection. Sleeping pills: l-tryptophan, Phenergan, Unisom, Sominex - currently the most popular are the following hypnotic drugs. Click to see full text here:
Italian online pharmacy. Cialis, Viagra and other generic drugs. The best price and free shipping.
Sponsored by: sominex online shop.