No Code Attached Yet ?
avatar gilou103
gilou103
9 Jan 2023

Steps to reproduce the issue

Create a Newsflash "A" module in Top-a position, 4 articles, Advanced / Layout = Horizontal
Display is of 4 articles is horizontal OK

Add another Newsflash "B" module in Bottom-a (or b) position, 2 articles, Advanced / Layout =Vertical

Display is of Newsflash "A" 4 articles is changed to vertical + mix of Newsflash "B"
Disable Newsflash "B" = Display back Newsflash "A" = OK (horizontal)

Expected result

I expect that both Newsflash "A" and Newsflash "B" config are independant (vertical / horizontal) layout

I've another Newsflash "Logo" in "Below-Top" position, no impact = Display remains OK in its position, so no impact from Newsflash "A & B"
This allows me to change logos by articles "logo's"

Actual result

Newsflash "A" advanced layout is corrupted by Newsflash "B" Layout

System information (as much as possible)

I use a child Cassiopea Template
Joomla 4.26
Cassiopeia, child

Additional comments

This is my first reported "bug".. Sorry if not so clear
Have a good time
Thanks, Gil

Newsflash_bug_4_positions_A+B+C
Newsflash_bug_3_B_Config_vertical
Newsflash_bug_1_A_OK_enable
Newsflash_bug_2_A+B_enable_BUG
Newsflash_bug_3_A_Config_horizontal

avatar gilou103 gilou103 - open - 9 Jan 2023
avatar joomla-cms-bot joomla-cms-bot - change - 9 Jan 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 9 Jan 2023
avatar brianteeman
brianteeman - comment - 9 Jan 2023

I cannot replicate this

image

avatar gilou103
gilou103 - comment - 9 Jan 2023

Hi Brian,

Thanks for you answer.

You may visit our site for demo of problem.

If you like, we can have a Teamviewer remote session.

Amicalement,

Gilles

De : Brian Teeman @.>
Envoyé : lundi 9 janvier 2023 22:41
À : joomla/joomla-cms @.
>
Cc : gilou103 @.>; Author @.>
Objet : Re: [joomla/joomla-cms] Newsflash module, not independant : advanced Layout / (vert. / horiz.), Gil (Issue #39584)

I cannot replicate this

https://user-images.githubusercontent.com/1296369/211413846-57e1fd50-8edb-4a75-9424-4cf4b48d73e5.png


Reply to this email directly, view it on GitHub #39584 (comment) , or unsubscribe https://github.com/notifications/unsubscribe-auth/AL2WZB6KWDVSNIRUFPC5FDTWRSAXJANCNFSM6AAAAAATVQ5PJI .
You are receiving this because you authored the thread.Message ID: @.***>

avatar brianteeman
brianteeman - comment - 9 Jan 2023

Sorry this is not the place for support - you should use forum.joomla.org

avatar gilou103
gilou103 - comment - 9 Jan 2023

Please try to set "Top A" position for 4 articles Categorie and "Bottom-A" for 2 articles Categorie.

avatar gilou103
gilou103 - comment - 9 Jan 2023

Hi Brian,
This is not support request as we have found a workaround, but it look like a bug behavior
Tested with Firefox et Chrome Private mode

Forget to mention some Module Setup details :
4 articles Module use Advanced / (Horizontal) / Module style = noCard
2 articles Module use Advanced / (Vertical) / Module style = inherited

avatar brianteeman
brianteeman - comment - 9 Jan 2023

My apologies - there is indeed something weird going on when using those two specific positions.

avatar brianteeman
brianteeman - comment - 9 Jan 2023

@drmenzelit Any ideas? Beyond me. I suspect something to do with the css grid perhaps

avatar gilou103
gilou103 - comment - 9 Jan 2023

No problem, support...
Plan was to assign "Newsflash" position and add articles Categories in these position. Then use articles flexibility (version, editing, publication, ...).
We've wanted to report this "behavior" / Bug.

ALSO :
If I enable "Newsflash" "Below Top" position (my logos Cat.), site is OK. No impact on Top A.
Logos are generated by articles from logo Categorie. I may add two, change it ...

avatar chmst chmst - change - 10 Jan 2023
Labels Added: ?
avatar chmst chmst - labeled - 10 Jan 2023
avatar drmenzelit
drmenzelit - comment - 10 Jan 2023

I found the reason. Each layout should load an own css file: horizontal = media\mod_articles_news\template.css, vertical = media\mod_articles_news\template-vert.css and that works. But the style has the same name: $wa->registerAndUseStyle('mod_modules'.... so the last one loaded wins... We need a PR changing the name of the style for the WebAssets Manager

avatar brianteeman
brianteeman - comment - 10 Jan 2023

good find

avatar drmenzelit drmenzelit - change - 10 Jan 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-01-10 07:21:10
Closed_By drmenzelit
avatar drmenzelit drmenzelit - close - 10 Jan 2023
avatar drmenzelit
drmenzelit - comment - 10 Jan 2023

Closing as we have a PR. Please test #39585

Add a Comment

Login with GitHub to post a comment