Me again

Jul 26, 2008 02:35

I was wondering how I could add the entry id (number of entries) to my metadata.

Also, I saw somewhere (lost the link to the entry) where you could change your entry links to say "one" instead of 1, and so on. Does anyone know what I'm referring to?

metadata, link bar

Leave a comment

Comments 9

av8rmike July 26 2008, 15:08:04 UTC
That tutorial was posted in s2howto, but it had a few mistakes, which haven't been addressed yet.

Reply

beetwo July 26 2008, 15:42:22 UTC
Do you know how I could do the first? Add my # of entries to where my mood/music etc is located?

Reply

av8rmike July 26 2008, 15:47:43 UTC
Something like what I'm doing on my own entry page and friends page? But you want it in the metadata?

Reply

beetwo July 26 2008, 15:49:50 UTC
yes

Reply


av8rmike July 26 2008, 17:04:24 UTC
You know, it's a lot easier if you give me the layer number, too. Fortunately, I remembered I have the privileges to look up your layers and view them, so it didn't matter. Find this line in the print_metadata() function:

foreach var string k ($.metadata){ # step thru metadata

Add this line before it:

$currents = $currents + "Entry #" + ($.itemid / 256);

Reply

beetwo July 26 2008, 17:11:33 UTC
can you tell I haven't asked for layout help in a while? This is what happens when you us the same layout for 2+ years, sorry!

It worked like a charm, would you be able to tell me how I can match it up with the rest of the meta data (font size, image in front)? I swear I will leave you alone then

Reply

av8rmike July 26 2008, 17:26:13 UTC
Yeah, I guess I could have added some kind of formatting in there. But you'll have to come up with an image for it.
Change the line to look like this:
$currents = $currents + """
... )

Reply


Leave a comment

Up