Hi Gusti,

your template script is not put in the right place.
You need to either deploy it to templates/myproject/templates/ path of your 
webapp or update the path in your template definition (in your current 
situation it should be just name of the script without any path prefix).

Otherwise I'm not so convinced that the guide refers to 
>In this case I put my template below <tomcat-home>/webapps/magnolia  folder as 
>the tutorial said.
Can you please point me to where it's mentioned?

Also please note that this mailing list is dedicated to developing Magnolia CMS 
rather than developing with Magnolia, in this case you should ask at user list. 
Thanks.


-- 
Best regards,

Zdenek Skodik
Magnolia International Ltd.

Magnolia®  - Simple Open-Source Content Management
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                
                                                                                
                                                                                
                                                                                
                                                


On Fri, 2010-12-03 at 14:52 +0800, Gusti Andika wrote:
> Hi All,
> 
> 
> 
> I tried to making a template by following the [tutorial introduction to 
> template] here.
> When opened the page that used the template I've created, i got message that 
> my template can't be found.
> Below is the snippet of the exception trace.
> 
> 
> javax.servlet.ServletException: 
> info.magnolia.module.templating.RenderException: Can't render template 
> /templates/myproject/templates/helloworld.ftl: FileNotFoundException: 
> Template /templates/myproject/templates/helloworld.ftl not found. 
> info.magnolia.module.templating.RenderingFilter.doFilter(RenderingFilter.java:110)
>  
> info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:70)
>  info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:82) 
> info.magnolia.cms.filters.BackwardCompatibilityFilter.doFilter(BackwardCompatibilityFilter.java:73)
>  
> info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:62)
>  info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:82)  
> 
> 
> In this case I put my template below <tomcat-home>/webapps/magnolia  folder 
> as the tutorial said. I'm using magnolia 4.3.8
> Hopes someone could help :)
> 
> 
> Thx,
> 
> 
> Gusti 



----------------------------------------------------------------
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