We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Display Child Category

Development and Programming

r1ckym's avatar
r1ckym
5 posts
13 years ago
r1ckym's avatar r1ckym

Hi All,

I am having problems accessing and displaying a child category, see below. The scenario is based on forklift Manufacturer/Model

CATEGORY GROUP NAME - Manufacturer ID Category Name 115 Clark 118 Combilift 214 - C4000 113 Crown 71 Daewoo 171 - D25S-3 58 Doosan 206 - D25-G 204 - D30S-5

Clark, Combilift, Crown, Daewoo, Doosan are all manufacturers. Anything with - is a model.

I want to be able to display the Model in the following HTML tags: <tr> <td>Model:</td> <td >{…}</td> </tr>

Any suggestions, I was using the following format which display all the other category groups which clearly I don’t want to do:

{exp:weblog:entries limit="1"} {categories} <td>Category:</td> <td>{category_name}</td> {/categories}
{/exp:weblog:entries}

       
Laisvunas's avatar
Laisvunas
879 posts
13 years ago
Laisvunas's avatar Laisvunas

Hi,

To displau child categories you can use Child Categories plugin.

       
r1ckym's avatar
r1ckym
5 posts
13 years ago
r1ckym's avatar r1ckym

Hi Laisvunas,

Thanks for the information, I will play around and see if I can access the sibling.

Much appreciated.

R1ckym

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.