Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Add a Column to Links Page

Quote Reply
Add a Column to Links Page
I see how I am able to alter number of columns in the table in for categories...
how about for the displaying of links?
Am I stuck with a long skinny page of links?

thanks,

dan f
Quote Reply
Re: [move] Add a Column to Links Page In reply to
Hi,

You can edit category.html and replace:

<%link_results%>

with:

<%loop link_results_loop%>
... display link here
<%endloop%>

See the template docs on what tags you can use inside loops. It's not as straight forward as the category columns, but can be done.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Add a Column to Links Page In reply to
Alex, you always hook me up.
You rock.

Dan F
Quote Reply
Re: [move] Add a Column to Links Page In reply to
pugdog has some good code that can be added to the category page:

http://www.gossamer-threads.com/...orum_view_collapsed;

Cool
Quote Reply
Re: [DogTags] Add a Column to Links Page In reply to
hiya, i after exact same as this but for the categorys instead. At the moment, on the home.html part i after the categories to display in a single column, so i altered that bit in the setup, but this also takes effect throughout the entire categories.

when category.html is used, need it to go back to using 2 or 3 columns (prolly 2).

Any ideas how i can do this?

Cheers.
Quote Reply
Re: [DogTags] Add a Column to Links Page In reply to
Do you know if this code for creating 2 or more columns on the category page still works in LinksSQL 2.2.0?

Im having problems using this code and get "Unknown Tags" on category page, using the normal links.html works fine though when displaying the same tags..

Thanks