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: List articles by category  (Read 1999 times)

danfascia

  • Newbie
  • *
  • Karma: 0
  • Posts: 10
List articles by category
« on: May 22, 2007, 01:14:50 am »

Is it possible to list article names by category, such that clicking on a title links to the individual article page.

At the moment, simply clicking on a category title will spit out all of the articles (full content) in a blog style for the category.

I guess I'm trying to make it behave more like a CMS with article based postings rather than a blog...

If not I'm gonna have to change CMS, and we don't want to desert the lovely sNews
Logged

philmoz

  • High flyer
  • ULTIMATE member
  • ******
  • Karma: 161
  • Posts: 1988
    • fiddle 'n fly
List articles by category
« Reply #1 on: May 22, 2007, 02:02:13 am »

fancy a bit of coding practice.... :P

there is a couple of mods in the 1.5 mod section that 'may' work right out of the box, or there may be some very slight alterations required.

but, yes... it is possible...
Logged
Of all the things I have lost, it is my mind that I miss the most.

danfascia

  • Newbie
  • *
  • Karma: 0
  • Posts: 10
List articles by category
« Reply #2 on: May 22, 2007, 02:14:27 am »

Just when I was about to get my coding gloves on I realised that you can pretty much achieve what I want with pagination by putting a 'taster' line under the title and then [breaking] very early on in the article.

it also works quite elegantly as you can put an image in the link material this way too...

That said, I'm not going to cheat and will have a play with the mods too
Logged

philmoz

  • High flyer
  • ULTIMATE member
  • ******
  • Karma: 161
  • Posts: 1988
    • fiddle 'n fly
List articles by category
« Reply #3 on: May 22, 2007, 02:49:02 am »

Quote from: danfascia
Just when I was about to get my coding gloves on I realised that you can pretty much achieve what I want with pagination by putting a 'taster' line under the title and then [breaking] very early on in the article.

it also works quite elegantly as you can put an image in the link material this way too...

That said, I'm not going to cheat and will have a play with the mods too
this discussion may interest you perhaps.
http://www.solucija.com/forum/viewtopic.php?id=4377

and perhaps this mod...
http://www.solucija.com/forum/viewtopic.php?id=4556
and maybe
http://www.solucija.com/forum/viewtopic.php?id=4641
Logged
Of all the things I have lost, it is my mind that I miss the most.

danfascia

  • Newbie
  • *
  • Karma: 0
  • Posts: 10
List articles by category
« Reply #4 on: May 22, 2007, 03:05:00 am »

Thanks for all your help.

This is particularly helpful as a system to include different content as the taster article on the category listing...
http://www.solucija.com/forum/viewtopic.php?id=4377

And I think that the

completion system seems to have been included into 1.6, having tracked down the file_include function...
Logged