Skip to Content Skip to Menu

🌟Discover the Joomla AI Plugin that wrote its own story! - CB Editor Assistant 1.1now for Joomla 3, 4 & 5!
✍️ 5-Day Free Trial, then 🎯 save up to 30% with our 🛍️ Intro Offer (First 50 users, ends Dec. 31)
🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

condition about show or hide field

  • kosmos_
  • kosmos_
  • OFFLINE
  • Posts: 62
  • Thanks: 4
  • Karma: 0
9 years 11 months ago #256056 by kosmos_
condition about show or hide field was created by kosmos_
Hi.
I have birthday date field in my profile fields list for example.
I'd like to add a new field checkbox for example after birthday date field.
This checkbox will be called for example: "hide my birthday date for other users".
Is it possible to hide or show the field depends on statement of the condition checkbox?

Thanks.

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

  • heyai
  • heyai
  • OFFLINE
  • Posts: 324
  • Thanks: 79
  • Karma: 24
9 years 11 months ago #256077 by heyai
Replied by heyai on topic condition about show or hide field
Using the CB privacy plugin you can let the user decide whether to show or hide a field for other users.

hey-ai - the community for asian guys and non-asian girls

The search bar is your friend, not just decoration!
The following user(s) said Thank You: nant, kosmos_

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
9 years 11 months ago #256086 by nant
Replied by nant on topic condition about show or hide field

heyai wrote: Using the CB privacy plugin you can let the user decide whether to show or hide a field for other users.


Yup - this is the best approach as this was what the privacy plugin was designed to do.
The following user(s) said Thank You: kosmos_

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

  • kosmos_
  • kosmos_
  • OFFLINE
  • Posts: 62
  • Thanks: 4
  • Karma: 0
9 years 11 months ago - 9 years 11 months ago #256096 by kosmos_
Replied by kosmos_ on topic condition about show or hide field
It's exactly what we need.
Found a small problem. If i apply this plugin for field and edit my profile i see this bug. MultiSelect list has 100% height. See screen. Should i edit css files and fix it?

CB Privacy 4.0.2
CB 2.0.4
Joomla 3.3.6

Thanks.
Attachments:
Last edit: 9 years 11 months ago by kosmos_.

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

  • heyai
  • heyai
  • OFFLINE
  • Posts: 324
  • Thanks: 79
  • Karma: 24
9 years 11 months ago #256107 by heyai
Replied by heyai on topic condition about show or hide field

kosmos_ wrote: It's exactly what we need.
Found a small problem. If i apply this plugin for field and edit my profile i see this bug. MultiSelect list has 100% height. See screen. Should i edit css files and fix it?

CB Privacy 4.0.2
CB 2.0.4
Joomla 3.3.6

Thanks.


Are you using the standard templates or alternative ones? Yes, if you inspect this list class, you should be able to fix it.

hey-ai - the community for asian guys and non-asian girls

The search bar is your friend, not just decoration!
The following user(s) said Thank You: kosmos_

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

  • kosmos_
  • kosmos_
  • OFFLINE
  • Posts: 62
  • Thanks: 4
  • Karma: 0
9 years 11 months ago #256117 by kosmos_
Replied by kosmos_ on topic condition about show or hide field

heyai wrote:

kosmos_ wrote: It's exactly what we need.
Found a small problem. If i apply this plugin for field and edit my profile i see this bug. MultiSelect list has 100% height. See screen. Should i edit css files and fix it?

CB Privacy 4.0.2
CB 2.0.4
Joomla 3.3.6

Thanks.


Are you using the standard templates or alternative ones? Yes, if you inspect this list class, you should be able to fix it.


I use custom template for joomla, but standart for CB. Edited the file: components/com_comprofiler/plugin/templates/default/jquery/multipleselect/multiple-select.css. It looks cool now.

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

Moderators: beatnantkrileon
Powered by Kunena Forum