?

Log in

No account? Create an account

Previous Entry | Next Entry

Tag cloud on one's tag page.

  • Sep. 13th, 2006 at 12:06 PM
I like the look of the tag cloud, but I find it too busy for a sidebar, so when someone in s2flexisquares posted a tutorial on how to put a tag cloud on one's tag page (there's also a tutorial on how to put it in the sidebar above that, but we don't need that here obviously), I jumped on it. When I switched to expressive, I missed my tag cloud on my tags page, so I decided to see if I could tweek the flexisquares code for it to fit expressive. I was happy to find it wasn't hard, and thought I'd share in case anyone else would like this too.

To save myself the trouble of having to copy and past massive amounts of code, I'm going to have you start by grabbing the code from over there, and following their directions. You can compile your layer if you want, it won't harm anything, but your subject line won't match anything you already have. What you need to do to make it blend in right and pick up your formatting from your entries is replace everything from "#### Print the tag cloud in an entry-like post ####" down with:

print """
<div class="post-asset asset">
<div class="asset-inner">
<div class="asset-header">
<h2 class="asset-name page-header2">
$subject
</h2></div>
<div class="asset-content">
<div class="asset-body">
$list
<br /></div></div></div></div>
""";

}

I am still rather awkward with digging through layers to find the information I need, so there is a chance that there could be a better way to fix the part I had to change. If anyone sees a better way to do this, please comment and I'll update the entry to include the new information. Thanks to the s2flexisquares community for the original tutorial.

Comments

papillion_2_uk
May. 9th, 2007 12:52 pm (UTC)
Sorry for yet another question - I can cope with html, but the LJ style stuff has me completely confused! I'd appreciate any help you can give me.

I love the new tag cloud, but I was wondering if it was possible to alter the rollover text. At the moment the rollover text displays the total number of tags, but I'd like to add the privacy settings to it, in the same way it is displayed on the sidabar tag cloud. E.G. to show "50 (friends only)" or "14 (private)".

Thanks.
diziara
May. 9th, 2007 05:07 pm (UTC)
Okay, I'm going to admit that I can't see where in the code it sets the mouse over part, so I think you're going to need a little more advanced help. As I don't think most community users typically comment surf on the older entries, I would suggest making a new post in the community explaining what you want to do, include links to your theme layer and this post, and wait for the more advanced users in the community to offer suggestions. Sorry I can't be more help.

Latest Month

March 2016
S M T W T F S
  12345
6789101112
13141516171819
20212223242526
2728293031  

S2 Help Communities

Tags

Powered by LiveJournal.com
Designed by chasethestars