Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Content via php  (Read 1159 times)

claudek

  • Newbie
  • *
  • Karma: 0
  • Posts: 4
Content via php
« on: February 25, 2008, 03:45:19 pm »

I have been using sNews in a news/blog format quite well.

I was wondering if sNews can also be used for an online store, where the contents are gotton via datafeeds using php.
So I create a category and have a product range for the articles (content coming in via php).

Is this possible at all? I really like sNews and would rather stick to using it for all I am doing currently.

Cheers,
Claudek
Logged

Keyrocks

  • Doug
  • ULTIMATE member
  • ******
  • Karma: 449
  • Posts: 6020
  • Semantically Challenged
    • snews.ca
Re: Content via php
« Reply #1 on: February 25, 2008, 09:55:37 pm »

First... welcome.
I'm not clear on what you mean by "content coming in via PHP".
If you mean you have a suite of customized PHP functions that generate static content... and you want to insert that into an article... yes, you can do that. First, you would install Philmoz's Function-name Insert Mod. You would then included the file with your new functions at thetop of index.php under where we include snews.php. Then you would insert the function-name in a new article where you want its generated content to display and it will display there.
Logged
Do it now... later may not come.
-------------------------------------------------------------------------------------------------
sNews 1.6 MESU | sNews 1.6 MEMU