Hi Adam, [quote]We've got an outside designer who has designed our website in their own HTML structure. We want to integrate that into Magnolia CMS.[/quote]
That's fine. Not all designers work with the HTML structure provided by the STK. Look at the custom HTML structure and identify elements similar to STK pages, areas and components. Your goal is to implement the requested functionality using whatever STK provides to save effort. For example, if the designer specified a contact form see if you can do it with STK's form component. See: Mapping specs to templates in the Academy. http://academy.magnolia-cms.com/display/MA/U.3+Mapping+specs+to+templates [quote]I still have to delve into STK quite deeply.... like the "model", or "content", etc. supporting objects...all those are still quite blurry in my mind.[/quote] Model is a Java class that allows you change how a page/area/component behaves. Put your custom logic in the model class. A typical case is influencing what is rendered on the page. Your template script can ask the model to do things such as checking configuration, calculating a value, or even connecting to a remote system. For instance, your contact form could add the visitor's email address to a mailing list automatically (hypothetical). http://documentation.magnolia-cms.com/display/DOCS/Rendering+content Content is the current content node a script operates on. For a page script "content" is the page node, for a component script "content" is the component node, and so on. The current content is available to your script through the "content" templating support object. So you can do things like get the page title with ${content.title!} when the current content is a page. https://documentation.magnolia-cms.com/display/DOCS/Freemarker+reference#Freemarkerreference-Javaobjects Don't worry, it will all make sense. Have you thought about attending training? https://www.magnolia-cms.com/services/training.html --Antti -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=aab5bc1a-12c0-4e1a-ad9e-3df246c6eea2 ---------------------------------------------------------------- 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]> ----------------------------------------------------------------
