> If a different scheme is needed, must it be handled in a new implementation > of the TemplateAvailability object?
When the current categorization structure doesn't fit your needs (hope I follow you there right), then yes. Categories are used by TemplateAvailability, so if you need to define new template categories, you might need to customize the TemplateAvailability class and at /<site>/templates/availability you should be able to register your own implementation there, with a class attribute, if your template definition is an instance of STKTemplate. > Is it possible to get an availability scheme different per Site definition? If you're running enterprise edition, then of course - ETK enables you to create as much site configuration as you would like. (btw when EE then you can also access our support system and we can prioritize your requests). > > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Zdenek Skodik > Sent: Friday, March 05, 2010 3:19 PM > To: Magnolia User-List > Subject: RE: [magnolia-user] Theme resources > > > Forgot to note that dms dam handler also counts with /img path > > -- > Best regards, > > Zdenek Skodik > Magnolia International Ltd. > > Magnolia® - Simple Open-Source Content Management > > > On Fri, 2010-03-05 at 15:08 +0100, Gauthier, Stephane (CH) wrote: > > sorry, found it: ^/resources/(templating-kit/themes/.*/img/.*)$ > > in "theme-img-to-dms" > > > > > > > > > > ______________________________________________________________________ > > From: [email protected] > > [mailto:[email protected]] On Behalf Of Gauthier, > > Stephane (CH) > > Sent: Friday, March 05, 2010 3:00 PM > > To: Magnolia User-List > > Subject: RE: [magnolia-user] Theme resources > > > > > > > > ok, fine I'm able to get the things working. > > Is there any way to change the images folder name to 'images' for > > example? > > is hardcoded or VirtualURIMapping enable? > > > > thx > > > > > > ______________________________________________________________________ > > From: [email protected] > > [mailto:[email protected]] On Behalf Of Teresa Miyar > > Sent: Friday, March 05, 2010 2:05 PM > > To: Magnolia User-List > > Subject: Re: [magnolia-user] Theme resources > > > > > > > > Some useful links: > > > > > > http://wiki.magnolia-cms.com/display/DEV/STK+Book > > http://wiki.magnolia-cms.com/display/DEV/Standard+Templating+Kit > > > > On Mar 5, 2010, at 1:51 PM, Teresa Miyar wrote: > > > > > Hi, > > > > > > > > > It sure makes sense to use STK, for any new project you usually have > > > to have you own site and templates, using STK you take advantage of > > > STK features like the models in the templates/paragraphs, the > > > rendering... > > > The documentation is under way, i can explain quickly how the theme > > > works: > > > files: > > > in jar: /templating-kit/themes/<name> (subfolder imgs and css) > > > in Magnolia: Images: in the dms > > > --> /templating-kit/themes/<name>/img > > > Css files: in the > > > resources /templating-kit/thems/<name>/css > > > custom theme: For this purpose we will create a new module (Copy > > > theme-pop structure or follow the steps > > > in http://wiki.magnolia.info/display/WIKI/Module+QuickStart). > > > In the module descriptor META-INF/magnolia/nameoftheme.xml you must > > > define the theme version handler: > > > < > > > versionHandler>info.magnolia.module.templatingkit.setup.ThemeVersionHandler</versionHandler> > > > Note: your theme requires a config bootstrap file in order to get > > > bootstrapped correctly. It's important to use the following location > > > and filename within your module JAR for this > > > file: > > > /mgnl-bootstrap/theme-<themeName>/config.modules.standard-templating-kit.config.themes.<themeName>.xml > > > (especially note the theme- prefix for the folder name in > > > mgnl-bootstrap). > > > > > > On Mar 5, 2010, at 1:24 PM, Gauthier, Stephane (CH) wrote: > > > > > > > Probably, I should ask things different way. > > > > Does it make sense to use the standard templating kit if I have to > > > > develop my own set of templates and site organisation? > > > > > > > > Thx > > > > > > > > > > > > __________________________________________________________________ > > > > From: [email protected] > > > > [mailto:[email protected]] On Behalf Of Gauthier, > > > > Stephane (CH) > > > > Sent: Friday, March 05, 2010 12:46 PM > > > > To: Magnolia User-List > > > > Subject: RE: [magnolia-user] Theme resources > > > > > > > > > > > > > > > > Ok, I think my problem is that they can't be accessed from the > > > > filesystem. I have checked in the stk configuration, it's right > > > > there and I selceted the right Site Definition from the page info. > > > > Thx, I think that it will help me investigate any further. > > > > > > > > That would be great to get a tutorial from magnolia on "Create > > > > your own theme from scratch" > > > > Cheers > > > > > > > > > > > > __________________________________________________________________ > > > > From: [email protected] > > > > [mailto:[email protected]] On Behalf Of Teresa > > > > Miyar > > > > Sent: Friday, March 05, 2010 11:49 AM > > > > To: Magnolia User-List > > > > Subject: Re: [magnolia-user] Theme resources > > > > > > > > > > > > > > > > > > > > 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]> > > > > ---------------------------------------------------------------- > > > > > > > > > > > > > > > > __________________________________________________________________ > > > > ---------------------------------------------------------------- > > > > 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]> > > > ---------------------------------------------------------------- > > > > > > > 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]> > > ---------------------------------------------------------------- > > > > > > > > ______________________________________________________________________ > > ---------------------------------------------------------------- > > 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]> > ---------------------------------------------------------------- > > > ---------------------------------------------------------------- > 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]> ----------------------------------------------------------------
