Design - then 3 class choices within a Customization

Hi


Is there a way inbetween creating a design and a customization of it that I can set a css class from 3 possible options. ie. change the class to "tall" "short" or "white" depending on how I want that part of the design to behave. Is there a way I can select this at the customization stage?



I can see how to select individual stylesheets which I could do to cure this problem, but just wondered if there was a way to toggle between classes at this point?



Cheers

Graham

If I'm reading you correctly, you might want to take a look at paint layouts instead which you can call dynamically…

Hi Gram,


You may use 'dynamic' customisation to reach the goal. The design will nest an asset listing page to pull out the CSS file by a root selector. Paintlayout is hard to reach the <head> area but Duncan may have the magic. :lol:



Robin

Thanks for your help guys,


what we are looking for might be more simple, here's what we've come up with so far:


    
    
    


Where style is the name of our variable, the type is text, and the default value is "tall" (this is our CSS classname).

In the design customisation we can edit the value using a text box interface. This is fine, since we can type in one of the alternative class names, but we've rather have a radio select button, or similar, where the valid values are already predefined.

Is this possible?

On a related note…


we also have a MySource_PRINT tag that we'd like to enable/diable at will by using a design cutomisation, but these don't show up as "customised types" within the Design Areas section of the Design Customisation. Presumably because they are "PRINT" areas and not "AREA" areas?


    


Is there a way to create this behaviour?

Hi Graham and Robert


The way I would achieve this is by having a number of Show_if design areas that are base on reg-ex, you can then show something if it matches the show_if condition



Dave