Advertisement

Customise Menu - Gantry 5 Topic is solved

General questions relating to Joomla! 5.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
0xSeiya
Joomla! Apprentice
Joomla! Apprentice
Posts: 27
Joined: Tue Sep 10, 2024 8:08 pm

Customise Menu - Gantry 5

Post by 0xSeiya » Thu Oct 10, 2024 11:05 pm

Hello,

I am having trouble to customise a menu. I would like to set up a blog on my website. I have only 2 articles for the moment but the idea will be to have a comprehensive layout with a menu on the left that will have different categories, when clicking on one category all the articles will appear on the right block and then you click on the article you want to read.

Firstly I cant find out how to get the menu vertically, it is showing horizontally as you can see

appreciate any helps
Thank you

https://grabinvestingdata.com/index.php/blog
You do not have the required permissions to view the files attached to this post.

Advertisement
User avatar
pablop76
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 118
Joined: Sat Dec 25, 2021 10:03 am
Location: Polska
Contact:

Re: Customise Menu - Gantry 5

Post by pablop76 » Fri Oct 11, 2024 6:21 am

Use flexbox style

Code: Select all

flex-direction: column;
or add class bootstrap

Code: Select all

flex-column
for module joomla menu in the tab "Advanced"
or use particle for Gantry
Paweł
Company website: https://web-service.com.pl/
- Joomla passionate, Polska, Skierniewice

0xSeiya
Joomla! Apprentice
Joomla! Apprentice
Posts: 27
Joined: Tue Sep 10, 2024 8:08 pm

Re: Customise Menu - Gantry 5

Post by 0xSeiya » Fri Oct 11, 2024 10:49 am

Thanks but it helped with the display.
I am still lost about the rest.
I managed to have that menu displaying vertically. I have both articles showing up on the right block although when I click on read more the full article doesnt come through it doesnt do anything.

Furthermore, the two articles are showing up because I placed joomla articles particles (being in the same category) on gantry. But when I will have more categories and more articles I am not sure how I will be able to interact with the block as at the moment it is only pointing at one category. I can add another category to it but It will display all articles from both categories. I would like to be able to click on the category and have the articles linked to it displayed in the block next to it (see picture attached) then click on the article and the full article displaying in the same block

thank you
You do not have the required permissions to view the files attached to this post.

User avatar
pablop76
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 118
Joined: Sat Dec 25, 2021 10:03 am
Location: Polska
Contact:

Re: Customise Menu - Gantry 5

Post by pablop76 » Sun Oct 13, 2024 8:20 am

To show a page with categories and the last few articles create a menu item "Gantry 5 Theme -> Custom Page" and assign your Gantry 5 template style, which you can design however you want.

https://docs.gantry.org/gantry5/configure/menu-item
To show a whole article you need to (create a page for a single article in a given category) you need to create a menu item for it "Menu Item Type * -> Category Blog" and choose the category it is in "Choose a Category *"
In the "Link Type" tab you hide this menu item "Display in Menu
-> No"
If you have more categories for articles you add more menu items.
Paweł
Company website: https://web-service.com.pl/
- Joomla passionate, Polska, Skierniewice

0xSeiya
Joomla! Apprentice
Joomla! Apprentice
Posts: 27
Joined: Tue Sep 10, 2024 8:08 pm

Re: Customise Menu - Gantry 5

Post by 0xSeiya » Mon Oct 14, 2024 9:02 am

Hi Pawel,

Thanks for your reply
I have already done most of that to be fair. I created menus for each category where the item is the corresponding category blog (not too sure what the difference is between category blog and category list). All those menus were assigned my website blog template page.
I added a position module in gantry layout for the menus.
Then I created a Category list module in joomla (with dynamic mode) which displays the list of article of a given category. Again I added a position module in Gantry where I assigned that category list module (with the blog page template assigned).
Somehow it all works fine until I click on an article. The link to the article does not work. This is where I am lost.

If you check on the website, my menus appear on the left side (as assigned) and category list on right side (as assigned). Click on the category and you have the corresponding articles showing up on the right side.
Thats how far I got.

https://grabinvestingdata.com/index.php/blog

Thank you
You do not have the required permissions to view the files attached to this post.

0xSeiya
Joomla! Apprentice
Joomla! Apprentice
Posts: 27
Joined: Tue Sep 10, 2024 8:08 pm

Re: Customise Menu - Gantry 5

Post by 0xSeiya » Mon Oct 14, 2024 9:14 am

Attached is the layout for Gantry I forgot to include before
You do not have the required permissions to view the files attached to this post.

User avatar
pablop76
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 118
Joined: Sat Dec 25, 2021 10:03 am
Location: Polska
Contact:

Re: Customise Menu - Gantry 5

Post by pablop76 » Mon Oct 14, 2024 9:22 pm

Use "Menu" particle to show menu
Use "Page Content" particle to show content
Paweł
Company website: https://web-service.com.pl/
- Joomla passionate, Polska, Skierniewice

0xSeiya
Joomla! Apprentice
Joomla! Apprentice
Posts: 27
Joined: Tue Sep 10, 2024 8:08 pm

Re: Customise Menu - Gantry 5

Post by 0xSeiya » Tue Oct 15, 2024 7:56 am

Thanks Pawel

Advertisement

Post Reply

Return to “General Questions/New to Joomla! 5.x”