[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
foodclub.org • View topic - More CSS...how to color the source drop down items red

More CSS...how to color the source drop down items red

General tech support questions and answers, for technical questions about the Foodclub system. Useful resource for new users to Foodclub, both to search for answered questions and ask new ones of experienced users.

More CSS...how to color the source drop down items red

Postby christiancoop » Sun Jun 09, 2013 3:43 pm

Hello all,
We have accumulated quite a long list of sources in the Source drop down. A user has asked that we color the locked sources with red so it is easier to identify and skip past.
Anyone have sample css for this?
christiancoop
 
Posts: 107
Joined: Wed Oct 24, 2012 12:17 pm

Re: More CSS...how to color the source drop down items red

Postby szimmermann123 » Sun Jun 09, 2013 6:19 pm

Or even if I could just put the word "LOCKED" in red, this would be great. At one time, we requested this of Adi, and it was too hard. If it can be done, it should just be done at the system level. I can't imagine anyone not wanting this feature.

Sally
szimmermann123
 
Posts: 1977
Joined: Tue Jun 09, 2009 9:46 am

Re: More CSS...how to color the source drop down items red

Postby support » Sun Jun 09, 2013 7:36 pm

Someone else just recently asked about this. The problem is that all browsers do not support changing colors of individual <option>'s in a <select> drop-down menu. In fact, I think Firefox is the only one that does. I know Safari and Chrome do not, I don't know about IE. But Safari and Chrome are also the browsers in most mobile devices, which means it wouldn't work in iphones, ipads, or android phones.

There are a few possible solutions to this problem:
1) a setting to hide all locked sources from normal (non-admin) users, in the select source menu
2) a setting to sort all the locked sources down to the bottom of the list, in the select source menu
3) complete redesign of the UI so users can shop from all open (unlocked) sources in a single UI without needing to use a select source dropdown to choose

The issue with 1) is that normal users wouldn't be able to see their current or archived invoices once a source locks. This could be a major issue.

Number 2) would be easy, and could be done in a few minutes. Let me know if that will suffice as a temporary solution.

Most users really like the sound of item 3), but it is also a fairly big development project. It's just waiting for me to get a month or two of free time. It also may confuse many of the existing users (at least at first) who have gotten used to shopping by source, at least just because the UI will be quite different. Instead of the source dropdown menu, they would be able to filter all products by source, so they could limit to a single source if they want to.

The admin side would remain mostly the same, since admins need to place orders and generate invoices per vendor. Only shopping would be in the new unified interface.
support
 
Posts: 566
Joined: Sun Mar 11, 2012 9:06 am

Re: More CSS...how to color the source drop down items red

Postby ashleycampbellclan » Mon Jun 10, 2013 8:22 am

ashleycampbellclan
 
Posts: 618
Joined: Sat Jan 16, 2010 5:03 am

Re: More CSS...how to color the source drop down items red

Postby szimmermann123 » Mon Jun 10, 2013 5:33 pm

I second Ashley's vote for option 2!

Our group has a source coordinator coordinator, this would make her job of making sure the right sources are open and closed a breeze! It would also make it very easy for our members who are simply looking for open sources.

Sally
szimmermann123
 
Posts: 1977
Joined: Tue Jun 09, 2009 9:46 am

Re: More CSS...how to color the source drop down items red

Postby Beck » Mon Jun 10, 2013 6:59 pm

Just adding that I think that this enhancement would be quite useful too.
Beck
 
Posts: 3
Joined: Mon Jun 03, 2013 8:17 pm

Re: More CSS...how to color the source drop down items red

Postby support » Wed Jun 12, 2013 12:34 am

support
 
Posts: 566
Joined: Sun Mar 11, 2012 9:06 am


Return to Support

Who is online

Users browsing this forum: No registered users and 2 guests

cron