Filtres et affichage [Résolu]

More
14 years 2 months ago #20467 by kim
Replied by kim on topic Filtres et affichage [Résolu]
i would like, display the name of the parent category (in my exemple, replace id 153 by Angiologie)

Angiologie (category parent) who contain the category CHIRURGIE AORTO-ILIAQUE DONT ANÉVRISMES.

See my structure

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

More
14 years 2 months ago #20473 by ggppdk
mmm try using the $globalcats array to see if you can achieve what you need.

To see the structure of $globalcats do:
Code:
echo "<pre>"; print_r($globalcats); exit(); // optional
to the above add :
global $globalcats
if you are inside a function

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

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

More
14 years 2 months ago #20477 by kim
Replied by kim on topic Filtres et affichage [Résolu]
It doesn't work, because, all this cat were in a cat superior, the principal cat...

What ever...

I found a solution, not very dynamic, but the result is there.

Thanks for all.

Kim.

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

Moderators: vistamediajoomlacornerggppdk
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save