On Mar 5, 2010, at 11:19 AM, Gauthier, Stephane (CH) wrote:

Yes,

I understand that but, is it just a matter of creating nodes?

well, yes, the resources is a different workspace, you need to create the new nodes there although is not necessary, they can be accessed from the file system. If your theme is not loaded could be that is missing form the stk configuration, or you didnt select it in the page info of the home page.
Waht's the difference between CSS and Processed CSS etc. ?

processed js and css means that you can use freemarker in this files, also define model class and access the methods there from inside css or js.


Anyway thx for the update

From: [email protected] [mailto:[email protected] ] On Behalf Of Teresa Miyar
Sent: Friday, March 05, 2010 10:56 AM
To: Magnolia User-List
Subject: Re: [magnolia-user] Theme resources

Hi,

The way we recommend to develop new themes is to create a new module, inside the module descriptor you need to specify the version handler: < versionHandler >info.magnolia.module.templatingkit.setup.ThemeVersionHandler</ versionHandler>

The version handler calls InstallThemeTask that you could probalby call directly from your version handler if you are not using a separate module for the theme.

On Mar 5, 2010, at 10:20 AM, Gauthier, Stephane (CH) wrote:

Hi Magnolians,

I'm about to develop my brand new theme from scratch to understand the hassles of getting that working. When I deploy my module magnolia doesn't install the css files as resources despite that it is present in the bundle under path:

/templating-kit/themes/myTheme/css/mycss.css
I mean I can't see them in the Resources section of the Templating Kit menu (Admin Central) and when rendering the page they're not there.

Shall I do something specific to get them installed?
Thx in advance for help

Cheers

Stéphane GAUTHIER
Intranet, Internet, Magnolia projects, Webmaster
IPB IT, W&I IT, Lloyds Banking Group

**********************************************************************

This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail by error please delete it immediately. Please remember that e-mail transmission cannot be guaranteed to be secure or error-free as information could be read, intercepted, altered or corrupted by simple technical means. No liability or responsibility is accepted if information or data is, for whatever reason, corrupted or does not reach its intended recipient.

**********************************************************************





----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Best regards,

Teresa Miyar
Magnolia International Ltd.

Magnolia®  - Simple Open Source Content Management








----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Best regards,

Teresa Miyar
Magnolia International Ltd.

Magnolia®  - Simple Open Source Content Management







----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to