different layout

Phoca Download - download manager
mac2
Phoca Member
Phoca Member
Posts: 19
Joined: 06 Jun 2009, 23:07

different layout

Post by mac2 »

Hello,
i must have 2 different Layouts by 'Phoca Download » Liste der Dateien (Kategorie-Ansicht)'

Code: Select all

#overDiv .pd-title, #phoca-dl-category-box .pd-title, #phoca-dl-file-box .pd-title {
Is it posible to create a suffix for different Layout?

Thanks for help
Maggie
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48581
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: different layout

Post by Jan »

Hi, not sure If I correctly understand? What you mean with suffix for different layout?
If you find Phoca extensions useful, please support the project
mac2
Phoca Member
Phoca Member
Posts: 19
Joined: 06 Jun 2009, 23:07

Re: different layout

Post by mac2 »

Hi Jan,
the problem is:
1 menu-link shows a page with downlod-files (List by category) - the looks, which elements are on this list ({pdtitle} and so on) I select in the phoca backend. The Styles (CSS) I can change how I want.

A second menu-link shows also a page with download-files (List by category - a other category as in the first page) and this looks must be different the first page.

Is there a way to do this possible?

Thanks for your help
Maggie
mac2
Phoca Member
Phoca Member
Posts: 19
Joined: 06 Jun 2009, 23:07

Re: different layout

Post by mac2 »

...one of my checking was:

In Joomla!2.5 i give a siteclass suffix 'archiv' an than i want to style (custom.css) the pd-title in my category-view.
I tryed this Stylesheet but perhapse the syntax is wrong, or this way never act.

.pd-category-view.archiv.pd-title {
color: #00cccc;
}

Best regards
Maggie
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48581
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: different layout

Post by Jan »

Hi, I think, this needs to be customized, because it is possible that if you create two menu links, going through the tree can end with being in other menu link. So it is better to directly set the settings for the category than for the menu link I think, do some if clause in php code, e.g.:

if the category is 1 then load such css, if the category is 2 then load other css :idea:

Jan
If you find Phoca extensions useful, please support the project
Post Reply