pharo-users@lists.pharo.org

Any question about pharo is welcome

View all threads

Re: [ANN] Bootstrap 5 for Seaside in Pharo

SM
Sanjay Minni
Sat, Jul 31, 2021 8:24 AM

Hi Torsten,

Further ...
I just saw that SBSDevelopmentLibrary contains CSS & JS - however its for
5.0.1,
Further the download library may not contain popper as mentioned in
getbootstrap
The JS library loaded thru html script is 5.0.2 (its in updateRoot: and
renderContentOn:)

If this has a bearing to carousel, collapse & modal not working then a
clean up may help
I tried importing the 5.0.2 JS/CSS files  in a FileLibrary but it thru an
error. And anyway couldn't figure out how to get popper in a library

just some pointers

with warm regards
Sanjay Minni

On Sat, 31 Jul 2021 at 12:11, Sanjay Minni sm@planage.com wrote:

Hi Torsten

this thread / announcement is not appearing in forum.world.st, i
dont know how many in the group browse only thru that interface (must
be dwindling anyway), this is case you want to repost there thru the
browser interface there

with warm regards
Sanjay Minni
+91-9900-902902
http://planage.com
https://www.linkedin.com/in/sanjayminni/

On Sat, 31 Jul 2021 at 11:55, Sanjay Minni sm@planage.com wrote:

Thanks,

Checked it out.
Dropdown and Navbar dropdown are working,
but carousel, collapse and modal are not working.

also, i don't know if it is relevant -
on the bs5 doc homepage (at
https://getbootstrap.com/docs/5.0/getting-started/introduction/) :

  1. it says css file
    https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css
    must be loaded before other stylesheets, but i couldn't see it loaded.
  2. The javascript file
    https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js

is required before closing </body> tag, but i see it loaded twice, in the
header and near the end of the page
(I attempted the above but not having skills at tool development level i
get held up at every little thing)

in the examples - Alerts - the link in the link colour example points to
BS-4 doc, you may want to change that to BS-5 :)

with warm regards
Sanjay Minni

On Sat, 31 Jul 2021 at 00:49, Torsten Bergmann astares@gmx.de wrote:

Hi Sanjay,

you wrote:

as some of the examples are not working for me like "collapse"

"dropdown"

This was already fixed - I forgot to push to GH. Load latest version
from master.

Have fun
T. (aka "astares")

Hi Torsten, Further ... I just saw that SBSDevelopmentLibrary contains CSS & JS - however its for 5.0.1, Further the download library may not contain popper as mentioned in getbootstrap The JS library loaded thru html script is 5.0.2 (its in updateRoot: and renderContentOn:) If this has a bearing to carousel, collapse & modal not working then a clean up may help I tried importing the 5.0.2 JS/CSS files in a FileLibrary but it thru an error. And anyway couldn't figure out how to get popper in a library just some pointers with warm regards Sanjay Minni On Sat, 31 Jul 2021 at 12:11, Sanjay Minni <sm@planage.com> wrote: > Hi Torsten > > this thread / announcement is not appearing in forum.world.st, i > dont know how many in the group *_browse only_* thru that interface (must > be dwindling anyway), this is case you want to repost there thru the > browser interface there > > > with warm regards > Sanjay Minni > +91-9900-902902 > http://planage.com > https://www.linkedin.com/in/sanjayminni/ > > > > On Sat, 31 Jul 2021 at 11:55, Sanjay Minni <sm@planage.com> wrote: > >> Thanks, >> >> Checked it out. >> Dropdown and Navbar dropdown are working, >> but carousel, collapse and modal are not working. >> >> also, i don't know if it is relevant - >> on the bs5 doc homepage (at >> https://getbootstrap.com/docs/5.0/getting-started/introduction/) : >> 1. it says css file >> https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css >> must be loaded before other stylesheets, but i couldn't see it loaded. >> 2. The javascript file >> https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js >> >> is required before closing </body> tag, but i see it loaded twice, in the >> header and near the end of the page >> (I attempted the above but not having skills at tool development level i >> get held up at every little thing) >> >> in the examples - Alerts - the link in the link colour example points to >> BS-4 doc, you may want to change that to BS-5 :) >> >> with warm regards >> Sanjay Minni >> >> >> >> On Sat, 31 Jul 2021 at 00:49, Torsten Bergmann <astares@gmx.de> wrote: >> >>> Hi Sanjay, >>> >>> you wrote: >>> >as some of the examples are not working for me like "collapse" >>> "dropdown" >>> >>> This was already fixed - I forgot to push to GH. Load latest version >>> from master. >>> >>> Have fun >>> T. (aka "astares") >>> >>