I can't seem to get the headers to work to separate the output in separate lines when designating multiple rows. The <div>, <p>,<table> etc tags show up as <div> (with the <>) - in other words they are not formatting correctly. I used Query in 1.5 Joomla and it worked fine, but cannot get it to work.
I am just trying to show info for members that have a certain field type, but again, they all just show up on one line with the <div>s etc showing.
Please ensure you're using the latest release of CB Query Field (3.1.1). CB doesn't do htmlspecialchars on parameters like that and there's no htmlspecialchars on the output except for the substituted user field values to prevent HTML injection. Is the HTML in the "Header" parameter under "Results" or in the query result?
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.
Not sure what you are talking about. I am using the latest query field 3.1.1. I have used the query with multiple rows and it allows in the qry_headers and qry_footers for things like <div><table>, etc - it says so right on the info icon. In joomla 1.5 - I used these a hundred times on dozens of sites and the body area allowed me to use <b> and other formatting. I am re-creating from scratch the same sites in 3.0 and now in query - I see <div> and <b> tags in the text that is rendered by CB - in other words, when I place <div> in the header - it actually reads <div> in the output - not giving me a div, but reading <div> in the content. In addition, now the editor text fields I use show up with <p><b>, etc also when it is being pulled from the [cb_column] from the other database. Again - these things all worked perfectly in 1.5 and I have re-created exactly - and no luck. Could a plugin or other setting be affecting this?
Joomla version has no affect on CB Query Field. It uses no Joomla API. I suppose a 3rd party plugin could somehow be modifying the output. Try disabling non-core CB plugins within CB > Plugin Management 1 by 1 and see if they go away. How are you checking the fields output? Just viewing the field on a users profile? Substituting it in somewhere else?
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.