Skip to Content Skip to Menu

[SOLVED] AJAX Text vs CB Core Fields AJAX?

10 years 3 days ago - 10 years 1 day ago #252305 by zingerdigital
[SOLVED] AJAX Text vs CB Core Fields AJAX? was created by zingerdigital
Is the AJAX Text type going to be depreciated?

Should I just use a Text field type and enable CB Core Fields AJAX?

I suppose I'll loose the parameters of the AJAX Text("the balloon features") if I use a standard text fields with CB core fields AJAX.

Robert
Last edit: 10 years 1 day ago by krileon.

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
10 years 2 days ago #252317 by nant
Replied by nant on topic AJAX Text vs CB Core Fields AJAX?

zingerdigital wrote: Is the AJAX Text type going to be depreciated?


Yes, as indicated here:
www.joomlapolis.com/cb-20-addon-status

Should I just use a Text field type and enable CB Core Fields AJAX?


Correct.

I suppose I'll loose the parameters of the AJAX Text("the balloon features") if I use a standard text fields with CB core fields AJAX.


Yup. for the moment you will loses this balloon feature. Not sure of exact plans for future (maybe Kyle can chime in - also wondering if our new layout functionality can be used to replicate this feature).

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48482
  • Thanks: 8283
  • Karma: 1443
10 years 2 days ago #252342 by krileon
Replied by krileon on topic AJAX Text vs CB Core Fields AJAX?

I suppose I'll loose the parameters of the AJAX Text("the balloon features") if I use a standard text fields with CB core fields AJAX.

The balloon display was just CSS. You can add your own CSS as needed to your CB or Joomla template CSS files to style a fields output however you like. Field rows can also have a custom CSS class added to them using the CSS Class parameter. You can also use the new layouts feature to surround the value with a DIV or SPAN and add whatever CSS you like to either of those.


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 2 days ago #252347 by zingerdigital
Replied by zingerdigital on topic AJAX Text vs CB Core Fields AJAX?
What do you mean when you say "use the new layouts feature to surround the value with a DIV or SPAN"

Can you explain how to do this?

Thanks,
Robert

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48482
  • Thanks: 8283
  • Karma: 1443
10 years 2 days ago #252350 by krileon
Replied by krileon on topic AJAX Text vs CB Core Fields AJAX?
All fields can have custom layouts now. See the parameters of your fields. Under layouts you can control the display of a fields value at various locations. For example if you wanted to surround the value with a custom div you could using the below.

Code:
<div>[value]</div>


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 2 days ago #252353 by zingerdigital
Replied by zingerdigital on topic AJAX Text vs CB Core Fields AJAX?
so in the area next to "Profile Value Layout"

I could put....

<div class="myclass">[value]</div>

Then reference "myclass" in the template.css file

Correct?

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

Moderators: beatnantkrileon
Powered by Kunena Forum