entry count question

Apr 26, 2008 19:57

Hello!  I'm trying to add the entry count into my datetime line, and my current code is

"""
$myday, $mydate @ $mytime -- {#$en.itemid}""";

The problem is that the count is not being done correctly.

Please help!

The link to my layer is: 

entries:timestamp, s2:theme layer, misc:extra content, $acct level:paid or perm

Leave a comment

Comments 14

av8rmike April 27 2008, 04:09:56 UTC
What isn't being done correctly about it?

Reply

ex_uniquewo April 27 2008, 12:54:09 UTC
oneway wants to print the 'real' entry number - if it's the tenth entry they've written, they want to display the number 10 - and not the number semi-random number LJ gives entries. I don't know really how to do this so I sent them your way. :)

Reply

av8rmike April 27 2008, 14:32:22 UTC
Just curious, is there another customization community that I should be monitoring? I thought I knew of them all, but people seem to be asking you for Expressive things in other places. ;)

Reply

ex_uniquewo April 27 2008, 14:37:31 UTC
XD I don't think there is. oneway commented in explainittome.

Edit: oh wait. Are you reading everything_lj? I'm not helping there but often send people over there when there is some CSS issue I can't resolve. They're much better at this than I am.

Reply


av8rmike April 29 2008, 02:53:45 UTC
Entry ordinal = $en.itemid / 256

Reply

oneway April 29 2008, 03:23:22 UTC
I tried that, and its just showing up with "/256" at the end...

Reply

av8rmike April 29 2008, 04:06:38 UTC
I think sometimes there are limits to the amount of operations you can inline. I did the operation a little differently in my own journal, for instance:

var int entry_num = $en.itemid / 256;

...

"""
$myday, $mydate @ $mytime -- {#$entry_num}""";

Reply

oneway April 29 2008, 04:11:13 UTC
Hmm, its closer. But its still going over. I only have 1277 entries and my latest is numbered at 1329...

Reply


Leave a comment

Up