Follow-up to #1567232: API improvements for Variable Realm. and #1565268: Step 1 - Provide a replacement for domain_conf, domain_settings (domain_variable):

The configuration page for realm variables (i.e. the page where you select e.g. which variables should be multilingual), can potentially have a very long list of variables; by default it shows all variables, which will be hard to navigate on sites which have a lot of variables...

Solutions, I guess, would be filtering + sorting functionality. The later probably being the easier one (sort by variable group, name, module, ...).

Not top-priority, as both i18n and domain currently DO restrict the list of variables.

Comments

Jose Reyero’s picture

See nice groups with vertical tabs (2.x-dev version).

I think now we've got some way to handle big lists, we could make all the variables available as default and use our previous lists (variables with domain => TRUE or localize => TRUE) as the default list of enabled variables for each realm.

bforchhammer’s picture

See nice groups with vertical tabs (2.x-dev version).

Oh, that's very nice indeed! I think that's this issue pretty much fixed... :-)

..., we could make all the variables available as default and use our previous lists (variables with domain => TRUE or localize => TRUE) as the default list of enabled variables for each realm.

I am not sure whether it's a good idea to give the user access to all variables... What if he/she for example tries to make realm-configuration variables multilingual? Especially with the nice "Select All" tickbox this might make it way too easy to enable something that "breaks your site" in one way or another... Hm. Maybe I'm being too cautious. Need to think about actual variables that could break stuff.

Jose Reyero’s picture

Ok, we can exclude that variable's variables and maybe some specific ones for every realm. But we should make more variables available to avoid needing custom code for every one.

Jose Reyero’s picture

Status: Active » Closed (fixed)

Closing this one as the original issue is fixed. About 'which variables' to make available to be discussed somewhere else.