Skip to Content Skip to Menu

[SOLVED] Change field color using class

  • dotcom22
  • dotcom22
  • OFFLINE
  • Posts: 522
  • Thanks: 14
  • Karma: 4
9 years 10 months ago #255727 by dotcom22
Replied by dotcom22 on topic Change field color using class
You right is much better in this way and the use of custom class allow more control.

I made a query for quickly add my custom class name in all specific field type such Text:

Code:
UPDATE `jos_comprofiler_fields` SET `cssclass` = 'Myclasstxt' WHERE `Type` = 'text'

That work for Text field but not for Single Select drop down type and Textarea. Adding type such 'select' or 'mediumtext' in the query don't work. How to format ?

I use Joomla 3.3.6 - CB 2.0.4 - CBSubs 4 - Several Incubator plugins

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48482
  • Thanks: 8283
  • Karma: 1443
9 years 10 months ago #255785 by krileon
Replied by krileon on topic Change field color using class
Each fieldtype has a unique type value. Text only applies to text fields. List of some types as follows.

Check Box (Single) = checkbox
Check Box (Multiple) = multicheckbox
Date = date
Datetime = datetime
Drop Down (Single Select) = select
Drop Down (Multi-select) = multiselect
Email Address = emailaddress
Editor Text Area = editorta
Text Area = textarea
Text Field = text
Integer Number = integer
Radio Buttons = radio
Web Address = webaddress
Image = image
Password = password
Custom HTML = delimiter
File = file
Video = video
Audio = audio
Rating = rating
Points = points
Terms and Conditions = terms
Plan Image = planimage
Gravatar = gravatar
Query = query
Query Check Box (Multiple) = querymulticheckbox
Query Drop Down (Multi-select) = querymultiselect
Query Drop Down (Single Select) = queryselect
Query Radio Buttons = queryradio
Progress = progress
Forum Status = forumstats
Auto Join = cbgjautojoin


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • dotcom22
  • dotcom22
  • OFFLINE
  • Posts: 522
  • Thanks: 14
  • Karma: 4
9 years 10 months ago #255801 by dotcom22
Replied by dotcom22 on topic Change field color using class
So the field type was well right at my side but the query as been not executed because I forgot to change prefix database (test site VS live site)...sorry. :S :blush:

Now all is fine, thank.

I use Joomla 3.3.6 - CB 2.0.4 - CBSubs 4 - Several Incubator plugins

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum