Phoca Download css on the main page

Phoca Download - download manager
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48581
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Download css on the main page

Post by Jan »

Hi, the content CSS is loaded in case on the site (in the article), the Phoca Download Plugin is used, if you will not use it there, it will be not loaded.

Jan
If you find Phoca extensions useful, please support the project
sonnenlanze
Phoca Member
Phoca Member
Posts: 29
Joined: 24 Jan 2010, 12:57
Location: Germany

Re: Phoca Download css on the main page

Post by sonnenlanze »

Hi,

sorry for resurrecting this thread, but I've got the same question:

We use a "multicategories blog-view" for our main page www.vfdnet.de!
The phocadownloas.css is always loaded, though we do NOT use it on that page!

It it possible to turn loading of the CSS off as long as it's not an article that is viewed? So Blog view: no CSS; Article: CSS

That would be great!
Thanks alot,
Vanessa
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48581
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Download css on the main page

Post by Jan »

Hi, for this the code needs to be customized - the plugin code, to add an if clause - if the view is blog - don't load the CSS, if the view is article, load it.

Jan
If you find Phoca extensions useful, please support the project
sonnenlanze
Phoca Member
Phoca Member
Posts: 29
Joined: 24 Jan 2010, 12:57
Location: Germany

Re: Phoca Download css on the main page

Post by sonnenlanze »

Hi Jan,

that would be awsome!!! Can you give me a hint in what file to look for it?

Thanks and kind regards,
Vanessa :)
Post Reply