?

Log in

No account? Create an account
May 19th, 2003 - LiveJournal Development — LiveJournal [entries|archive|friends|userinfo]
LiveJournal Development

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

May 19th, 2003

(no subject) [May. 19th, 2003|11:38 am]
LiveJournal Development

lj_dev

[xiombarg]
[music |S2 error? Zilla?]

Okay, I'm using the Generator style and S2.

http://www.livejournal.com/users/xiombarg/friends?skip=80

Scroll to the bottom. There's an error message there -- it's easy to miss, as it's black on black.

More on this problem.Collapse )

Shouldn't S2 be more capable of handling unusual values? Should I zilla this?
link8 comments|post comment

Another S2 Issue.... [May. 19th, 2003|03:46 pm]
LiveJournal Development

lj_dev

[danis]
[mood |excitedexcited]

I'm trying to use the LJ User tag on my s2 layer, and it doesn't seem to work there... Can you guys fix that?

Oh and an aside... I want the default time output on my s2 layer to look like "Monday, May 19, 2003 @ 15:45" I've checked the faq, and I don't know how to pass *all that* through the datetime function... help?
link7 comments|post comment

Changes to code handling in S2? [May. 19th, 2003|09:34 pm]
LiveJournal Development

lj_dev

[rosefox]
[mood |confusedconfused]

I noticed that the editjournal_do syntax had been updated, so I changed this code:

if (viewer_is_owner() ) {
print "</I> | <I><A HREF=' $*SITEROOT/editjournal.bml'>edit entry</A></I> )</P>" ;
}
else {
print "</I> )</P>" ;
}


to look like this:

if (viewer_is_owner() ) {
print "</I> | <I><A HREF=' $*SITEROOT/editjournal_do.bml?journal=$e.journal.username&itemid=$e.itemid'>edit entry</A></I> )</P>" ;
}
else {
print "</I> )</P>" ;
}


and now it shows up on every entry on my friends page--including the ones I don't own and can't edit. It wasn't doing that before I made the code change, and when I undo the change and recompile, it still appears on every entry. It looks as though the 'if (viewer_is_owner() )' isn't being handled properly. Any idea what's causing that or how to fix it? (If this is something that's already in process, apologies for being impatient!)

...oh, I see. When I log out it's not there anymore, so I assume that viewer_is_owner() is being interpreted as referring to the owner of the page (in this case, my friends page, so I own it) rather than the owner of the entry. Is there any way to tell it which one I mean, or an entry-specific equivalent?
link6 comments|post comment

navigation
[ viewing | May 19th, 2003 ]
[ go | Previous Day|Next Day ]