Multi line sql field

12 years 9 months ago #170260 by jpapan
Multi line sql field was created by jpapan
Is there a way to have a sql field which will have two or more rows or lines? Now I only can have one line and if it is bigger than a line it takes more lines. I am using sql statements like GROUP_CONCAT

Please Log in to join the conversation.

12 years 9 months ago #170278 by krileon
Replied by krileon on topic Re: Multi line sql field
Incubator project CB Query Field is the only SQL field that I am aware of. Don't understand what you mean by multi-line however. You can set the field within field management to be on 2 rows if you like, simply set it to display on 2 lines instead of 1 by editing the field within field management. CB Query Field simply outputs your select as the fields value and nothing more. If you need line breaks then add them to your query's select.


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 to join the conversation.

12 years 9 months ago #170383 by jpapan
Replied by jpapan on topic Re: Multi line sql field
I added the break line to the select but it is printed as it is (text) not html parsed.

Please Log in to join the conversation.

12 years 9 months ago #170414 by krileon
Replied by krileon on topic Re: Multi line sql field
Please provide how you're structuring your query. Reviewed source and htmlspecials is not applied.


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 to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.216 seconds