Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest sNews - sNews 1.7 - with its own forums - for discussion and user mods.

Author Topic: Display the content of one specific category  (Read 2246 times)

pask

  • Newbie
  • *
  • Karma: 0
  • Posts: 2
    • http://pascalpronnier.com
Display the content of one specific category
« on: June 07, 2007, 08:55:00 pm »

Hi to all !!

First, i'm bad in english, please sorry for my crappy language, i'm French.

i want to build a website using snews and it looks very simple and light comparing to wordpress 'cms that i've used in the past.
I have a good background in css, but not in php so much...:s

I have created a new page by copying index.php and name it news.php.
I want a different page because the design layout will be different from my index.php. In my news.php, i want to call instead of the fonction, something that give me the content of one specific category (news for exple).

Can some one give me the direction to take, or better, some kind of solution :o)

Many thanks in advance for you help


Pascal
Logged

centered

  • Guest
Display the content of one specific category
« Reply #1 on: June 07, 2007, 10:47:22 pm »

Keep the center() function and use one file, that's what make sNews so great!

Use this mod to help you out
http://www.solucija.com/forum/viewtopic.php?id=3962

Ultimatly you should get the body id="??" so in your css you can restyle it as such
Logged

pask

  • Newbie
  • *
  • Karma: 0
  • Posts: 2
    • http://pascalpronnier.com
Display the content of one specific category
« Reply #2 on: June 07, 2007, 11:46:26 pm »

Thanks for your message !

i've tested the exemple you give me, looks very interesting. I'll use it for sure !
BUt, this is not exactly what i need. I would like to get the content of a category only (instead of ) in an template page i've created manally (by copying index.php) not via the adminpanel

Thanks :o)
Logged

centered

  • Guest
Display the content of one specific category
« Reply #3 on: June 19, 2007, 06:22:14 pm »

http://www.solucija.com/forum/viewtopic.php?pid=27202#p27202

second link, and call the exact category link
Logged