Hi Jon! A "template" in Magnolia comes in 2 Parts: * A template (or paragraph) definition, which you create under "Templating Kit"->"Template Definitions" or "Templating Kit"->"Paragraph Definitions".
* The template code, in JSP or Freemarker. If using Freemarker, you can store the template code in the repository, under "Templating Kit"->"Templates". If you are using the enterprise edition, you will have to additionally create a "Site Definition". Are you using enterprise or community? The "Configuration" section should not normally be used when dealing with templates. My guess is, if you are having trouble, that you need to look at the site definition or the template definition. Regards from Vienna, Richard Von: [email protected] [mailto:[email protected]] Im Auftrag von Jon RINGWOOD PSE 55500 Gesendet: Mittwoch, 20. Oktober 2010 12:49 An: Magnolia User-List Betreff: Re: AW: [magnolia-user] New Templates Basic question for all of you experts: In the online demo project there are no options to create a 'New template' or 'Edit template' under Configuration, those menu options only appear under Templating Kit->Templates. I assume that this isn't where new templates are created though. Sorry for throwing such a basic question out there but I just want to create a new template from scratch. >>> On 19/10/10 at 17:34, "Unger, Richard" >>> <[email protected]<mailto:[email protected]>> wrote: Hi Jon! Yes it can! If you're using freemarker, there's no need to mess with the filesystem/webapps folder. Install the "inplace-templating" module if it isn't already there (it should be if you're running a bundle release). Then just create your template in the Templating->Templates folder (or a subfolder within), and check the "enable template" option. In your template (or paragraph) definition, point the "templatePath" property to the repository path of your new template, eg: "/myfolder/mytemplate.ftl". That should do the trick! Regards from Vienna, Richard ________________________________ Von: [email protected] [[email protected]]" im Auftrag von "Jon RINGWOOD PSE 55500 [[email protected]] Gesendet: Dienstag, 19. Oktober 2010 17:41 Bis: [email protected] Betreff: [magnolia-user] New Templates New Magnolia developer attempting to create a new template from scratch. The documentation instructs you to create the template and paragraph scripts in the webapps folder. I don't have access to the webapps folder, can't the script (using freemarker) be created within AdminCentral? ________________________________ ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]<mailto:[email protected]>> ---------------------------------------------------------------- -- This email and any other accompanying document (s) contain information from Kent Police, which is confidential or privileged. The information is intended to be for the exclusive use of the individual(s) or bodies to whom it is addressed. The content including any subsequent replies could be disclosable if relating to a criminal investigation or civil proceedings. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this email in error, please notify us immediately by contacting the sender or telephoning 01622 690690. ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]<mailto:[email protected]>> ---------------------------------------------------------------- ________________________________ ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]<mailto:[email protected]>> ---------------------------------------------------------------- ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
