thesilentman VIP
Total posts: 33
05 Окт 2015 12:16

This is a quick report... ;)

"Click on thumbnail full view" and "Show mode" have no effect on the "full" template. One would expect them to have, since the simple full template has no gallery-magic attached to it. I lost a bit of time trying and wondering why it doesn't work...

Последние изменения: 20 Окт 2015


Sergey
Total posts: 13,748
05 Окт 2015 13:32

Actualy it should popup lightbox or other box modal to show pictures.

Tell me again. You are in full article view. The ouptut template for gallery is full. "Click on thumbnail full view" is popup, and "Show mode" is what?


Sergey
Total posts: 13,748
07 Окт 2015 14:47

thesilentman BTW, on a totally different matter... I just realized that my (saved)credentials for logging into your site, are automatically put into the "Access Credentials" Tab of the thread. I think this is not good... This might be a bug of Goodle CHrome though, trying to autofill the form based on the labels... However it's not that good...

There is autocomplete="off" on password field, it should not populate it.


thesilentman VIP
Total posts: 33
07 Окт 2015 16:30

OK, digging deeper, I found that it's a "Chrome" thing - or bug - or whatever. However, since it affecting Cobalt's users (like me, on your Forum), I thought you might be interested in this solution:

http://stackoverflow.com/a/30873633/2035229

Notice, I am getting both the username- and password-field, autofilled...


Sergey
Total posts: 13,748
11 Окт 2015 12:24

I added this code to the field. Let's see if it is going to fix it.


pepperstreet VIP
Total posts: 3,837
12 Окт 2015 00:45

@Sergey
If there are a lot of options and parameter groups (for instance, see "bloated" backend of Address field, Gallery field),
it makes sense to display related parameters dynamically. This should result in a better user experience.

FYI, there is a neat Joomla form field attribute called showon. ;)
Seems to be a nice built-in feature to have contextual field display.


Sergey
Total posts: 13,748
13 Окт 2015 20:52

In cobalt I have my own form builder that can show form in table. SO it will not work.


pepperstreet VIP
Total posts: 3,837
14 Окт 2015 01:30

Sergey form in table

Sorry? What do you mean by table? You don't use J! form fields in backend?


Sergey
Total posts: 13,748
16 Окт 2015 12:55

In joomla there is JForm class that render form based on XML. I do not use that class. I have my own. Becuase Joomla JForm markup is aweful. I created my own form renderer. And this feature to show or hide field based on other field is inside the renderer.


pepperstreet VIP
Total posts: 3,837
16 Окт 2015 18:21

Sergey In joomla there is JForm class that render form based on XML. I do not use that class. I have my own. Becuase Joomla JForm markup is aweful. I created my own form renderer. And this feature to show or hide field based on other field is inside the renderer.

Thought you wanted to stick as close as possible to Joomla? ;)


Isn't there a way to extend Joomla's form fields and probably the Renderer itself?

If not, can you add/mimic this conditional display in your Form renderer?
Would be very useful in gallery, date&time, geo etc.


Sergey
Total posts: 13,748
20 Окт 2015 14:34

pepperstreet Thought you wanted to stick as close as possible to Joomla? ;)

I'd been seriouslly panished for this ideology. So i've changed :)

Работает на Cobalt