How content is displayed

All of the content displayed in a sNews website is created by the Site Administrator using a set of Administration Panels. The Administrator is automatically directed to the main Admin panel once he or she logs in. Information added to or changed in these Admin panels is submitted to the database.

Every article, page, admin panel and the login panel, is created by functions located in the snews.php file. These functions store and retrieve data from their respective tables in the database, and send it all to one big function we call "Function Center". This function then determines what needs to be displayed in the website based on requests it gets from the site's viewers when links are clicked on.

Content is displayed through a short, simple PHP statement embedded in the HTML of the template file, index.php. All of the links for the site are also created by functions in the "engine" file and displayed through other PHP statements embedded in the index.php file script. In fact, there are several such statements embedded in there, all linked back to their respective content-generating functions in the snews.php (engine) file.

GET STARTED

sNews requires PHP, MySQL and mod rewrite. If your server meets those requirements, get started and learn how to install sNews on your website in 3 easy steps.

LEARN

Browse through our help center and learn about template tags and how to simply create your own theme. Dig into sNews and customize it to behave the way you want.

EXTEND

sNews can be a simple blog tool and a full blown CMS. Customize it with addons, mods or play with different themes.

DISCUSS

Talk about sNews on our Forum and share your expirience.