1
goffy
wgSimpleAcc
  • 2/2 18:02

  • goffy

  • Just can't stay away

  • Posts: 512

  • Since: 2010/12/27


Hi to all

if there are any new ideas/suggestions for the module wgSimpleAcc please let me know :)

otherwise I will create next stable version :)



2
goffy
Cascading form select
  • 1/31 6:50

  • goffy

  • Just can't stay away

  • Posts: 512

  • Since: 2010/12/27


I want to show you a new best practice example: Cascading FormSelect

Sometimes you want, that the choice of the first selectbox adapt the possible options of the second selectbox.
After playing around a little bit I decided to implementhttps://github.com/geekonjava/FilterSelect

I created a new Formselect class (seehttps://github.com/XoopsModules25x/wgsimpleacc/blob/master/class/Form/FormSelectCascading.php )

The call is similar to call of XoopsFormSelect:
// Get Theme Form
    
\xoops_load('XoopsFormLoader');
    
$form = new \XoopsThemeForm('My form for testing cascading select''formTest',  $_SERVER['REQUEST_URI'], 'post'true);
    
$form->setExtra('enctype="multipart/form-data"');

    
$myExampleTray1 = new XoopsFormElementTray('Example Tray 1');
    
$mySelect1 = new XoopsModules\Wgsimpleacc\Form\FormSelectCascading('Caption Select 1''select1''2'15);
    
$mySelect1->setType(1);
    
$arrSelect1 = [
                    [
'id' => '1''text'=>'Sourceelement 1''rel'=> '0''init'=> '0'],
                    [
'id' => '2''text'=>'Sourceelement 2''rel'=> '0''init'=> '0'],
                    [
'id' => '3''text'=>'Sourceelement 3''rel'=> '0''init'=> '0'],
                  ];
    
$mySelect1->setCustomOptions($arrSelect1);
    
$myExampleTray1->addElement($mySelect1);

    
$mySelect2 = new XoopsModules\Wgsimpleacc\Form\FormSelectCascading('Caption Select 2''select2''4'15);
    
$mySelect2->setType(2);
    
$arrSelect2 = [
                    [
'id' => '1''text'=>'Targetelement 1, linked to Sourceelement 1''rel'=> '1''init'=> '2'],
                    [
'id' => '1''text'=>'Targetelement 1, linked to Sourceelement 2''rel'=> '2''init'=> '2'],
                    [
'id' => '1''text'=>'Targetelement 1, linked to Sourceelement 3''rel'=> '3''init'=> '2'],
                    [
'id' => '2''text'=>'Targetelement 2, linked to Sourceelement 1''rel'=> '1''init'=> '2'],
                    [
'id' => '3''text'=>'Targetelement 3, linked to Sourceelement 1''rel'=> '1''init'=> '2'],
                    [
'id' => '3''text'=>'Targetelement 3, linked to Sourceelement 3''rel'=> '3''init'=> '2'],
                    [
'id' => '4''text'=>'Targetelement 4, linked to Sourceelement 2''rel'=> '2''init'=> '2'],
                    [
'id' => '5''text'=>'Targetelement 5, linked to Sourceelement 2''rel'=> '2''init'=> '2'],
                  ];
    
$mySelect2->setCustomOptions($arrSelect2);
    
$myExampleTray1->addElement($mySelect2);
    
$form->addElement($myExampleTray1);
    
$form->addElement(new \XoopsFormHidden('op''save'));
    
$form->addElement(new \XoopsFormButtonTray(''_SUBMIT'submit'''false));
    
$GLOBALS['xoopsTpl']->assign('form'$form->render());


if you now click on 'Sourceelement 1' in first select then you see only
- 'Targetelement 1, linked to Sourceelement 1'
- 'Targetelement 2, linked to Sourceelement 1'
- 'Targetelement 3, linked to Sourceelement 1'
in second select

have fun
Goffy



3
goffy
Re: xoopsMailer and SMTP
  • 2022/11/27 9:31

  • goffy

  • Just can't stay away

  • Posts: 512

  • Since: 2010/12/27


hi

I got it working in my environment, but I am not sure whether this is valid for everyone.

This is the code:
$xoopsMailer xoops_getMailer();
$xoopsMailer->multimailer->isSMTP();
$xoopsMailer->multimailer->Port       $my_port_out// set the SMTP port
$xoopsMailer->multimailer->Host       $my_server_out//sometimes necessary to repeat
$xoopsMailer->multimailer->SMTPAuth   true;
$xoopsMailer->multimailer->SMTPSecure $my_securetype_out;
$xoopsMailer->multimailer->Username   $my_username// SMTP account username
$xoopsMailer->multimailer->Password   $my_password// SMTP account password
$xoopsMailer->multimailer->SMTPDebug  0;
...

The biggest problem was that my mail provider use different setting for client tools like outlook or thunderbird in comparison with setting for smtp access via a CMS.
Therefore: check allways in advance which settings your provider allows



4
goffy
XOOPS and cookies
  • 2022/11/22 12:29

  • goffy

  • Just can't stay away

  • Posts: 512

  • Since: 2010/12/27


is it possible to run a XOOPS website without any cookies?



5
goffy
xoopsMailer and SMTP
  • 2022/11/19 13:28

  • goffy

  • Just can't stay away

  • Posts: 512

  • Since: 2010/12/27


Hi

is there somewhere a description where I can see how to setup xoopsMailer properly for using a SMTP mail account for sending mails?



6
goffy
Re: UpConstruction Bootstrap v5.2.2
  • 2022/10/24 6:40

  • goffy

  • Just can't stay away

  • Posts: 512

  • Since: 2010/12/27


looks great, thank you



7
goffy
Re: wgDiaries 1.03 RC1 ready for testing
  • 2022/10/17 15:44

  • goffy

  • Just can't stay away

  • Posts: 512

  • Since: 2010/12/27





8
goffy
Re: How do i check a xoops smarty plugin exist ?
  • 2022/10/2 15:46

  • goffy

  • Just can't stay away

  • Posts: 512

  • Since: 2010/12/27


try

<{if xoStats|default:false}>



9
goffy
Next version of wgEvents
  • 2022/8/29 14:57

  • goffy

  • Just can't stay away

  • Posts: 512

  • Since: 2010/12/27


A new version of wgEvents is available now onhttps://github.com/XoopsModules25x/wgevents/releases

Some of new features since Alpha version:
- Usage of Google Maps to show marker for location
- Support of multiple fees for each event (e.g. different fees for child, adults,...)
- Sending mails by using a task handler (mails per hour can be defined)
- Ajax support for most used functions for event organizers (e.g. set status, confirm payment,...)
- Support of saving historical data (registrations, answers)
- Implementation of tablesorter
- Import of events from Apcal und ExtCal module

Full feature list you can find here:https://github.com/XoopsModules25x/wgevents#readme

I used the module already on a production site, therefore I know it is already very stable now.

But nevertheless, there is still space for improvements ;)

Issues and bug reports please here:https://github.com/XoopsModules25x/wgevents/issues



10
goffy
Re: no xoops in softaculous installer
  • 2022/8/29 11:54

  • goffy

  • Just can't stay away

  • Posts: 512

  • Since: 2010/12/27


Hi

as far as I see at softaculous itself it is available:
https://www.softaculous.com/softaculous/apps/cms/Xoops

But there is still XOOPS 2.5.10, as 2.5.11 is still Beta




TopTop
(1) 2 3 4 ... 41 »



Login

Who's Online

70 user(s) are online (50 user(s) are browsing Support Forums)


Members: 0


Guests: 70


more...

Donat-O-Meter

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

Latest GitHub Commits