Hello,
I would very much appreciate if anybody could help me on with this:
In head of index.php I need to get the category id (catid) of the article or blog page which is openend.
When I have this integer I next could load a special template file to add some color rules for this category.
I could for example add this line:
<link rel="stylesheet" href="<?php echo $this->baseurl; ?>/templates/ja_purity/css/category-<? echo $catid; ?>.css"
The output would be a template file category-15 or any number of the actual category.
But how to get it?
As far as I can see there are two situations in which I have to get the catid:
1. page view is category list or category blog
2. page view is article
I hope someone more at home in php on this forum can help me on.
Thank you in advance,
Micrantha