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

  • alain01

  • Just can't stay away

  • Posts: 530

  • Since: 2003/6/20





842
goffy
Re: xswatch5 and theme_autorun.php
  • 2021/5/8 14:44

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


I would say: yes

if it is the same for the moment it doesn't matter, if me have to make changes we have aleady a start



843
Mamba
xBootstrap5 Beta 3 (with Bootstrap 5 Final)
  • 2021/5/8 0:45

  • Mamba

  • Moderator

  • Posts: 11375

  • Since: 2004/4/23


If you're interested in helping, please check out xBootstrap5 theme:

https://github.com/mambax7/xbootstrap5

It has been updated with Bootstrap 5.0 Final, but we need help with testing and improving the theme...
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



844
alain01
xswatch5 and theme_autorun.php
  • 2021/5/7 20:22

  • alain01

  • Just can't stay away

  • Posts: 530

  • Since: 2003/6/20


Hi
I'm working on xswatch5
and for now, i keep the original file theme_autorun.php from xswatch4.

In this file :
<?php
xoops_load
('XoopsFormRendererBootstrap4');
XoopsFormRenderer::getInstance()->set(new XoopsFormRendererBootstrap4());

Should we had a new file
XoopsFormRendererBootstrap5.php
in the /class/xoopsform/renderer directory ?



845
alain01
Re: Bootstrap stable version 5 soon
  • 2021/5/7 10:16

  • alain01

  • Just can't stay away

  • Posts: 530

  • Since: 2003/6/20


https://github.com/alain01/xswatch5

1st step :
- Add 4 news themes
- Updated bootstrap.min.css + bootstrap.bundle.min.js + bootstrap.bundle.min.js.map to Bootstrap v5.0.0.
- Removed the templates in the modules directory



846
alain01
Re: Bootstrap stable version 5 soon
  • 2021/5/7 9:04

  • alain01

  • Just can't stay away

  • Posts: 530

  • Since: 2003/6/20


Bootswatch v5 :

21 themes yet known + 4 new themes :
- Morph (neumorphism design theme)
- Quartz (glass design theme)
- Vapor (dark theme)
- Zephyr (light theme)



847
alain01
Re: Default templates vs Bootstrap 3, 4 and 5 Templates during module installation
  • 2021/5/7 5:28

  • alain01

  • Just can't stay away

  • Posts: 530

  • Since: 2003/6/20


Ok thank you, Mamba and Richard for your answer !

Quote:
This sounds more like education and standardization needs, not a code change.

ok, can we standardize the structure of the available themes that accompany the package of a module?



848
geekwright
Re: Default templates vs Bootstrap 3, 4 and 5 Templates during module installation

I agree with Mamba.

There is no way to know for sure what a theme is using. Even if the bootstrap js files are present in some directory, that doesn't mean that is what it is loading. Best we could ever do is guess, and that sort of decision needs to be made by the site owner, not some buggy algorithm.

Two other points, the module install and updates are NOT interactive. Both are a single function call that either works or fails. Many things depend on this behavior, and it won't be changing. Also, the themes directory is NOT required to be writable by the web server. This is a very good thing for security. On a well secured XOOPS, you won't be able to copy the files without some extra effort.

This sounds more like education and standardization needs, not a code change.



849
goffy
Re: Bootstrap stable version 5 soon
  • 2021/5/6 15:52

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


great news, thank you



850
alain01
Re: Bootstrap stable version 5 soon
  • 2021/5/6 9:35

  • alain01

  • Just can't stay away

  • Posts: 530

  • Since: 2003/6/20


Boostrap V5.0.0 is available now !

And bootwatch with bt5 since today ! (https://bootswatch.com/ )

So,
My first objective is to update xswatch 4 to xswatch5.

I'm starting with the heart of the theme,
After that, I will check the overloaded templates for modules.

I think I will need help for the overloaded templates for modules.

I will come back here with a link on a repository.




TopTop
« 1 ... 82 83 84 (85) 86 87 88 ... 29424 »



Login

Who's Online

188 user(s) are online (149 user(s) are browsing Support Forums)


Members: 0


Guests: 188


more...

Donat-O-Meter

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

Latest GitHub Commits