71
alain01
Re: Help for designer to migrate bootstrap 4 to BT5
  • 2021/5/11 23:43

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


Core xswatch5 done :
https://github.com/alain01/xswatch5

My "to do list" now :
overloaded templates
- system
- pm
- xmnews
- xmdoc
- xmcontact
- xmcontent
- xmsocial
- profile


For other modules, you should work to migrate

You can submit here :https://github.com/alain01/xswatch5/pulls



72
alain01
Re: Help for designer to migrate bootstrap 4 to BT5
  • 2021/5/11 22:55

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


7 - Badge
Dropped badge-* color classes for background utilities (e.g., use .bg-primary instead of .badge-primary).
badge-pill to rounded-pill

8 - Toast
Check new positions



73
alain01
Help for designer to migrate bootstrap 4 to BT5
  • 2021/5/11 20:07

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


If it could be help designers !
Migration from bootstrap 4 to BT5 :

1 - convert all spacing (margin/padding) with
l (left) to s (start)
r (right) to e (end)

2 - convert text-*
text-left to text-start
text-right to text-end

3 - Dropdown menu
In navbar : data-toggle="dropdown" to data-bs-toggle="dropdown"

4 - Forms
Dropped .input-group-append and .input-group-prepend. You can now just add buttons and .input-group-text as direct children of the input groups.

5 - Carousel
data-ride to data-bs-ride
convert list to button
data-slide-to to data-bs-slide-to
use new class to the previous and next button on control button

6 - Jumbotron
Dropped the jumbotron component as it can be replicated with utilities
See here example without jumbotron



74
alain01
Re: Simple WFH Diary module?
  • 2021/5/11 10:02

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


IMO, IMO, there is no modern and recent module with right to the owner of the item.
There are modules with fine rights on groups, but not on the owner of the item.
So, 1 group for each personn is a bad solution, sure.

There was 1 module,
it was a smartxxxxxx module from smartfactory canada) but not available now.
It worked like a support manager.
You opened a ticket, visible just by you,
And a support manager or team support answered to you via the ticket.

Thak you Mamba for your video.

I really apprreciate if someone could support us in the creation of a module with a concrete case as requested mjoel



75
alain01
Re: xswatch5 and theme_autorun.php
  • 2021/5/10 16:07

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


Changes BT4 to BT5 :

1 - convert all spacing (margin/padding) with
l (left) to s (start)
r (right) to e (end)

2 - convert text-*
text-left to text-start
text-right to text-end

3 - Dropdown menu
In navbar : data-toggle="dropdown" to data-bs-toggle="dropdown"

4 - Forms
Dropped .input-group-append and .input-group-prepend. You can now just add buttons and .input-group-text as direct children of the input groups.


let's go on...



76
alain01
Re: Simple WFH Diary module?
  • 2021/5/10 15:51

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


Quote:
this sound to be a very simple module. did you try to create it by ModuleBuilder?

For a developper !

It would be a good day if we could read a tutorial to create a "simple" module" !
I knowhttps://xoops.gitbook.io/modulebuilder-tutorial/
but it's not a tutorial.



Step by step hi ha hi
Step
Byyyy
step





77
alain01
Re: xswatch5 and theme_autorun.php
  • 2021/5/10 15:20

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


Oh ! ok !
/class/xoopsload.php

Ok Richard, I'm ready for bt6 now



78
alain01
Re: Simple WFH Diary module?
  • 2021/5/10 14:55

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


Hello,

If we can associate a user with a different group, then yes, there are several modules that can do this.

If you have 15 people, that's fine, if you have 200, obviously, no.
I know, it not the best,
Best is : owner can see + admin group...



79
alain01
Re: xswatch5 and theme_autorun.php
  • 2021/5/10 7:43

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


Humm,
the PR is done,
and I just modified the theme_autorun.php
as :
<?php
xoops_load
('XoopsFormRendererBootstrap5');
XoopsFormRenderer::getInstance()->set(new XoopsFormRendererBootstrap5());

I updated system module and use maintenance, but i get this error :
Quote:
Error : Error: Class 'XoopsFormRendererBootstrap5' not found


I missed something ?



80
alain01
Re: xswatch5 and theme_autorun.php
  • 2021/5/9 16:00

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20






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



Login

Who's Online

225 user(s) are online (147 user(s) are browsing Support Forums)


Members: 0


Guests: 225


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