Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with Container-Section in Joomla5, Gantry 5.5.17 #3244

Open
selfpubservice opened this issue Apr 15, 2024 · 6 comments
Open

Problems with Container-Section in Joomla5, Gantry 5.5.17 #3244

selfpubservice opened this issue Apr 15, 2024 · 6 comments

Comments

@selfpubservice
Copy link

Hi everybody,

Joomla 5.03, Gantry 5.5.17, php 8.2/8.3

Strange behaviour with Container-Sections in Joomla5-Templates: The outline settings are not transferred to the generated code.

Example:
Screenshot 2024-04-15 at 10-18-04 Zahnarztpraxis Neukirchen - Administration

Layout is always full width of screen, no "boxed content" and the class "section-vertical-paddings" is not included into the section tag. The width settings of g-sidebar and g-main are also ignored and set to 25% / 75%, not to 20/60% as expected.

Resulting Code:

<section id="g-container-main" class="g-wrapper">
	<div class="g-grid">
		<div class="g-block size-25">
			<aside id="g-sidebar">
				<div class="g-grid"> 
					<div class="g-block size-100">
						<div class="g-content">
							...
						</div>
					</div>
				</div>
				<div class="g-grid">
					<div class="g-block size-100">
						<div class="g-content">
							...
			  			</div>
					</div>
				</div>
				<div class="g-grid">
					<div class="g-block size-100">
						<div class="g-content">
							...
			  			</div>
					</div>
				</div>
			</aside>
		</div>
		<div class="g-block size-75">
			<main id="g-mainbar">
				<div class="g-grid">
					<div class="g-block size-100">
						<div class="g-content">
							...
						</div>
					</div>
				</div>
				<div class="g-grid">
					<div class="g-block size-100">
						<div class="g-content">
							...
						</div>
					</div>
				</div>
				<div class="g-grid">
					<div class="g-block size-100">
						<div class="g-content">
							...
						</div>
					</div>
				</div>
			</main>
		</div>
	</div>
</section>

Maybe a bug in Gantry 5.5.17?

BG, Peter

@pablop76
Copy link

pablop76 commented Apr 17, 2024

What outline are you trying to set this up for? The default outline is not a home-particles outline
outlines

@selfpubservice
Copy link
Author

This actually has nothing to do with the outline or any home particles. Correctly set data is not transferred here to the generated code. Incidentally, this is a self-developed template based on the Helium template. This is the saved contaier section in the layout.yaml. This ist correctly what the screenshot in my first post show, but the generated code does ignore this.

/container-main/:
    -
      -
        'sidebar 20':
          -
            - position-position-2951
          -
            - position-position-2845
          -
            - position-position-9451
      -
        'mainbar 60':
          -
            - position-position-5795
          -
            - system-content-8739
          -
            - position-position-7786
      -
        'aside 20': {  }

...

container-main:
    attributes:
      boxed: '0'
      class: section-vertical-paddings
      extra: {  }

@pablop76
Copy link

pablop76 commented Apr 17, 2024

Can you make your site available for testing? I tested my own outline and it works.

@selfpubservice
Copy link
Author

selfpubservice commented Apr 24, 2024

Here is a sample installation J5.1.0 with Gantry 5.5.17, and the Helium Template. Outline is "Helium - Standard".
https://test5.selfpubservice.de/

I set a class and a tag to the container and the Aside area to 20%, Main to 60% and Sidebar to 20%.

The result is no class, no tag, Aside = 25%, and Main fills the rest as expected.

<section id="g-container-main" class="g-wrapper">
  <div class="g-container">
    <div class="g-grid">
      <div class="g-block size-25">
        <aside id="g-aside">
        ...
        </aside>
      </div>
      <div class="g-block size-75">
        <main id="g-mainbar">
        ...
       </main>
     <div>                                                

@pablop76
Copy link

I would like your backend login details please.

@pablop76
Copy link

pablop76 commented Apr 24, 2024

It works for me
help-g5
Unpublished module in sidebar position

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants