Page 1 of 1

How to install a module that is a php file...?

Posted: Wed Mar 21, 2007 1:15 pm
by Darwin Web Design
Hi,
I've just downloaded the random images module "function multiple random images" which is a php file not an xml file and would like to give it a go.  Can you please direct me on how to install a module like this (ie a single php file)...  I've tried putting the php file in the modules directory but it doesn't show up in admin.  Also ofcourse I have tried to install it via admin in 'modules' but this section only lets you install via an xml file.

Thanks  ???

Re: How to install a module that is a php file...?

Posted: Wed Mar 21, 2007 1:17 pm
by RonnyK
If it is called function****.php you can FTP it to your CMS installation in the folder called "scriptsplugins" (I think it was scripts, check if more function***'s are there). If you put it there it is available in the list of tags under "Extensions".

EDIT, it was "plugins" not "scripts"!!


Ronny

Re: How to install a module that is a php file...?

Posted: Thu Mar 22, 2007 7:27 am
by Darwin Web Design
Thank you!
So simple, and worked first time.

;D

Re: How to install a module that is a php file...?

Posted: Tue Nov 20, 2007 6:38 pm
by biliousfrog
Sorry to dig this up but I have a question regarding the script....

I've placed the tag into the template but when the page is loaded it just displays the image path rather than the image.

for example, it doesn't display header_01, it displays the path to that file: uploads/header/header01.jpg

What am I doing wrong?

BTW, I'm using the latest version of the script; random_image_selective