News Module with 2 columns Topic is solved

General project discussion. NOT for help questions.
Post Reply
aleix

News Module with 2 columns

Post by aleix »

Hi everybody,

Anybody knows how to modify the News Module to let me show the news of the same category in 2 columns??

Thanks!
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: News Module with 2 columns

Post by Dr.CSS »

Do you mean like 1>5 then 5>9... go to Extensions > Modules and click the word News or Help for the parameters used in the News Module...
aleix

Re: News Module with 2 columns

Post by aleix »

I have arleady seen the different parameters you can give to the News Module, but there isn't a parameter to shoe the news in 2 columns...

like this:

New 1New 2New 3New 4

This is what I want...

Anymore ideas?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: News Module with 2 columns

Post by Dr.CSS »

Nope no parameter for that, you will have to put them in diff. div's or mess with the templates...
nils73
Power Poster
Power Poster
Posts: 520
Joined: Wed Sep 08, 2004 3:32 pm

Re: News Module with 2 columns

Post by nils73 »

What you want to do can be achieved by using HTML and CSS. You can either display it as a List (UL or OL) or as a table with two columns ... feel free to modify the templates so that they meet your requirements. All you need to do is have a look at the Smarty-Syntax (see http://smarty.php.net) and apply it to your template. Most things can be done by using Smarty - especially when it comes to output of code.

Regards,
okparrothead
Forum Members
Forum Members
Posts: 36
Joined: Sun Feb 12, 2006 10:42 pm

Re: News Module with 2 columns

Post by okparrothead »

Also, from what I understand, you can't have 1>5  6>10 of only one category.

I'd like to have the summary list of only one category without the first article (category="health" start="2") but haven't been able to make that work.

Peace
Last edited by okparrothead on Fri Dec 29, 2006 12:04 am, edited 1 time in total.
"Contentment is a quality best suited for cows - not cowboys" -- Jimmy Buffet
aleix

Re: News Module with 2 columns

Post by aleix »

Perfect, finally I used UL, and I made a list in 2 columns.

The only I had to do is give a width to the UL, and then give half-width to every of the LI...

It worked!

Thanks a lot!
raduen

Re: News Module with 2 columns

Post by raduen »

Hallo
an you put a sample ? :-[
Post Reply

Return to “General Discussion”