Skip to Content Skip to Menu

avatar field is missing the default option

  • carin
  • carin
  • OFFLINE
  • Posts: 417
  • Thanks: 18
  • Karma: 0
10 years 1 month ago - 10 years 1 month ago #248811 by carin
Replied by carin on topic avatar field is missing the default option
I figured out that the cause of the problem ist not 3rd party plugins but the CB query field plugin. As soon as I disable my custom field that is based on the CB query field plugin the avatar field works as expected.

This is the query I use:
SELECT #__comprofiler.id as schoolid,CONCAT_WS('',(SELECT #__country_info.iso FROM #__country_info,#__comprofiler WHERE schoolid=#__comprofiler.id AND #__country_info.id=#__comprofiler.cb_country),' ',cb_zipcode,' ',cb_city,' | ', cb_school) AS schoolname FROM #__comprofiler WHERE cb_usertype=18 ORDER BY schoolname ASC

(#__country_info is my own custom table)

How can this query screw up the form? What can I do to have both a working avatar field and my custom query?

Thanks

CB 2.0
Last edit: 10 years 1 month ago by carin.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48479
  • Thanks: 8283
  • Karma: 1443
10 years 1 month ago #248853 by krileon
Replied by krileon on topic avatar field is missing the default option
Enable debug mode and maximum error reporting in Joomla global configuration. You should see a fatal error if your query is invalid, which is the only way I can think of it causing your issue. I can't see any reason for CB Query Field to break your image field other than that. It's difficult to see what's going on in your query, but it doesn't appear valid.


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.

Moderators: beatnantkrileon
Powered by Kunena Forum