Path

ez projects / nivoslider / forum / general / stylesheet from design.ini....


Stylesheet from design.ini.append.php doesn't load

You need to be logged in to post messages in the forums. New users may register here.

Klaus Hessellund

Member since:
05 May 2011

Posts: 7

Monday 09 May 2011 10:27:00 am

Hi,

It doesn't seems to load the css. I'm not sure if it is supposed to work.

Or did I forget something?





[StylesheetSettings]


CSSFileList[]=nivo-slider.css


FrontendCSSFileList[]=nivo-slider.css





btw.. Thanks for making this extension :-)

/Klaus
Up

Klaus Hessellund

Member since:
05 May 2011

Posts: 7

Monday 09 May 2011 10:30:51 am

Oh.. This might be it :

file: settings/design.ini




[ExtensionSettings]


# A list of extensions which have design data


# It's common to create a settings/design.ini.append file


# in your extension and add the extension name to automatically


# get design from the extension when it's turned on.


DesignExtensions[]


Up

Klaus Hessellund

Member since:
05 May 2011

Posts: 7

Monday 09 May 2011 11:12:58 am

No.. It didn't work either.
Up

Sandra Parente

Member since:
09 January 2008

Posts: 16

Monday 09 May 2011 11:29:48 am

Hi Klaus, the design.ini was bugged, but now it's ok. Did you install the upgraded version I published last week? You can find it in the download section.
Let me know how it goes.

Sandra Parente
www.netbliss.it

Up

Stefano Gattuso

Member since:
26 October 2008

Posts: 22

Monday 09 May 2011 2:14:50 pm

Yes Sandra made some changes, i didnt try version 0.2 but let us know if still this bug.

Stefano Gattuso ( http://www.buby.it )
Contact me here : http://buby.it/Contattami

Up

Klaus Hessellund

Member since:
05 May 2011

Posts: 7

Monday 09 May 2011 2:50:31 pm

It doesn't seem to work here.

Does it work at your end?

Yes, I use version 0.2 .

At the moment I include css in pagelayout. I just think it would be prettier to include it using design.ini.append.php

I wonder if our pagelayout.tpl is non standard, so it will not load css from extensions.. hmm.. I should check..

/Klaus
Up

Stefano Gattuso

Member since:
26 October 2008

Posts: 22

Monday 09 May 2011 3:02:52 pm

well, for me was working even on 0.1 version... btw which release of ez publish are u using?

Stefano Gattuso ( http://www.buby.it )
Contact me here : http://buby.it/Contattami

Up

Klaus Hessellund

Member since:
05 May 2011

Posts: 7

Monday 09 May 2011 3:24:49 pm

I think the problem is at my end.

I found this :

http://share.ez.no/forums/developer/use-specific-css-in-an-extension

It seems you have to setup some code in pagelayout which reads and inserts CSSFileList settings.

We are using ezpublish 4.4.0

/Klaus
Up

You need to be logged in to post messages in the forums. New users may register here.