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: Mod My sNews  (Read 5826 times)

Luka

  • Administrator
  • ULTIMATE member
  • ******
  • Karma: 36
  • Posts: 1716
    • http://www.snewscms.com
Mod My sNews
« on: September 27, 2007, 09:51:16 PM »

There was some talk about modularity on sNews and being able to install mods or addons automatically. While there is a simple way to install addons, mods are something that needs to be inserted into the code manually.

So, this is a script that tries to install a mod for you. You are able to select which mod you want and it spits out the code. Ideally, this script would be shortened, optimized and then inserted into the main sNews core. In administration you would be able to select mods which are available from the repository located on sNewsCMS.com.

I've posted this here so you can test it and try it out. All suggestions are welcome as I'm sure this is something that could be accomplished.

You can also check out a sample mod file. Another mod can be easily created if you follow the simple rules.

Grab the zip file
Logged

Rui Mendes

  • Development,Testing, Support
  • Hero Member
  • *****
  • Karma: 195
  • Posts: 1009
  • sNews1.7
    • Comunidade Portuguesa
Re: Mod My sNews
« Reply #1 on: September 27, 2007, 10:55:19 PM »

Today you're very productive.

Another Big IDEIA

Thank you.
Logged
Need a Job on Europe. Linkdin - Facebook / Group

piXelatedEmpire

  • MIA
  • ULTIMATE member
  • ******
  • Karma: 37
  • Posts: 1401
  • currently MIA
Re: Mod My sNews
« Reply #2 on: September 28, 2007, 01:27:42 AM »

Dear lord it's CHRISTMAS!
Can't wait to see some of our members ideas with this MOD.  Cheers Luka :)
Logged
my apologies to the sNews crew, but I will be MIA for the forseeable future

centered

  • Guest
Re: Mod My sNews
« Reply #3 on: January 30, 2008, 12:49:10 PM »

Not sure why mod writers are not utilizing this.... if at all... myself included....

Now a question for Luka, what if I wanted to edit the CSS file or htaccess?  Can this work the same way?  (dumb question, I know)
« Last Edit: January 30, 2008, 12:54:11 PM by equilni »
Logged

henrich

  • Sr. Member
  • ****
  • Karma: 23
  • Posts: 381
  • Passion for quality and excellence!
    • My personal blog and portofolio
Re: Mod My sNews
« Reply #4 on: January 31, 2008, 12:50:49 AM »

I am not using this because i don't know how can i use it :)
Logged
By(e) Henrich :)
------------------------------
IT related blog

Luka

  • Administrator
  • ULTIMATE member
  • ******
  • Karma: 36
  • Posts: 1716
    • http://www.snewscms.com
Re: Mod My sNews
« Reply #5 on: January 31, 2008, 03:32:20 PM »

Not sure why mod writers are not utilizing this.... if at all... myself included....

It's sort of a beta thing and hasn't been discussed much so that's the main reason I guess.

Quote
Now a question for Luka, what if I wanted to edit the CSS file or htaccess?  Can this work the same way?  (dumb question, I know)

Stylesheet and htaccess files are copied from a repository and renamed. Before renaming, any instructions
can be given.

What did you have in mind?
Logged

centered

  • Guest
Re: Mod My sNews
« Reply #6 on: January 31, 2008, 06:27:18 PM »

For one my keywords mod updates the stylesheet and htaccess or any mod that does either and or add to the DB (like Baker's Links mod for example), which is what I was inquiring about.
« Last Edit: January 31, 2008, 06:58:10 PM by equilni »
Logged