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!

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting