11
timgno
Re: Icons in modules admin
  • 2013/1/20 15:15

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


This must be discussed with the core developer, because if I insert a statement like this:

$modversion['dirmoduleadmin'] = '/class';
$modversion['icons16'] = 'icons/16';
$modversion['icons32'] = 'icons/32';


in the file xoops_version.php, this does not work the same even if not return errors

12
Mage
Re: Icons in modules admin
  • 2013/1/20 18:15

  • Mage

  • Core Developer

  • Posts: 208

  • Since: 2009/8/2 1


Quote:

timgno wrote:
This must be discussed with the core developer, because if I insert a statement like this:

$modversion['dirmoduleadmin'] = '/class';
$modversion['icons16'] = 'icons/16';
$modversion['icons32'] = 'icons/32';


in the file xoops_version.php, this does not work the same even if not return errors


Normal that this does not work! Why do you put it?

13
timgno
Re: Icons in modules admin
  • 2013/1/20 19:16

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


It was just a test, because in some modules that I downloaded from the folder SVN/XoopsModules26, there is still these three lines:

$modversion['dirmoduleadmin'] = '/class';
$modversion['icons16'] = '../../media/xoops/images/icons/16';
$modversion['icons32'] = '../../media/xoops/images/icons/32';


I don't know why were added...!

so the solution is the one that posted to message #7

14
Mage
Re: Icons in modules admin
  • 2013/1/20 19:34

  • Mage

  • Core Developer

  • Posts: 208

  • Since: 2009/8/2 1


$modversion['dirmoduleadmin'] = '/class';
$modversion['icons16'] = '../../media/xoops/images/icons/16';
$modversion['icons32'] = '../../media/xoops/images/icons/32';


I confirm that this code is useless in 2.6.

I wrote this class but I did not know that it worked. Someone added this option and it is very good!

Login

Who's Online

281 user(s) are online (182 user(s) are browsing Support Forums)


Members: 0


Guests: 281


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits