Welcome to Geeklog, Anonymous Thursday, October 10 2024 @ 10:23 pm EDT

Geeklog Forums

Two stoopid questions on what's related links


Status: offline

rediray

Forum User
Newbie
Registered: 10/14/03
Posts: 8
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
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
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.

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?

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
 Quote

Status: offline

rediray

Forum User
Newbie
Registered: 10/14/03
Posts: 8
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">·</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
 Quote

All times are EDT. The time is now 10:23 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content