Panneau N0C 04 EN 250 250
Get 15% discount on our partner PlanetHoster with the code PHA-ceikay

Show first level name of category – start level 2

More
12 years 4 months ago #20747 by ddpneu
Hello,

I would like to ask if is possible to add some code inside the module to showed on the top name of the first level category when my Start level is 2.
The thing is that I can show the name of the module but it would be the same for all categories. The best for me would be to show on the top of the module the right name of the first level category.

For example this is menu:
-Test
--test1
--test2
-Test2
--test3
--test4

and if I have Start level 2, it will show me in the category Test only this:
--test1
--test2

And I would like to get on the top the name Test.

Thank you very much for your help.

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

More
12 years 4 months ago #20748 by ced1870
Hi
I understand, but this is not easy. It would need an advanced PHP code to return the current top category if it exists, and then show it...
this is not possible in the base of the module :(
CEd

Joomlack Webmaster and Developer

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

More
12 years 4 months ago #20749 by ddpneu
Hello,

there is the second option to make one module for each first category but it is not good for managing. I was thinking to add some code into default.php. Unfortunately my knowlage of php is limited so if you have any idea how to do that it would be great.

Thank you very much.

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

More
12 years 4 months ago #20750 by ced1870

but this is not easy.

this means that I don't have a quick code to give you. This would need some work to be done and I can't do it

Joomlack Webmaster and Developer

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

More
12 years 4 months ago #20751 by ddpneu
Never mind, thank you anyway.

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

Time to create page: 0.223 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 419 guests and 2 members online