Page 1 of 1

Modified PHPLayers module with menuimage support

Posted: Fri Mar 04, 2005 11:16 am
by ghostrifle
Hey there !

After reading the documentation of PHPLayers at http://phplayersmenu.sourceforge.net/, I decided to extend the current PHPLayers module.

For now, I've added an option to use one image as a "bullet" for all root menu items.

Image

The modified file can be found at http://www.polyfrag.com/tmp/PHPLayers.module.php
Just paste this file into your PHPLayers module directory. The few changed lines are commented !

For help consult the help page, it's really easy to use.

Bye,

ghostrifle

Re: Modified PHPLayers module with menuimage support

Posted: Sat Mar 05, 2005 11:52 am
by pinthenet
As no one else has responded I guess I'm doing something wrong, but I can't do anything with the link you included....

Re: Modified PHPLayers module with menuimage support

Posted: Sat Mar 05, 2005 12:49 pm
by ghostrifle
You have to right click on the link and then choose "save as". The file has to be saved as a PHP file  just for the case that your browser wants to add the extension html(l).

Re: Modified PHPLayers module with menuimage support

Posted: Sun Mar 06, 2005 8:20 am
by pinthenet
and I get a file with the following contents:



Fatal error:  Class phplayers:  Cannot inherit from undefined class cmsmodule in /homepages/6/d34843644/htdocs/tmp/PHPLayers.module.php on line 21


that's why I asked.....

(usin

Re: Modified PHPLayers module with menuimage support

Posted: Sun Mar 06, 2005 8:52 am
by Olaf
Same message here!

Re: Modified PHPLayers module with menuimage support

Posted: Sun Mar 06, 2005 11:17 am
by ghostrifle
This is strange. Did overwrite your PHPLayers.module.php file in modules/PHPLayers with my one ??
pinthenet wrote: and I get a file with the following contents:

Fatal error: Class phplayers: Cannot inherit from undefined class cmsmodule in /homepages/6/d34843644/htdocs/tmp/PHPLayers.module.php on line 21


that's why I asked.....

(usin
It's seems like you copied it to the wrong path on your server.

I zipped my PHPLayers directory. Backup your working PHPLayers directory and replace it with the one provided in this zip-file: http://www.polyfrag.com/tmp/PHPLayer.zip. It should work without any hassles 'cause I didn't change anything on the cores of the module.

Re: Modified PHPLayers module with menuimage support

Posted: Sun Mar 06, 2005 1:13 pm
by pinthenet
Now it looks good. I'll give it a try