Posted on: 07/15/06 06:59pm
By: rediray
hi folks!
I'd like to change the two following things in the "What's Related" block:
1) change the "More from username" to use the user's full name instead. so for example, the link would read "More from Full Name"...using the fullname variable.
2) how do i remove the <ul> tags surrounding the <li> tags?
would appreciate any help. i've poked around the files and templates, and can't seem to find the place to make these changes.
thanks in advance!
rediray
Two stoopid questions on what's related links
Posted on: 07/15/06 07:08pm
By: Dirk
[QUOTE BY= rediray] 1) change the "More from username" to use the user's full name instead. so for example, the link would read "More from Full Name"...using the fullname variable.[/QUOTE]
That's not implemented in 1.4.0 yet (but will be in 1.4.1).
[QUOTE BY= rediray] 2) how do i remove the <ul> tags surrounding the <li> tags?[/QUOTE]
It's using the list.thtml and listitem.thtml template files (which are also used for other lists).
Strictly speaking, you can't have LI items without a surrounding UL (or OL) - it wouldn't be valid HTML. If you want to change the list's appearance, note that it uses a class="list-whats-related" so that you can use CSS.
bye, Dirk
Two stoopid questions on what's related links
Posted on: 07/15/06 07:46pm
By: rediray
thanks, Dirk!
here's what i did.
in list.thtml file, removed <ul> tags. only thing in that template now is this:
{list_items}
as for the listitems.thtml file, i replaced the <li> tags with this:
<b><font color="FFFFFF">&middot;</font></b> {list_item}<br>
and it solves my #2 question above! i also posted a test story using the <ul> and <li> tags, and it still renders the graphic arrows that i'm using in my CSS.
as for question #1...i'm still using version 1.3.11r5. sorry to say i didn't upgrade yet!
mahalo,
rediray