Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

Feature request Auto Actions

  • KatoKalin
  • KatoKalin
  • OFFLINE
  • Posts: 265
  • Thanks: 11
  • Karma: -5
  • Add-ons
11 years 1 day ago #236181 by KatoKalin
Feature request Auto Actions was created by KatoKalin
It is a bit of a pain to write code within the auto actions editor as it does not support any highliting and stuff.
My request would be to make use of the Joomla code mirror, which supports code.

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
11 years 1 day ago #236190 by nant
Replied by nant on topic Feature request Auto Actions

KatoKalin wrote: It is a bit of a pain to write code within the auto actions editor as it does not support any highliting and stuff.
My request would be to make use of the Joomla code mirror, which supports code.


That is a cool idea!

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

  • KatoKalin
  • KatoKalin
  • OFFLINE
  • Posts: 265
  • Thanks: 11
  • Karma: -5
  • Add-ons
11 years 21 hours ago #236193 by KatoKalin
Replied by KatoKalin on topic Feature request Auto Actions

nant wrote:

KatoKalin wrote: It is a bit of a pain to write code within the auto actions editor as it does not support any highliting and stuff.
My request would be to make use of the Joomla code mirror, which supports code.


That is a cool idea!


Thanks. Yes I like this idea as well. Of course you could write code in an IDE and copy and paste. But this is a pain if you simply need to do quick changes.

I have 2 additional ideas:

1. As the editor is quite small, maybe we could have an option to pop it up. Similiar like in phpmyadmin when you edit a query.
2. It would be great if we could have a save function for the editor without reloading the page. If you do quick changes, like correcting a typo or or other mistakes that always happen when writing code, it would be more comfortable if I would not have to scroll up every time to save the code. It would be better if I could simply save it without having to reload the entire page.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48473
  • Thanks: 8281
  • Karma: 1443
11 years 15 hours ago #236223 by krileon
Replied by krileon on topic Feature request Auto Actions
CB Auto Actions will continue to use textarea, it will not be changed. The reasons are as follows.

1. The Joomla edit can and often is bulky, which reduces work space.
2. The Joomla edit in almost all cases is very slow to load and prepare.
3. The Joomla edit tends to pad your content annoyingly with paragraph elements or whatever it feels like.
4. The Joomla edit does code stripping and will often remove a lot of what you input.
5. The Joomla edit can not be jQuery repeated. Notice the repeat buttons that let you fire multiple code actions in a single action. This would no longer work.

1. As the editor is quite small, maybe we could have an option to pop it up. Similiar like in phpmyadmin when you edit a query.

I suggest a browser like Chrome where you can drag the input as large as you need.

2. It would be great if we could have a save function for the editor without reloading the page. If you do quick changes, like correcting a typo or or other mistakes that always happen when writing code, it would be more comfortable if I would not have to scroll up every time to save the code. It would be better if I could simply save it without having to reload the entire page.

No plans to implement this. It just does not seam necessary.


I suggest everyone create their code outside of CB Auto Actions in an IDE like phpstorm, netbeans, or whatever your preferred IDE is. You then get code complete, highlighting, etc.. Once done just copy, paste, and save. Trying to code plaintext in a browser textarea is just going to be frustrating.


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.

Moderators: beatnantkrileon
Powered by Kunena Forum