Skip to Content Skip to Menu

cb query field

10 years 3 weeks ago #250420 by giorgionasis
Replied by giorgionasis on topic cb query field
ok thank you very much!

i am waiting for the update!

best regards

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48480
  • Thanks: 8283
  • Karma: 1443
10 years 3 weeks ago #250421 by krileon
Replied by krileon on topic cb query field
Ok, the HTML not working is fixed in upcoming 4.0.1 release. Should be available soon.


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.
The following user(s) said Thank You: nant

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

10 years 3 weeks ago - 10 years 3 weeks ago #250586 by giorgionasis
Replied by giorgionasis on topic cb query field
hallo

thank you for the update.

about my problem. you have explained me i should combine php code in order to achieve the right routing. i found out what should be done.

BUT once i write <?php ?> in the custom field of the "display" then after saving everything is lost. the query and the configuration of the display.

The custom area does not support php?So where am i supposed to implement that?

thank you
Last edit: 10 years 3 weeks ago by giorgionasis.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48480
  • Thanks: 8283
  • Karma: 1443
10 years 3 weeks ago #250602 by krileon
Replied by krileon on topic cb query field
No, it does not output PHP. We have no fieldtype that will output PHP at this time. One is planned, but no idea when I'll get around to being able to develop it.


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.

10 years 3 weeks ago - 10 years 3 weeks ago #250660 by giorgionasis
Replied by giorgionasis on topic cb query field
hi there!

just for the history you have advised me that this would be possible with php..and now you tell me that i cannot write php in the field. anyway with a 3rd party extensions (sourcerer from nonumber) i can write php in the field. the problem is that when i have a simple
Code:
<?php echo 'somecode' ;?>
it is saved. but when i have some more code, and specific this one
Code:
<?php require_once JPATH_SITE.'/components/com_k2/helpers/route.php'; $item->link = K2HelperRoute::getItemRoute($item->id.':'.$item->alias, $item->catid); ?>

in order to achive finally to make the link to the k2 item with proper routing, it isn`t been saved..

any idea??

thank you
Last edit: 10 years 3 weeks ago by giorgionasis.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48480
  • Thanks: 8283
  • Karma: 1443
10 years 3 weeks ago - 10 years 3 weeks ago #250736 by krileon
Replied by krileon on topic cb query field
I was explaining that you need PHP to generate a proper K2 SEFed URL. However, we do not have any fields that can output custom PHP like that. One is planned, but it's not developed yet. You could try enabling content plugin parsing under Layouts then use a 3rd party Joomla content plugin that parses PHP to see if it can do what you're wanting.


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.
Last edit: 10 years 3 weeks ago by krileon.
The following user(s) said Thank You: giorgionasis

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

Moderators: beatnantkrileon
Powered by Kunena Forum