Please login or register.

Login with username, password and session length
Advanced search  


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

Author Topic: [STICKY] sNews Themes Guidlines  (Read 9044 times)


  • Administrator
  • ULTIMATE member
  • ******
  • Karma: 36
  • Posts: 1717
[STICKY] sNews Themes Guidlines
« on: May 16, 2007, 09:15:43 am »


Although sNews is template independant, there's a need for ready to go themes that are easily installed without having to touch the code. When creating a theme, snews.php has to stay intact so it's easy to update the main core without having to change some styling inside. sNews Themes are applied simply by copying a few files into the sNews folder. This way all settings stay the same, only the theme is changed.

IMPORTANT: If you share a theme/template package on this Board with a link to the package, please edit your lead post when you make changes or remove it. Dead links are not useful to fellow members.

Theme structure:

  - images (folder containing theme images)
  - .. style.css (if there's more then one stylesheet you could create directory called 'css')
  - .. index.php

You can also name folders as you wish and add others such as /js if the theme contains javascript.

Theme posting guidlines:

Code: [Select]
sNews 1.6 Theme: theme name
Author: your name and website
Last Update: last update date
Code: [Select]
Small screenshot (thumbnail)
Code: [Select]
Download location (link to file)
« Last Edit: December 07, 2008, 05:25:15 pm by Keyrocks »

Patric Ahlqvist

  • Nobodys perfect, but Im pretty effing close
  • ULTIMATE member
  • ******
  • Karma: 65
  • Posts: 4867
  • I'm a self-made man and worships my creator.
[STICKY] sNews Themes Guidlines
« Reply #1 on: May 16, 2007, 09:47:41 am »

Suggestion: CSS folder, if the need for more CSS files, for sNews and possible addons, so that the root stays clean and not having to many files present.
"It's only dead fish that goes with the flow... "

BuLe Bali

  • Full Member
  • ***
  • Karma: 2
  • Posts: 100
    • A World Full of Doubts
[STICKY] sNews Themes Guidlines
« Reply #2 on: May 16, 2007, 11:41:59 am »

Ready to prepare the hosting for the download of sNews. Hehehehe.
This world are full of doubts! No systems is secure. No systems!


  • Newbie
  • *
  • Karma: 0
  • Posts: 11
Re: [STICKY] sNews Themes Guidlines
« Reply #3 on: October 17, 2007, 07:40:21 pm »

Ok.. but how to 'install' them? What are the steps?


  • Guest
Re: [STICKY] sNews Themes Guidlines
« Reply #4 on: October 18, 2007, 03:00:02 am »

Ok.. but how to 'install' them? What are the steps?
The same way, the same location, you install the default theme (minimal template): Upload index.php, which is the template, and the stylesheet to the webspace.


  • Newbie
  • *
  • Karma: 8
  • Posts: 29
Re: [STICKY] sNews Themes Guidlines
« Reply #5 on: October 18, 2007, 07:55:12 pm »

I would suggest distribution package close to what Luka mentioned:

TPL file:  index_THEME_NAME.php (so a user does not destroy their site... they have to rename it to index.php themselves)
CSS file: style.css
OPTIONAL (only if really needed):
             *{CSS}* folder with THEME_NAME.css and derivatives of (THEME_NAME_colors.css, THEME_NAME_layout.css and so on)
             *{CSS/IMAGES/THEME_NAME}* folder to have the easy ability to remove the theme (we just grep the THEME_NAME and rm)
             *{js/THEME_NAME.JS and derivatives of the same

You get the idea - keeping the THEME_NAME with all folders/files makes it easy to distinguish, and easier to package ;)
This kind of mimics how PunBB does it. (sans the TPL files)
Just my 2