Welcome, Guest
Username: Password: Remember me

TOPIC: Information Message Formatting

Information Message Formatting 16 Aug 2016 13:11 #14452

  • organicwebs
  • organicwebs's Avatar
  • Offline
  • Premium Member
  • Chris
  • Posts: 111
  • Thank you received: 19
  • Karma: 8
I have always found the Message formatting to look poorly.

This is typically what I see...



It is formatted in such a way that I find it difficult to adjust.

Does anyone have a quick CSS fix? What do you guys do?

Chef - can you fix this?
Just call me Chris :)
The administrator has disabled public write access.

Information Message Formatting 16 Aug 2016 13:14 #14453

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3679
  • Thank you received: 965
  • Karma: 141
I know.

The form validator is furnished raw. That's why I don't like it either, I should do a poll to choose another one.

Do you know a good one to propose ? Because it seems to be the best to me.
And when I say the best, I mean also the most simple and the less intrusive (CSS / JS)
At least, this formValidator never causes compatibilities errors or collisions with bootstrap / jQuery...

The debate is open and I totally agree this is very ugly and not so easy to custom.
Coding is now a piece of cake
The administrator has disabled public write access.

Information Message Formatting 16 Aug 2016 13:16 #14454

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3679
  • Thank you received: 965
  • Karma: 141
I propose this one : bmauser.github.io/bvalidator/
But I didn't looked properly at the code.
It is similar than the one implemented, it seems a fork of it, but the naming conventions are different if I remember.
Coding is now a piece of cake
The administrator has disabled public write access.

Information Message Formatting 17 Aug 2016 13:09 #14458

  • MorganL
  • MorganL's Avatar
  • Offline
  • Platinum Member
  • Posts: 435
  • Thank you received: 53
  • Karma: 20
I was doing a site on the Gantry Framwork the other day, and whereas the nasty green boxes also popped up, Gantry has also formatted its own pretty tool tips as well that appeared on rollover

Morgan Leecy MCSE

Novell / Linux
PHP. MYSQL, Apache, node.js
Coldfusion, JQuery, HTML5
Joomla
Last Edit: 17 Aug 2016 13:12 by MorganL. Reason: image
The administrator has disabled public write access.

Information Message Formatting 17 Aug 2016 13:26 #14459

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3679
  • Thank you received: 965
  • Karma: 141
It would be possible to put the fiel description in the field description, instead of the formValidator message.
This is possible and would avoid the green boxes.
Then the rendering framework recognize the Joomla native field description.

This is a mistake of Cook. And this become more priority.
Coding is now a piece of cake
The administrator has disabled public write access.

Information Message Formatting 17 Aug 2016 14:38 #14460

  • organicwebs
  • organicwebs's Avatar
  • Offline
  • Premium Member
  • Chris
  • Posts: 111
  • Thank you received: 19
  • Karma: 8
My websites are actually written for Bootstrap 3 and I use 1000hz.github.io/bootstrap-validator/ - works a treat - but that is whole another story! (I would have mentioned a J-Cook BS3 optional feature - but you have enough work to do :lol: )

When I need to use a J-Cook component page, I use Protostar fluid template for that page and dumb it down so it looks much the same as the sand box. For the general public I usually write my own BS3 module to display the data in the way I like.

Before BS3 came out I just wrote my own simple validators and had all sorts of headaches. :pinch:

So in short, for me, I don't really know what you should use - just as long as it looks good in Protostar. (Or whatever the sandbox template is).

For Validation, I would suggest to avoid hovering boxes as they usually get in the way of things. Better to write the validation error message in a line below. See how neat bootstrap-validator works. Maybe there is a BS2 version about?

For "Information Messages", perhaps use the HTML title Attribute (www.w3schools.com/tags/att_global_title.asp ). Hovering boxes for these is OK because they disappear when you move your mouse to input.

Bootstrap does tool tips this way... www.w3schools.com/bootstrap/bootstrap_tooltip.asp (but that might be BS3)

I'm not a fan of bvalidator for these reasons. It uses hovering boxes for validation - which looks ugly when there are a lot of errors.
Just call me Chris :)
The administrator has disabled public write access.
Time to create page: 0.069 seconds

Get Started