Hi all,
I builded a maven project, described in the great blog
http://dev.magnolia-cms.com/~gjoseph/dont-deploy-magnolia-deploy-your-project
and it works. I followed the templating manual
http://documentation.magnolia-cms.com/templates/introduction.html
and extend my maven magnolia project by an own template module based on the
templating manual with renderType=ftl. I also put a own theme module into it.
Everything runs perfectly, except that the css resource from my theme is not
inserted in the ftl template.
When I switch to STK Home, everything is included.
I try the solution from the templating guide:
[code]<link rel="stylesheet" type="text/css"
href="${pageContext.request.contextPath}/docroot/samples/samples.css"/>[/code]
it fails - nothing included.
I tried the solution discussed above in different ways:
[code][#list model.site.theme.cssFiles as cssFile]
<link rel="stylesheet" type="text/css" href="${cssFile.link}"
media="${cssFile.media}" />
[/#list][/code]
it fails.
I read much about models, but I cant find documentation how extend or write an
own model. The only sentence is in the templating module:
[quote]To keep things simple, this tutorial does not deal with Cascading Style
Sheets (CSS).
[/quote]
A template without css is stone age. Themes are documented very well, except
the including of the theme css and js resources into an own template with
renderTape=ftl.
Help are welcome.
Thanks in advance.
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=0bc436ee-d5ab-4b9d-9716-94b50f9b6cf9
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------