HOWTO: Adding a Flickr Badge to LiveJournal's Expressive layout

Sep 01, 2006 20:40

I'm feeling quite pleased with myself.

I've been delving into the mysteries of S2 and have been working out how to add custom HTML to a layout sidebar. The first fruits of my endeavours are now online, and I've add one of Flagrant Disregard's Flickr badges.

Here's how I put it all together... )

how to:instructions, !obsolete, s2:theme layer, sidebar:custom, advanced, $acct level:paid or perm

Leave a comment

starpaw September 2 2006, 12:34:49 UTC
cool, i got up to this part and then got confused, can you explain it?

Next use style tools automatically make a new user customisation layer by changing the position of the sidebar from left to right. Using the S2 style customisation tools, Edit the new user layer, pasting in your customisations. I also used the opportunity to reorder the sidebar, placing the various sidebar elements in my preferred order, and adding a new customtext section for the Flickr badge code:

layerinfo "type" = "user";
layerinfo "name" = "Auto-generated Customizations";
set page_friends_items = 50;
set page_recent_items = 25;
set layout_type = "2CR";
set opt_userpic_main = false;

set sidebar_primary = [
[ "userprofile", "Profile", "1", "1" ],
[ "syndicate", "Syndicate" ],
[ "calendar", "Latest Month" ],
[ "links", "Links" ],
[ "customtext", "Flickr", "" ],
];

set sidebar_secondary = [
[ "archive", "Page Summary" ],
[ "tags", "Tags" ],
[ "poweredby" ],
];

Compile and save the new S2 layer, and refresh your blog.

Bingo! (Hopefully...)

Reply


Leave a comment

Up