Gossamer Forum
Home : Products : Links 2.0 : Customization :

Different Layout

Quote Reply
Different Layout
Can someone help me please.



How would I set up the front page so that the categories display differently than, say two columns. Say if I wanted the categories to display in four columns and 6 rows, etc??

- or -

Is there a way to have an image map display on the front page for the categories?



thank you



mic
Quote Reply
Re: [mickey] Different Layout In reply to
Please search this forum and other Links 2.0 forums for the following set of keywords:

category two columns

category layout
========================================
Buh Bye!

Cheers,
Me
Quote Reply
Re: [Stealth] Different Layout In reply to
Try searching for creating a second homepage.

Stu2000

- Top 100 forums / GT Links 2.0 websites -
Quote Reply
Re: [stu2000] Different Layout In reply to
While we're at different layout: stu2000, next time you "borrow" my button sets, please contact me in advance.

=> http://khaki.srv2.com/~ultimate/

Thanks!
Quote Reply
Re: [Tho-chan] Different Layout In reply to
If you look closely, they aren't the same. Your buttons have arrows on the right, stu's have the arrows on the left. Also the font is different.

Last edited by:

Paul: Nov 10, 2002, 1:02 PM
Quote Reply
Re: [Paul] Different Layout In reply to
Paul, I switched the buttons at my page last week. I have created and previously used the set you can now see at stu2000's site.
Quote Reply
Re: [Tho-chan] Different Layout In reply to
Fair enough.
Quote Reply
Re: [mickey] Different Layout In reply to
Well I have searched and been to the links and can't find a thing.

Is there anyone out there who knows how to make 3 columns of categories for the home page, instead of two.

It would be nice to try to loose the spacing between the categories.

like this:

cat 1
cat 2
cat 3
cat 4



and have three columns, not 2



Can it be done??



mic
Quote Reply
Re: [mickey] Different Layout In reply to
What search terms are you using??

A simple search using "3 columns" brings this.
Here is probably the answer to your question.


Leonard
aka PerlFlunkie

Last edited by:

PerlFlunkie: Nov 11, 2002, 8:12 PM
Quote Reply
Re: [mickey] Different Layout In reply to
I tried that mod, but it didn't do a thing Crazy



I have no idea what search terms I am using. What do you mean?



mic
Quote Reply
Re: [mickey] Different Layout In reply to
Search terms=the words entered in the blank field on the search form.

Try this one:
change:

Code:
my ($half) = int (($#subcat+2) / 2);

to

Code:
$columns = '3'; #number of columns
my ($half) = int (($#subcat+2) / $columns);

and change:

Code:
if ($i == $half) { $output .= qq|</td><td class="catlist" valign="top">\n|; }

to

Code:
if ($i == $half) {
$output .= qq|</td><td class="catlist" valign="top">\n|;
$i = 0; }


Leonard
aka PerlFlunkie
Quote Reply
Re: [mickey] Different Layout In reply to
I am using templates. So would I try that code on site_html_templates.pl or site_html.pl



the first time i tried it on site_html.pl

That why it didn't work?



Mic
Quote Reply
Re: [mickey] Different Layout In reply to
Yes. If you use templates, you can completely ignore site_html.pl, as it's only used for non-template sites.


Leonard
aka PerlFlunkie
Quote Reply
Re: [PerlFlunkie] Different Layout In reply to
thanks PerlFlunkie.

the first bit of code worked. I was just a dumbass and put it in the wrong .pl file.



Sorry for the trouble, thanks for the help



Mic