c1L |
|
---|---|
I need a hack/modification that classify the tag cloud into alphabetical list from their ifrst letters. i might not be able to explain, so i want smt like this,
A abacus adium alien arcadium ...... B bear beer bing bung C Camel cartoon cax D dremel detox ... ... ... what i want from the index_tags tag is to seperate the tags by their first letters. http://www.chtlj.org/tags#tags something like that. could show me a way to do this? |
|
Відредаговано: c1L (03.02.2011 17:07, 14 років тому) |
Trustmaster |
|
---|---|
See example of modified plugins/tags/tags.index.php here: http://www.cotonti.com/pastebin/99
May the Source be with you!
|
c1L |
|
---|---|
Thank you @trustmaster, it worked fine.
Added 12 hours 34 minutes later: It is fine but, i am thinking of using this, so that the output of that codes should suit this codes: <div id="adv2">
<ul>
<li><a class="selected" href="#ani1">a</a></li>
<li><a href="#ani2">b</a></li>
<li class="split"></li>
<li><a href="#ani3">c</a></li>
<li><a href="#ani4">d</a></li>
</ul>
<span>
<p style="display: block; opacity: 0.809547;" id="ani1">AAA Click on the tabs to see a nice fade.</p>
<p id="ani2">You're not impressed?</p>
<p id="ani3">But it's so cool... in a nerdy way.</p>
<p id="ani4">Download idTabs and have your cake. You can eat it too.</p>
</span>
</div> If the output prints out the first letter in a group of " <ul><li> a</li> <li>b</li> .... </ul>, then groups the tags according to the first leter, that will suit, i hope. i achieved that in a way that may not be so good but it is ok. so it looks like this: ![]() if you think it would be useful, i may prepare this as a plugin modification that is called Tag Index. |
|
Відредаговано: c1L (03.02.2011 20:19, 14 років тому) |