11
Zap_English
Re: extGallery 1.13 Beta-1 available for testing (XOOPS 2.5.8, PHP 7)

The changes in "class" screw up the input screen for every module, including extgallery

12
Bleekk
Re: extGallery 1.13 Beta-1 available for testing (XOOPS 2.5.8, PHP 7)
  • 2017/2/26 20:32

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


To get to work this module try this:

open extgallery/admin/admin_header.php
find this (line 37)
require_once $xoopsModuleAdminPath '/moduleadmin.php';

change to this
require_once $xoopsModuleAdminPath 'Frameworks/moduleclasses/moduleadmin/moduleadmin.php';


then open extgallery/admin/index.php
find this at the bottom
echo $adminObject->addNavigation(basename(__FILE__));

and change to this
$adminObject = new ModuleAdmin();
echo 
$adminObject->addNavigation(basename(__FILE__));

13
Zap_English
Re: extGallery 1.13 Beta-1 available for testing (XOOPS 2.5.8, PHP 7)

the first change is on line 46

The second change doesn't exist in that file

14
Bleekk
Re: extGallery 1.13 Beta-1 available for testing (XOOPS 2.5.8, PHP 7)
  • 2017/2/26 22:06

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


sorry I am using the module from here
https://github.com/mambax7/extgallery

15
Zap_English
Re: extGallery 1.13 Beta-1 available for testing (XOOPS 2.5.8, PHP 7)

on install of the version you specified

Notice: Undefined variable: pathModIcon32 in file /modules/extgallery/admin/menu.php line 76

16
Zap_English
Re: extGallery 1.13 Beta-1 available for testing (XOOPS 2.5.8, PHP 7)

The icon is in the correct place.

I changed 'icon' => $pathModIcon32 . '/extension.png' to 'icon' => $pathIcon32 . '/extension.png'

which is the same as all the other icons, but it didn't change anything

and on any input screen in all modules there is no icon. You see _EXT_EXTGALLERY_ALTWMP

probably because of something that was changed in the 'class' files

Any chance of getting TDMPictures working? I always preferred that module anyway

17
Zap_English
Re: extGallery 1.13 Beta-1 available for testing (XOOPS 2.5.8, PHP 7)

In /class/textsanitizer/gallery/gallery.php

change line 9

$code ".XOOPS_URL."/modules/extgallery/images/extgallery-posticon.gif' alt='" _EXT_EXTGALLERY_ALTWMP "' onclick='xoopsCodeGallery("{$textarea_id}", ""._EXT_EXTGALLERY_TEXTID."", ""._EXT_EXTGALLERY_TEXTTITLE."");'  onmouseover='style.cursor="hand"'/> ";


to

$code ".XOOPS_URL."/modules/extgallery/assets/images/extgallery-posticon.gif' alt='" _EXT_EXTGALLERY_ALTWMP "' onclick='xoopsCodeGallery("{$textarea_id}", ""._EXT_EXTGALLERY_TEXTID."", ""._EXT_EXTGALLERY_TEXTTITLE."");'  onmouseover='style.cursor="hand"'/> ";


that will fix the _EXT_EXTGALLERY_ALTWMP problem

but it still doesn't fix the extension.png problem

18
Zap_English
Re: extGallery 1.13 Beta-1 available for testing (XOOPS 2.5.8, PHP 7)

I did a batch upload of 6 photos.

Then clicked on go to module

The module appears in the xbootstrap footer and doesn't show any photos, or the number of photos.

it also removes the admin menu, shows only the modules menu and doesn't show any content

also, there are no icons showing

it seems to be showing it as a block, but no blocks are activated

19
Bleekk
Re: extGallery 1.13 Beta-1 available for testing (XOOPS 2.5.8, PHP 7)
  • 2017/2/27 8:55

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


I will check the batch upload as soon as possible.
But you can upload images separately. This works, I have tested it

20
Zap_English
Re: extGallery 1.13 Beta-1 available for testing (XOOPS 2.5.8, PHP 7)

Doesn't matter if individual uploads works or not. it doesn't work with xBootstrap and it has WAY too many problems, so I'm done with it

Can we try getting TDM Pictures working please?

Login

Who's Online

239 user(s) are online (130 user(s) are browsing Support Forums)


Members: 0


Guests: 239


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