afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
afuna ([personal profile] afuna) wrote in [site community profile] dreamscapes2009-11-03 02:50 pm
Entry tags:

Quick/Easy Preview given a theme ID

Just discovered something that can make testers' lives easier. Usually, to be able to preview a style on your journal, you need to create a new style in advanced customization with an "Other" theme id, and then append that style id in the URL (?s2id=...).

However! If the layer is public, and you have been provided the theme id (for example, I am using the strata theme from this dreamscapes entry), you can set up a preview by simply adding the theme id to the URL:

http://www.dreamwidth.org/customize/preview_redirect?themeid=77090

That will create a "preview style" for you, and redirect you to a URL like this:

http://afuna.dreamwidth.org/?s2id=472

You can then take that "?s2id=472" and append it to the URLs of the different views, in the same way as if you had set up the style manually :-) Same result, just less buttons.

(I think that if you redo the trick with another theme id, you'll get the same "s2id=472", but now you'll see a different style)

So, theme authors, please add the following line to your theme layer:

layerinfo is_public = 1;

Thanks!
turlough: Prince Caspian & Trumpkin dancing with fauns, art by Pauline Baynes from 'Prince Caspian' ((narnia) celebration)

[personal profile] turlough 2009-11-03 04:33 pm (UTC)(link)
That's awesome! *makes notes*
magycmyste: (Default)

[personal profile] magycmyste 2009-11-07 01:51 am (UTC)(link)
This is absolutely wonderful! Thanks!