Please login or register.

Login with username, password and session length
Advanced search  

News:

You need/want an older version of sNews ? Download an older/unsupported version here.

Author Topic: Is it possible  (Read 2557 times)

bordelloguy

  • Newbie
  • *
  • Karma: 0
  • Posts: 16
Is it possible
« on: May 09, 2007, 05:07:26 AM »

Is it possible to have different layouts on "pages" vs  "articles" ?

for ex.:  all "pages" use 1 column  and all "articles" 3  columns?

thanks
Logged

philmoz

  • High flyer
  • ULTIMATE member
  • ******
  • Karma: 161
  • Posts: 1988
    • fiddle 'n fly
Is it possible
« Reply #1 on: May 09, 2007, 12:30:14 PM »

yes.... if you want to do the work...

http://www.solucija.com/forum/viewtopic.php?pid=29211#p29211
If you look at the above, you could adapt it to include various layout files, as opposed to just altering the stylesheet used.

for eg,
make layout for each case,
pages_layout.php
articles_layout.php

and where there is a $style assignation, make it an include statement

There is more to be done, but that is a start.
Logged
Of all the things I have lost, it is my mind that I miss the most.