Skip to Content Skip to Menu

🕒 Save Time and Effort with CB Editor Assistant: Effortlessly create and refine content in Joomla 3, 4, & 5.
🎁 Limited Offer: Enjoy a 5-day FREE trial and save up to 30% afterward!

[SOLVED] Strange result for query field

  • krileon
  • krileon
  • ONLINE
  • Posts: 48708
  • Thanks: 8319
  • Karma: 1447
12 years 2 months ago #214488 by krileon
Replied by krileon on topic Re: Strange result for query field
For substitutions to work properly the fields will need to be visible on profile. You can however move them to a tab that is in a not shown on profile position and this would easily hide them from public eye, but still allow their substitutions to work. Alternative is to adjust your substitutions to try and display the userlist view instead of the profile view (default).


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.

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
12 years 2 months ago #214515 by fribse2011
Replied by fribse2011 on topic Re: Strange result for query field
That's an annoying limitation, as I have the delimiter field showing.
The construct is that I have a tab holding the address, that contains a street, and a zipcode / city.
I want the user to enter the zipcode, and then I'll provide the city via query.

The suggestion of moving the zip code to a seperate tab, that's hidden in the profile, and then have the user enter street on one tab, and zip on another when they edit the profile, for me to show them neatly, makes it clumsy or even ugly.

How would I make two fields appear side by side on the profile and in the list? Is that what you suggest as the alternative? Not sure how to do that.

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48708
  • Thanks: 8319
  • Karma: 1447
12 years 2 months ago #214516 by krileon
Replied by krileon on topic Re: Strange result for query field

How would I make two fields appear side by side on the profile and in the list?

Delimiter field with substitutions.

Is that what you suggest as the alternative?

Alternative is something like the below.

[cb:userfield field="FIELD_NAME" reason="list" /]

This displays based off userlist accessibility, but it's probably going to have the same display restrictions.


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.

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
12 years 2 months ago #214519 by fribse2011
Replied by fribse2011 on topic Re: Strange result for query field
So, we're going in circles :-D
I think the restriction is really odd and inconvinient.

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48708
  • Thanks: 8319
  • Karma: 1447
12 years 2 months ago #214521 by krileon
Replied by krileon on topic Re: Strange result for query field
Then there's a problem with your configuration. You can't tell it to show a field then hide a field at the same time, that makes no sense. You need to review your setup and reconfigure in a more logical manner. You can also try using CB Conditional to hide the field on profile only with a condition that can't be met so it always hides.

Substitutions are designed to respect configuration and permissions. If it didn't it'd be a security hole.


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.

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
12 years 2 months ago #214522 by fribse2011
Replied by fribse2011 on topic Re: Strange result for query field
GRIN, security, hmm, please note that this started with a problem with the display of the fields, and it actually WORKED partly, it DID show the "postnummer by" delimieter until the field postnummer was empty, so please, me thinks the horse is a bit high :-D

I do understand the argument, but you've locked the system to have security on the tab level, and not the field level, and tabs can not be shown combined, ie. 'two tab in one', and fields has to all be on the profile, and some fields can have contextual similarties, but have different security levels.

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.

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

Moderators: beatnantkrileon
Powered by Kunena Forum