Welcome to Geeklog, Anonymous Monday, February 26 2024 @ 09:06 am EST

Geeklog Forums

Block that includes all links in a category

Status: offline


Forum User
Registered: 10/24/03
Posts: 50
I want to create a block that displays all the links in a category. I know this must call one of the link functions, which I can figure out from the code, but am fuzzy on all the stuff which goes around it.

Status: offline


Site Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Not sure what your actual problem is ...

To get all the link categories, use something like
Text Formatted Code
DB_query("SELECT DISTINCT category FROM {$_TABLES['links']}");
(which can actually be found in links.php).

bye, Dirk

All times are EST. The time is now 09:06 am.

  • 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