COMMUNITY FORUM
Create a category module?
- Kelsey Brookes
- Topic Author
- Offline
- Elite Member
Less
More
7 years 5 months ago #158838
by Kelsey Brookes
Create a category module? was created by Kelsey Brookes
I know this is a bit of an odd question, but does anyone know of a plugin for creating a module that shows a specific category's image, text, title and link?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 5 months ago #158846
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Create a category module?
Hello Kelsey,
I use a custom mod_menu instance which in the notes I add the category's description I want to show and I also use the menu's item image.
Furthermore you can use aliases so you won't harm your URL patterns.
I use a custom mod_menu instance which in the notes I add the category's description I want to show and I also use the menu's item image.
Furthermore you can use aliases so you won't harm your URL patterns.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Kelsey Brookes
- Topic Author
- Offline
- Elite Member
7 years 5 months ago #158860
by Kelsey Brookes
Replied by Kelsey Brookes on topic Create a category module?
Excellent idea, I like it.
I've been hunting around, but can't see immediately the php variable for the notes field - any pointers?
I've been hunting around, but can't see immediately the php variable for the notes field - any pointers?
Please Log in or Create an account to join the conversation.
- Kelsey Brookes
- Topic Author
- Offline
- Elite Member
7 years 5 months ago #158861
by Kelsey Brookes
Replied by Kelsey Brookes on topic Create a category module? [SOLVED]
Quick note - figured it out, for those who want to do this in the future.
When customising mod_menu, in the _url and _component overrides, add in this variable:
You can then use that to pull down the menu item note wherever you like into the layout.
When customising mod_menu, in the _url and _component overrides, add in this variable:
$notes = $item->note;
You can then use that to pull down the menu item note wherever you like into the layout.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 4 months ago #158876
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Create a category module? [SOLVED]
Nice one Kelsey :)
Kudos!
Kudos!
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.