News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

Main Menu
Support-Forum

Menu item how to choose layout?

Started by Tazzios, 14.12.2021 09:54:21

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Tazzios

With the layout function we have to option to create multiple lay-outs. But how to actually use the different layouts?

In the content plugin you can set templates, but if i create a menu item there seems to be no option to choose the layout that i want to use. Or am I missing something?

ColinM

Hi
I think you are missing something :) .
When using jD there maybe multiple layouts types involved in the view on the screen.  jD uses the active layout in the relevant type.  There are 7 different types of layout, each type usually has a selection of which is the active one.

Article https://www.jdownloads.net/documentation-for-v3-9/layouts-v3-9/which-layout-is-used-where gives some indication of how the different layout types interact to produce the final view. 

Colin
Colin M
  •  

Tazzios

As you mention, 'jD uses the active layout', there's seems to be noway to use the nonactive layouts.
Making it possible to also be able to select non default is a great opportunity to fully use the power of the template functionality.

For example, I want to do this:
menuitem 1, show a category in default layout (named: layout1)
menuitem 2, show another category in a  non default layout (named: layout2)

At one menuitem want to I want to use columns, show the category with other fields and remove the up navigation button etc.

Arno

Hi Tazzios,
it exist already the possibility to use the jD content plugin with different layouts.
See pic.

Maybe could this help?
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

ColinM


Hi Tazzios
Presently there is no way to be able to dynamically select which layout is to be used with a particular view.
In many views multiple layout types are used.  Whilst there are similarities with a Template, in many cases a single layout is not for the entire view on screen
Colin
Colin M
  •