0
Welcome Guest! Login
0 items Join Now

Using presets not working

    • landed's Avatar
    • landed
    • Hero Rocketeer
    • Posts: 369
    • Thanks: 1
    • I'm into Stylish things that just look good and function well.

    Using presets not working

    Posted 12 years 3 weeks ago
    • I am trying to make a whitelabel site that can have a few styles applied and different logos per preset.

      I can see that I have a Master Style, then I create an Override, then when the override is right for the style I want I would like to make a custom preset.
      Ok so when the custom preset gets saved with its name then I should if I understand correcty be able to use a query string argument variable to change the style.

      url.com?presets=mycustompresetname.

      Is the above right - if so I cant get it to work using Alerion ? Tried posting over there but no one seems to know, sorry to repost here but I am under some pressure to use this as a solution or move on.
      Thanks for any help.
    • landed's Avatar
    • landed
    • Hero Rocketeer
    • Posts: 369
    • Thanks: 1
    • I'm into Stylish things that just look good and function well.

    Re: Using presets not working

    Posted 12 years 3 weeks ago
    • Ok some things I have learned through trial and error.

      Once you save a preset - you cant click save after making a change and expect the preset to save with that edit. A preset is more like a final snapshot. So edit your override that WILL get saved - delete the preset and save as again with the same name to change something in the preset.

      url.com
      url.com?presets=sport
      url.com?presets=leisure

      the first line shows the override template so long as its assigned to that menu item.
      Then the presets show the presets.

      A working way to get the 2 versions I need is to have two overrides that can hold the edits and keep getting saved. Then to finalise them and save as a preset.

      Will try this and report back. One thing that is interesting is the variable

      contentstyle="preset5" it seems to work as some kind of override too. I need to experiment with making this a unique name.

Time to create page: 0.064 seconds