Integrate 3rd party php scripts/modules

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
Jorco
Forum Members
Forum Members
Posts: 21
Joined: Tue Apr 29, 2008 8:22 am

Integrate 3rd party php scripts/modules

Post by Jorco »

I've searched all over the forum, but couldn't find an answer to my problem.

I'm building a website for my soccerclub and i would like to show all kind of statistics to my visitors.
Played games, goals, assists, cards etc.
I've found a script on the net that has this option, but I would like to make a module of this.
Is there anyone that could help me with it?

The script has an admin function where you can add seasons, teams, players, match stast etc.
This should be added to the cmsms admin menu.

I already tried the module maker, but i cant make it work.
I also have tried to change the coding of the TSS module, but im not that good of a coder ;)

So, if someone has some suggestions or any help...
smotsie
Forum Members
Forum Members
Posts: 12
Joined: Fri May 09, 2008 8:24 am
Location: UK

Re: Integrate 3rd party php scripts/modules

Post by smotsie »

Hi,

I am very new to CMSMS and may be way off base here, but I had a similar requirement - to show a radio schedule which varies a lot and is in a database. The way I did it was to write the code in PHP which displays the correct html, which in your case would be to copy your script which works, and then to put it into a user defined tag. To do this click "Extensions" then "User defined tags" and add a new one naming it something sensible like "score_script". Paste your code into the *code section and "submit" out. Then create a page with the right template to hold your custom code, and simply add your tag {score_scipt} if that's what you named it. Save and go view your site and hopefully you will be pleasantly surprised about how easy it is (I was!)

Hope this is of some help

Smotsie
Remember, chip pans can hurt, maim, or kill...

but an axe is more efficient
Post Reply

Return to “Developers Discussion”