Modifying Error, Warning, etc Messages

9 years 5 months ago #253197 by zingerdigital
Modifying Error, Warning, etc Messages was created by zingerdigital
The message boxes that pop up every now and then, can they be modified or removed? Maybe only show certain ones.

For example:

One of the messages that come up, when you click on a Subscription Link. It says....

---Red Box
Error
If you already have an account, please login first. Otherwise you need to register using this form. We suggest subscribing to following subscriptions:

This message seems like it should be more of a warning(yellow box) than an error(red box).

So just wanna know what changes can be done to these messages.

Thank you,
Robert

Please Log in to join the conversation.

9 years 5 months ago #253323 by krileon
Replied by krileon on topic Modifying Error, Warning, etc Messages
The first part (the following) is a language string and can be translated within your CBSubs language files.

"If you already have an account, please login first. Otherwise you need to register using this form."

The second part can also be translated, but it's a parameter within CBSubs > Settings > Display > Plans.

As for the type of message that can't be changed as that's set in core code when the message queue function is called. The only way to change it is to modify the core code, which I can not advise you on.


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 to join the conversation.

9 years 5 months ago #253339 by zingerdigital
Replied by zingerdigital on topic Modifying Error, Warning, etc Messages
I suppose I could remove the include for the message positions in my joolma template file. But, then no mesages would be shown, Im not sure if that would be good to remove all the messages.

Anyways. What about the "Error" text title for the message. Can that be changed?

Please Log in to join the conversation.

9 years 5 months ago #253362 by krileon
Replied by krileon on topic Modifying Error, Warning, etc Messages

Anyways. What about the "Error" text title for the message. Can that be changed?

CB doesn't display that. My guess is Joomla adds it for error message queue output so you should have a Joomla language string for it somewhere in your Joomla language files.


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 to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.194 seconds

Facebook Twitter LinkedIn