1 sidebar next to 2 sections

Everything to do with Joomla! 5.x templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
HDsports
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Sun Feb 02, 2014 2:29 pm

1 sidebar next to 2 sections

Post by HDsports » Tue May 21, 2024 10:15 pm

A (desperate question) to the template experts.
How do I manage to display the sidebar on the left side of a template and at least 2 different sections next to it? I have tried this with 2 free templates (Purity IV, Helix Ultimate), but have not found a solution after hours. With the Purity III template, I managed to put it together myself after tinkering around in a PHP file of the template for a long time.
Such a display should be possible without complex tinkering, as I think that such a display is often useful...

In the screenshot: the larger screenshot is Purity III, where I managed it years ago, but only by customizing PHP files. The smaller screenshot is Purity IV, where I have not found a solution. In this case, "component" is only displayed when the content from Sidebar 1 is finished.
Same problem with Helix Ultimate


Screenshot 1: Purity III, where several sections are displayed next to Sidebar 1
Screenshot 2024-05-21 201759.png
Screenshot 2: Purity IV. I can't get over_component AND component to be displayed next to sidebar-1. Same problem with Helix Ultimate
Screenshot 2024-05-21 201924.png
You do not have the required permissions to view the files attached to this post.

User avatar
ceford
Joomla! Hero
Joomla! Hero
Posts: 2762
Joined: Mon Feb 24, 2014 10:38 pm
Location: Edinburgh, Scotland
Contact:

Re: 1 sidebar next to 2 sections

Post by ceford » Wed May 22, 2024 12:39 am

Any reason not to use Cassiopeia? This article shows all available positions:

https://docs.joomla.org/J4.x:Template_Basics

SharkyKZ
Joomla! Hero
Joomla! Hero
Posts: 2966
Joined: Fri Jul 05, 2013 10:35 am
Location: Parts Unknown

Re: 1 sidebar next to 2 sections

Post by SharkyKZ » Wed May 22, 2024 6:49 am

Change column type from "Component" to "Block". In the block add the component and module positions, e.g.:

Code: Select all

<jdoc:include type="modules" name="main-top" />
<jdoc:include type="component" />
<jdoc:include type="modules" name="main-bottom" />

HDsports
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Sun Feb 02, 2014 2:29 pm

Re: 1 sidebar next to 2 sections

Post by HDsports » Wed May 22, 2024 7:12 am

SharkyKZ wrote:
Wed May 22, 2024 6:49 am
Change column type from "Component" to "Block". In the block add the component and module positions, e.g.:

Code: Select all

<jdoc:include type="modules" name="main-top" />
<jdoc:include type="component" />
<jdoc:include type="modules" name="main-bottom" />
Where can i to this settings?

SharkyKZ
Joomla! Hero
Joomla! Hero
Posts: 2966
Joined: Fri Jul 05, 2013 10:35 am
Location: Parts Unknown

Re: 1 sidebar next to 2 sections

Post by SharkyKZ » Wed May 22, 2024 7:16 am

Click the cog on "Component" column.

HDsports
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Sun Feb 02, 2014 2:29 pm

Re: 1 sidebar next to 2 sections

Post by HDsports » Wed May 22, 2024 7:26 am

okay, i will try
You do not have the required permissions to view the files attached to this post.
Last edited by HDsports on Wed May 22, 2024 7:32 am, edited 1 time in total.

SharkyKZ
Joomla! Hero
Joomla! Hero
Posts: 2966
Joined: Fri Jul 05, 2013 10:35 am
Location: Parts Unknown

Re: 1 sidebar next to 2 sections

Post by SharkyKZ » Wed May 22, 2024 7:32 am

Click the dropdown (where "component" is currently selected). In the dropdown select "block". Then click "Add new" to create a new block.

User avatar
Pavel-ww
Joomla! Ace
Joomla! Ace
Posts: 1677
Joined: Tue Jun 30, 2020 12:17 pm

Re: 1 sidebar next to 2 sections

Post by Pavel-ww » Wed May 22, 2024 7:58 am

HDsports wrote:
Tue May 21, 2024 10:15 pm
In the screenshot: the larger screenshot is Purity III, where I managed it years ago, but only by customizing PHP files. The smaller screenshot is Purity IV, where I have not found a solution. In this case, "component" is only displayed when the content from Sidebar 1 is finished.
Same problem with Helix Ultimate
Hi.

You are too complicated.

99% of the layout issues can be resolved using CSS.

Changes in PHP should only be used if there is no CSS solution.

In Cassiopea and Helix Ultimate it can easily be solved through CSS. I think in Purity too, although I don't know this template well.
Decide on the choice of the template, publish all the elements that you need and provide a link to the page. Then we can help you choose the best solution.

HDsports
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Sun Feb 02, 2014 2:29 pm

Re: 1 sidebar next to 2 sections

Post by HDsports » Wed May 22, 2024 8:11 am

in Purity SharkyKZ solution helps.

But in Helix Ultimate i don't know. there are no settings like this as in purity.


Post Reply

Return to “Templates for Joomla! 5.x”