jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => General => Topic started by: romagromov on 04.03.2015 14:08:33

Title: Different layouts for main categories and subcategories?
Post by: romagromov on 04.03.2015 14:08:33
Hi!
Is it possible to create different layouts for main categories and subcategories?

For example, I need main categories (in main page) displays with width = 50%
But I need subcategories (inside main category) displays with full with.
Thanks.
Title: Re: Different layouts for main categories and subcategories?
Post by: ColinM on 05.03.2015 02:40:59
Hi
I think that by making use of the jd_custom.css iit should be possible. Do you have an example main category and sub category to look at on your site
Colin
Title: Re: Different layouts for main categories and subcategories?
Post by: romagromov on 07.03.2015 17:09:53
Quote from: ColinM on 05.03.2015 02:40:59
Hi
I think that by making use of the jd_custom.css iit should be possible. Do you have an example main category and sub category to look at on your site
Colin

I solved this problem by another way.
I created templates overrides and new layouts.

Main categories - http://bestwinsoft.com/
Subcategories - http://bestwinsoft.com/graphics

I only have 1 problem in subcategories. I need description text was inside the block.

(http://monosnap.com/image/Df0PaIt6uQfuodGlNNkoRUq5FpYxoc.png)

But I can't find end of div to replace it.
Or may be jdownloads use strip_tags...
Title: Re: Different layouts for main categories and subcategories?
Post by: ColinM on 08.03.2015 15:19:18
Hi
That was an innovative solution. ;)  Could you perhaps explain the steps in a little more detail so that others might benefit.

Colin