Jump to content

Detecting active categories in Joomla!-based website


Recommended Posts

Hi everybody and congratulations for being part of this forum.


Well the case is that being a beginner in this thing called php, I am looking for an elegant, functional way to detect active categories in a Joomla!-based site.


The idea is to apply certain css rules to an entire site when certain categories are active. In fact, specific css styles for each active category.


The administrator in charge of the site will not have any control over the css files and their implementation, so I have to leave the site prepared in terms of styling.


The site will have a good number of categories to be activated and deactivated whenever the webmaster consider the opportunity.


Do you know some approach to the problem? Some practical example or idea.


Best regards.



Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.