Hello!
I'm using k2 template overrides and I have styled category descriptions, with 2 additional divs.
Problem is that some categories will not have description, I know I could turn off category option "Show cetegory description", but all categories inherit parameters from 1 category.
Would it be possible to specify something like ?
I'm using k2 template overrides and I have styled category descriptions, with 2 additional divs.
Problem is that some categories will not have description, I know I could turn off category option "Show cetegory description", but all categories inherit parameters from 1 category.
Would it be possible to specify something like ?
13 years 11 months ago #106688
You will need to override the category_php file and put a test for the desc field to determine if it has text, show if it does, skip if it does not
Topic Author
13 years 11 months ago #106689
I'm sorry for asking this, but I'm not very familiar with php, could you please tell me which function I should use ?