Modified PHPLayers module with menuimage support

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
User avatar
ghostrifle
Forum Members
Forum Members
Posts: 54
Joined: Wed Mar 02, 2005 11:03 pm

Modified PHPLayers module with menuimage support

Post 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
pinthenet

Re: Modified PHPLayers module with menuimage support

Post 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....
User avatar
ghostrifle
Forum Members
Forum Members
Posts: 54
Joined: Wed Mar 02, 2005 11:03 pm

Re: Modified PHPLayers module with menuimage support

Post 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).
pinthenet

Re: Modified PHPLayers module with menuimage support

Post 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
Olaf
Forum Members
Forum Members
Posts: 32
Joined: Sun Jan 23, 2005 12:31 pm
Location: Amsterdam

Re: Modified PHPLayers module with menuimage support

Post by Olaf »

Same message here!
User avatar
ghostrifle
Forum Members
Forum Members
Posts: 54
Joined: Wed Mar 02, 2005 11:03 pm

Re: Modified PHPLayers module with menuimage support

Post 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.
pinthenet

Re: Modified PHPLayers module with menuimage support

Post by pinthenet »

Now it looks good. I'll give it a try
Post Reply

Return to “Modules/Add-Ons”