olex,
June 20, 2002 at 4:01:59 PM CEST
comment macros Hi, just noticed that it's not easily possible to generate a link to a specific comment without displaying the title. I wanted to display the comment in the recently modified area with e.g. a [more] link. <% this.link text="[more]" %> in the item skin renders incorrect urls for comments, using a / instead of a #. and, <% this.url %> for comments has a small typo, using twice the prefix and no suffix: function url_macro(param) { res.write(param.prefix); res.write(this.story.href() + "#" + this._id); res.write(param.prefix); }
tobi,
June 21, 2002 at 9:17:27 AM CEST
hi olex i slightly edited your post once again to make the macro tags readable for us. you (and certainly anybody else coping with displaying macros or html as is and not as processed markup) should be careful to encode the < and > brackets as html entities, ie. < and > resp. sorry for that inconvenience but otherwise it's pretty dodgy to read such postings. but now for some answers: i tried to reproduce what you described above at tobi.antville.org and okay, this should be fixed (even in the current antville snapshot where the problem is solved somehow by the new url scheme however i get a java.lang.NullPointerException...) concerning the double prefix output, this is in fact a bug which is already fixed but not updated here at antville.org.
olex,
June 21, 2002 at 12:14:57 PM CEST
tobi, thanks for editing my story, again i forgot about this behavior and didnt doublecheck after submitting... and thanks for being out there and fixing bugs all the time :)
tobi,
June 21, 2002 at 12:26:57 PM CEST
closer look i took a closer look at the current version of the antville code and also this bug is already fixed there. don't know why i got this java exception, though... ... comment
|
The Antville Server Fund has been a great success. Thanks to everybody who contributed!
online for 8550 Days
last updated: 1/4/11, 10:22 AM Youre not logged in ... Login
... home
... topics ... galleries ... Home
... Tags
... Galleries
... about antville ... download ... macros.antville.org ... help.antville.org ... translate antville! ... antville home
i understand your concerns however,
i hardly can think of a solution. certainly, if the...
by tobi (7/29/03, 9:47 AM)
Found several more similar sites
listed This is getting to be quite a concern to...
by cobalt123 (7/27/03, 7:56 PM)
Second Post Alert on Referrer
bug livecatz I put this into "help" and now here:...
by cobalt123 (7/26/03, 7:14 PM)
well it's not easy to
find from here, anyway. think we should include a link,...
by tobi (7/24/03, 11:25 AM)
clock not that it's particularly
earthshattering but the antclock is running slow by about 15...
by kohlehydrat (7/23/03, 8:25 PM)
How to log skin names
I accessed to console?? Hi, I would like to know...
by winson (7/23/03, 4:12 PM)
|