Keyword

sub cat description

  • Marc De Gibon
  • Marc De Gibon's Avatar Topic Author
  • Offline
  • New Member
More
9 years 2 months ago #141383 by Marc De Gibon
sub cat description was created by Marc De Gibon
HI,
Newbie with K2, i'm taking over a web site built with this component.
I have the following category structure:

CATEGORY
--- SUBCAT 1
--- SUBCAT 2
--- SUBCAT 3
--- SUBCAT 4
CATEGORY2
--- SUBCAT 1
--- SUBCAT 2
--- SUBCAT 3
--- SUBCAT 4

Each subcat have a description (admin/K2/Categories/Subcategory/description)
But I cannot find a way to display it on the website.

I've tried using templating with no result.
<!-- Subcategory description -->
					<p><?php echo $subCategory->description; ?></p>
					<?php endif; ?>

					<!-- Subcategory more... -->
I have enabled intro text with no result.

i.imgur.com/0JvkoA8.jpg
i.imgur.com/nnDsK8F.png

Can you please help?

Thanks and regards
Marc

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 2 months ago #141390 by Krikor Boghossian
Replied by Krikor Boghossian on topic sub cat description
Hello Marc,

I think this would be easier to accomplish with a custom mod_menu module. You can use the menu item's image and notes to enter your K2 category's image and description.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Marc De Gibon
  • Marc De Gibon's Avatar Topic Author
  • Offline
  • New Member
More
9 years 1 month ago #141416 by Marc De Gibon
Replied by Marc De Gibon on topic sub cat description
HI Krikor
Thanks for you reply, but sorry, not sure what you meant.

I would like to avoid to replicate the category/subcategory in the menu items.
My menu is one level only:

Menu 1 (home page)
Menu 2 (K2 category : lists the sub categories)
Menu 3 (K2 category B! Lists the sub categories)

The sub categorie are accessed by click on the subcategory title.
Have a look @ the web site: www.lesjardinsdusud.com

BR
Marc

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 1 month ago #141434 by Krikor Boghossian
Replied by Krikor Boghossian on topic sub cat description
By default K2 lists a flat list of the current category's children.
This can be extended either by a mod_menu module or by a custom K2 module (the K2 content or categories module do not offer this functionality).

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum