71
goffy
Re: wgGallery 1.15 RC2 ready for testing
  • 2021/4/22 9:24

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


yes, you are right, and I do not know why there is sometimes a problem.

and I never stepped in in detail how the template/theme handling is working ;)



72
goffy
Re: wgGallery 1.15 RC2 ready for testing
  • 2021/4/22 8:39

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


Quote:
im using the xswatch 4 theme, not using any admin template for wggallery


please copy the folder "/modules/wggallery/templates/admin/" into "/themes/xswatch4/modules/wggallery/"



73
goffy
Re: wgGallery 1.15 RC2 ready for testing
  • 2021/4/22 6:19

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


Hi

Quote:
XoopsModules\Wggallery\exif_read_data()
do you have enabled the 'exif' extension in your php? If not please enabled it or deactivate the 'Save meta data (exif)' in module preferences.

Quote:
for the cloning feature..cloning the module is successful after click the submit button but there is no successful cloning message

are you using an adapted template set in your theme for wggallery? maybe you have to replace the admin templates there



74
goffy
wgGallery 1.15 RC2 ready for testing
  • 2021/4/19 20:26

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


Hi

wgGallery 1.15 RC2 is ready for testing:https://github.com/XoopsModules25x/wggallery

I have added some new features to wgGallery:
- single image upload (especially for liomj :) )
- added batch upload (via ftp) in admin area
- added clone feature

if you find a bug or if you have additional ideas for this module please report here or create an issue athttps://github.com/XoopsModules25x/wggallery/issues



75
goffy
Re: Last activities / multi modules
  • 2021/4/19 18:06

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


Hi

you can create a custom block, content type "PHP Script"

then add the code for getting data
Quote:

$myts = \MyTextSanitizer::getInstance();
$itemsAll = $newItems = [];
$sort ='datesub';
$order = 'DESC';
$limit = 5;
$start = 0;


/*my first publisher clone*/
$helper = \XoopsModules\Publisher1\Helper::getInstance();
$itemHandler = $helper->getHandler('Item');
$itemsObj = $itemHandler->getItems($limit, $start, [\XoopsModules\Publisher1\Constants::PUBLISHER1_STATUS_PUBLISHED], -1, $sort, $order, '', true);
$totalItems = count($itemsObj);

if ($itemsObj && $totalItems > 0) {
foreach ($itemsObj as $iValue) {
$newItems['source'] ='Publisher1: ';
$newItems['itemid'] = $iValue->itemid();
$newItems['itemlink'] = $iValue->getItemLink(false, $options[3] ?? 65);
$itemsAll[] = $newItems;
}
}
unset($itemsObj, $itemHandler);

/*my second publisher clone*/
$helper = \XoopsModules\Publisher2\Helper::getInstance();
$itemHandler = $helper->getHandler('Item');
$itemsObj = $itemHandler->getItems($limit, $start, [\XoopsModules\Publisher2\Constants::PUBLISHER2_STATUS_PUBLISHED], -1, $sort, $order, '', true);
$totalItems = count($itemsObj);

if ($itemsObj && $totalItems > 0) {
foreach ($itemsObj as $iValue) {
$newItems['source'] ='Publisher2: ';
$newItems['itemid'] = $iValue->itemid();
$newItems['itemlink'] = $iValue->getItemLink(false, $options[3] ?? 65);
$itemsAll[] = $newItems;
}
}
unset($itemsObj, $itemHandler);

/*output of result*/
foreach($itemsAll as $item) {
echo '<p>' . $item['source'] . $item['itemlink'] . '</p>';
}


in this example the name of the clones are 'Publisher1' and 'Publisher2'

replace the names by your names of the clones and/or add for each additional publisher clone the adapted code

let me know if it works :)



76
goffy
Re: Looking for a light moduke to better understand Xoops Modules Namespacing
  • 2021/4/8 5:17

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


Hi luciorota

you can take alsohttps://github.com/XoopsModules25x/modulebuilder and create a simple module.

the created module will use namespaces and will be ready for Xoops 2.5.11 and PHP8
:)



77
goffy
index.html vs. index.php
  • 2021/4/3 10:47

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


Hi

I see that in some modules the developers use index.php instead of index.html

is there a special reason for this?



78
goffy
Re: xmcontent 1.5 Final Released
  • 2021/3/15 9:21

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


great news. thank you



79
goffy
Re: xmdoc
  • 2021/3/3 16:03

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


Congratulations!



80
goffy
Re: extCal 2.40 RC-1 Released for Testing and Contributions
  • 2021/2/26 18:19

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27






TopTop
« 1 ... 5 6 7 (8) 9 10 11 ... 43 »



Login

Who's Online

201 user(s) are online (146 user(s) are browsing Support Forums)


Members: 0


Guests: 201


more...

Donat-O-Meter

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

Latest GitHub Commits