
As I said, "I used the Joomla headTags module to inject my script into the head." This injects my scripts before CB's jQuery scripts (but so does CB Auto Actions - see the end of this posting).Where are you trying to add your custom JavaScript?
Please Log in or Create an account to join the conversation.

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

Do you mean "First one being the library JavaScript, and the second one being your jQuery"?Your Code action can have 2 rows. First one being your JavaScript and the second one being your jQuery.
Please Log in or Create an account to join the conversation.

Sure, you can have as many rows as you want. So load the CSS, then your JavaScript, and finally apply your jQuery. It'll output into the header in the proper orders automatically.Do you mean "First one being the library JavaScript, and the second one being your jQuery"?
And presumably I still have the CSS before them both?
You would just provide whatever your jQuery is. For example the below should work fine to add a new validation method. You don't need to do any of the encapsulation you're doing.Q2. When you say "the jQuery method", it's not clear (to me) exactly what syntax will be expected. The Reference Guide for CB Auto Actions doesn't go into this much detail. And searching forums gives various syntaxes, but none look close enough to my case to be able to rely on them.
Please Log in or Create an account to join the conversation.

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

Correct. All the wrapper code is handled automatically on output.I think CB needs it to look like the following. I believe the scoping and execution order will all still work:
Please Log in or Create an account to join the conversation.