afuna (
afuna) wrote in
dreamscapes2009-11-03 02:50 pm
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[site community profile]](https://www.dreamwidth.org/img/comm_staff.png)
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:
Thanks!
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!
no subject
no subject