<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-646</id>
	<title>Nabble - Magnolia - User</title>
	<updated>2009-11-13T15:10:30Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Magnolia---User-f646.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Magnolia---User-f646.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26345091</id>
	<title>STK 1.2 RC2 and Magnolia EE 4.2 RC2 released</title>
	<published>2009-11-13T15:10:30Z</published>
	<updated>2009-11-13T15:10:30Z</updated>
	<author>
		<name>Philipp Bärfuss</name>
	</author>
	<content type="html">&lt;br&gt;Hi,
&lt;br&gt;&lt;br&gt;A very silly bug slipped into the STK demo project in the very last &amp;nbsp;
&lt;br&gt;moment. To not let that destroy the first impression I have released:
&lt;br&gt;- STK 1.2 RC2 [1]
&lt;br&gt;- Enterprise Edition 4.2 RC2 [2]
&lt;br&gt;&lt;br&gt;The Community Edition is not affected and sticks to formerly released &amp;nbsp;
&lt;br&gt;version 4.2 RC1
&lt;br&gt;&lt;br&gt;[1] &lt;a href=&quot;http://repo.magnolia-cms.com/m2/info/magnolia/magnolia-standard-templating-kit-bundle/1.2-rc2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://repo.magnolia-cms.com/m2/info/magnolia/magnolia-standard-templating-kit-bundle/1.2-rc2&lt;/a&gt;&lt;br&gt;[2] &lt;a href=&quot;http://files.magnolia-cms.com/4.2-rc2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://files.magnolia-cms.com/4.2-rc2&lt;/a&gt;&lt;br&gt;[3] &lt;a href=&quot;https://sourceforge.net/projects/magnolia/files/magnolia/Magnolia%20CE%204.2%20RC1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/projects/magnolia/files/magnolia/Magnolia%20CE%204.2%20RC1&lt;/a&gt;&lt;br&gt;&lt;br&gt;- Philipp Bärfuss
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;For list details see
&lt;br&gt;&lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26345091&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/STK-1.2-RC2-and-Magnolia-EE-4.2-RC2-released-tp26345091p26345091.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26341335</id>
	<title>Magnolia 4.2 RC1 has been released</title>
	<published>2009-11-13T10:36:34Z</published>
	<updated>2009-11-13T10:36:34Z</updated>
	<author>
		<name>Philipp Bärfuss</name>
	</author>
	<content type="html">&lt;br&gt;Hi,
&lt;br&gt;&lt;br&gt;We have just released Magnolia 4.2 RC1. The files are available for &amp;nbsp;
&lt;br&gt;download for both version, the Community Edition[1] and the Enterprise &amp;nbsp;
&lt;br&gt;Edition[2].
&lt;br&gt;&lt;br&gt;Be aware of the fact that the WebDAV support (you find it in the add- 
&lt;br&gt;ons of the Enterprise Edition) is still an alpha version and &amp;nbsp;
&lt;br&gt;experimental.
&lt;br&gt;&amp;nbsp; --&amp;gt; &lt;a href=&quot;http://jira.magnolia-cms.com/browse/MGNLWEBDAV-19&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.magnolia-cms.com/browse/MGNLWEBDAV-19&lt;/a&gt;&lt;br&gt;&lt;br&gt;I would also like to use that opportunity to thank Bert Leunis from &amp;nbsp;
&lt;br&gt;neteffect.nl for his very cool contribution of the hierarchical type &amp;nbsp;
&lt;br&gt;support in the data module.
&lt;br&gt;&lt;br&gt;Thanks!
&lt;br&gt;&lt;br&gt;[1] &lt;a href=&quot;http://files.magnolia-cms.com/4.2-rc1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://files.magnolia-cms.com/4.2-rc1&lt;/a&gt;&lt;br&gt;[2] &lt;a href=&quot;https://sourceforge.net/projects/magnolia/files/magnolia/Magnolia%20CE%204.2%20RC1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/projects/magnolia/files/magnolia/Magnolia%20CE%204.2%20RC1&lt;/a&gt;&lt;br&gt;&lt;br&gt;- Philipp Bärfuss
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;For list details see
&lt;br&gt;&lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26341335&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Magnolia-4.2-RC1-has-been-released-tp26341335p26341335.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26340411</id>
	<title>Re: Configurable tree configuration!</title>
	<published>2009-11-13T09:34:29Z</published>
	<updated>2009-11-13T09:34:29Z</updated>
	<author>
		<name>gregoryjoseph</name>
	</author>
	<content type="html">&lt;br&gt;Will's patch has (finally!) been applied, so this will be usable with &amp;nbsp;
&lt;br&gt;a plain Magnolia 4.2, no patches needed !
&lt;br&gt;&lt;br&gt;-g
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On 28.09.2009, at 14:53, Will Scheidegger wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Dear Magnolians
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Unless I am missing something completely tree configuration has &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; always been a pain since all the configuration info is hardcoded in &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; configuration classes - quite powerful but not very flexible. Well, &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; here's a way to change this:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ConfigurableTreeConfiguration.java
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; It is a configuration class which reads the config info at runtime &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; (i.e. each time the tree is set up) and displays the tree &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; accordingly.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; - You need a new context menu item? No problem, just add such a &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; config node to the trees configuration.
&lt;br&gt;&amp;gt;&amp;gt; - You would like to have an additional column with info displayed? &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; Go right ahead and add it to the trees config node.
&lt;br&gt;&amp;gt;&amp;gt; - You want to see nodes of an other type in your tree? Sure... by &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; now you know the deal.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Since this also allows you to define actions (menu items, double- 
&lt;br&gt;&amp;gt;&amp;gt; click on icons) you can create really flexible trees. For instance &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; the test tree I created displays a hierarchy of three data node &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; types and will open the correct dialog depending on what icon &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; you've double-clicked.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; - You can read about it and download it here:
&lt;br&gt;&amp;gt;&amp;gt; 	&lt;a href=&quot;http://www.fastforward.ch/web/ff/dokumentation/entwickler/magnolia_configurable_tree.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.fastforward.ch/web/ff/dokumentation/entwickler/magnolia_configurable_tree.html&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; - It only works with Mangolia 4.1.1
&lt;br&gt;&amp;gt;&amp;gt; - This file is distributed in the hope that it will be useful, but &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, TITLE, or &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; NONINFRINGEMENT.
&lt;br&gt;&amp;gt;&amp;gt; - If the Magnolia chiefs think that this is useful I would be happy &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; to contribute it officially to Magnolia
&lt;br&gt;&amp;gt;&amp;gt; - If you find bugs, typos or have feedback, let me know.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -will
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; For list details see
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26340411&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt; For list details see
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;&amp;gt; To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26340411&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; ----------------------------------------------------------------
&lt;/div&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;For list details see
&lt;br&gt;&lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26340411&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Configurable-tree-configuration%21-tp25645215p26340411.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26338508</id>
	<title>Re: Problem with FreeMarker built-in for ancestors</title>
	<published>2009-11-13T07:28:25Z</published>
	<updated>2009-11-13T07:28:25Z</updated>
	<author>
		<name>gregoryjoseph</name>
	</author>
	<content type="html">&lt;br&gt;Hi Nils,
&lt;br&gt;&lt;br&gt;Looks like a bug to me (or at least something we should support/handle &amp;nbsp;
&lt;br&gt;in Magnolia). It would help if you could report this on Jira; what &amp;nbsp;
&lt;br&gt;would help *a lot*, is if you could add a (failing) test to &amp;nbsp;
&lt;br&gt;info.magnolia.freemarker.FreemarkerHelperTest (in magnolia-core) to &amp;nbsp;
&lt;br&gt;demonstrate this.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&lt;br&gt;-g
&lt;br&gt;&lt;br&gt;On Nov 13, 2009, at 3:20 PM, Nils Breunese wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Nils Breunese wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I tried to work around using ?ancestors by using ?parent in a list &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; loop, but I ran into the exact same error message trying to do &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; that. My goal is to get a reference to the home node for an &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; arbitrary page.
&lt;br&gt;&amp;gt;&amp;gt; Since ?ancestors is giving me an error, I tried this as a workaround:
&lt;br&gt;&amp;gt;&amp;gt; ----
&lt;br&gt;&amp;gt;&amp;gt; [#-- Find the home node --]
&lt;br&gt;&amp;gt;&amp;gt; [#assign current = content]
&lt;br&gt;&amp;gt;&amp;gt; [#assign home = current]
&lt;br&gt;&amp;gt;&amp;gt; [#list 1..100 as level]
&lt;br&gt;&amp;gt;&amp;gt; 	[#assign current = current?parent]
&lt;br&gt;&amp;gt;&amp;gt; 	[#if current?parent??]
&lt;br&gt;&amp;gt;&amp;gt; 		[#assign home = current]
&lt;br&gt;&amp;gt;&amp;gt; 	[#else]
&lt;br&gt;&amp;gt;&amp;gt; 		[#break]		
&lt;br&gt;&amp;gt;&amp;gt; 	[/#if]
&lt;br&gt;&amp;gt;&amp;gt; [/#list]
&lt;br&gt;&amp;gt;&amp;gt; ----
&lt;br&gt;&amp;gt;&amp;gt; This gives me the same FreeMarker template error I get when I try &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; to use ?ancestors:
&lt;br&gt;&amp;gt;&amp;gt; ----
&lt;br&gt;&amp;gt;&amp;gt; Can't get parent of I18nContentWrapper for website:/[rep:root]:root &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; node doesn't have a parent
&lt;br&gt;&amp;gt;&amp;gt; ----
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Even [#assign r = content?root] returns the above error message. Can &amp;nbsp;
&lt;br&gt;&amp;gt; anyone confirm that either the ?ancestors or ?root built-in is &amp;nbsp;
&lt;br&gt;&amp;gt; working for them?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Nils Breunese.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt; For list details see
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;&amp;gt; To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26338508&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; ----------------------------------------------------------------
&lt;/div&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;For list details see
&lt;br&gt;&lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26338508&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-FreeMarker-built-in-for-ancestors-tp26334726p26338508.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26338048</id>
	<title>Re: Root node inheritance</title>
	<published>2009-11-13T07:04:20Z</published>
	<updated>2009-11-13T07:04:20Z</updated>
	<author>
		<name>WebNID</name>
	</author>
	<content type="html">To navigate from the root node I&amp;#39;ve tried this:&lt;br&gt;&lt;br&gt;&amp;lt;%@ taglib uri=&amp;quot;cms-taglib&amp;quot; prefix=&amp;quot;cms&amp;quot; %&amp;gt;&lt;br&gt;&amp;lt;ul&amp;gt;&lt;br&gt;  &amp;lt;cms:loadPage path=&amp;quot;/siteRoot&amp;quot; /&amp;gt;    &lt;br&gt;    &amp;lt;cms:out nodeDataName=&amp;quot;path&amp;quot;/&amp;gt;   &amp;lt;%-- Print /siteRoot correctly --%&amp;gt;         &lt;br&gt;
  &amp;lt;cms:pageIterator&amp;gt;&lt;br&gt;      &amp;lt;cms:out nodeDataName=&amp;quot;path&amp;quot; var=&amp;quot;path&amp;quot;/&amp;gt;          &lt;br&gt;      &amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;${pageContext.request.contextPath}${path}.html&amp;quot;&amp;gt;&lt;br&gt;        &amp;lt;cms:out nodeDataName=&amp;quot;title&amp;quot;/&amp;gt; ${path}  &amp;lt;%-- Print the currentPage path NOT /siteRoot --%&amp;gt;&lt;br&gt;
      &amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;          &lt;br&gt;   &amp;lt;/cms:pageIterator&amp;gt;&lt;br&gt;  &amp;lt;cms:unloadPage/&amp;gt;&lt;br&gt;&amp;lt;/ul&amp;gt;&lt;br&gt;&lt;br&gt;But don&amp;#39;t work, inside the pageIterator it is loaded the currentPage again!&lt;br&gt;any idea ?&lt;br&gt;&lt;br&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Nov 13, 2009 at 12:09 PM, WebNID &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26338048&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;webnid@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Hi all,&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;I&amp;#39;m evaluating to adopt Magnolia CMS. &lt;br&gt;&lt;div class=&quot;im&quot;&gt;I&amp;#39;ve played with template, paragraphs and some basic JSP and I think that Magnolia is very comfortable and simple.&lt;br&gt;&lt;br&gt;
&lt;/div&gt;But I&amp;#39;ve two question:&lt;br&gt;

&lt;br&gt;- how is it possible to create a paragraph or a content that will be inerithed in every pages ?&lt;div class=&quot;im&quot;&gt;&lt;br&gt;- is there a tag or something like &amp;lt;cms:loadPage&amp;gt; that can load directly the root node of all pages ?&lt;br&gt;
&lt;br&gt;thanks all&lt;br&gt;

&lt;br&gt;happy coding&lt;br&gt;Alex&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Fwd%3A-Root-node-inheritance-tp26335045p26338048.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26337873</id>
	<title>Deploying template files to production</title>
	<published>2009-11-13T06:51:19Z</published>
	<updated>2009-11-13T06:51:19Z</updated>
	<author>
		<name>Garima Parakh</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 3.2//EN&quot;&gt;
&lt;HTML&gt;
&lt;HEAD&gt;
&lt;META HTTP-EQUIV=&quot;Content-Type&quot; CONTENT=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;META NAME=&quot;Generator&quot; CONTENT=&quot;MS Exchange Server version 6.5.7654.12&quot;&gt;
&lt;TITLE&gt;Deploying template files to production&lt;/TITLE&gt;
&lt;/HEAD&gt;
&lt;BODY&gt;
&lt;!-- Converted from text/rtf format --&gt;
&lt;BR&gt;

&lt;P&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;Dear Magnolians,&lt;/FONT&gt;

&lt;BR&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;Our production environment has two Magnolia public servers in front of a load balancer. Our template files are stored in the file system. We have an issue when we deploy template changes to Production. If the template has changed significantly in structure, eg, paragraph removed or added a node, we need to update content immediately along with template deployment, otherwise, the page may look broken.&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;nbsp;Ideally, the content also needs to be updated at the same time as the template is deployed. Is there any solution within Magnolia,&amp;nbsp; that can help us in this process?&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;Some of the solutions that come to mind are:&lt;/FONT&gt;
&lt;/P&gt;

&lt;P&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;1. Keep the pages cached. Pages get refreshed from cache only when the page is activated. But this solution does not work for pages that are dynamic in nature and cannot be cached.&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;2. Take servers out of the load balancer one by one. This means we cannot activate content to all servers at the same time. It would be a pain to change the subscriber list one by one as we deploy to each server.&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;We are interested in&amp;nbsp; some other solutions that people are using for their deployments.&lt;/FONT&gt;
&lt;/P&gt;

&lt;P&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;Thanks in advance,&lt;/FONT&gt;

&lt;BR&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;Garima Parakh&lt;/FONT&gt;
&lt;/P&gt;

&lt;BR /&gt;
&lt;BR /&gt;
&lt;HR /&gt;
----------------------------------------------------------------&lt;BR /&gt;
For&amp;nbsp;list&amp;nbsp;details&amp;nbsp;see&lt;BR /&gt;
http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;BR /&gt;
To&amp;nbsp;unsubscribe,&amp;nbsp;E-mail&amp;nbsp;to:&amp;nbsp;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26337873&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;&lt;BR /&gt;
----------------------------------------------------------------&lt;BR /&gt;
&lt;/BODY&gt;
&lt;/HTML&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Deploying-template-files-to-production-tp26337873p26337873.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26337404</id>
	<title>Re: Problem with FreeMarker built-in for ancestors</title>
	<published>2009-11-13T06:20:23Z</published>
	<updated>2009-11-13T06:20:23Z</updated>
	<author>
		<name>Nils Breunese-2</name>
	</author>
	<content type="html">&lt;br&gt;Nils Breunese wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I tried to work around using ?ancestors by using ?parent in a list loop, 
&lt;br&gt;&amp;gt; but I ran into the exact same error message trying to do that. My goal 
&lt;br&gt;&amp;gt; is to get a reference to the home node for an arbitrary page.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Since ?ancestors is giving me an error, I tried this as a workaround:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ----
&lt;br&gt;&amp;gt; [#-- Find the home node --]
&lt;br&gt;&amp;gt; [#assign current = content]
&lt;br&gt;&amp;gt; [#assign home = current]
&lt;br&gt;&amp;gt; [#list 1..100 as level]
&lt;br&gt;&amp;gt; 	[#assign current = current?parent]
&lt;br&gt;&amp;gt; 	[#if current?parent??]
&lt;br&gt;&amp;gt; 		[#assign home = current]
&lt;br&gt;&amp;gt; 	[#else]
&lt;br&gt;&amp;gt; 		[#break]		
&lt;br&gt;&amp;gt; 	[/#if]
&lt;br&gt;&amp;gt; [/#list]
&lt;br&gt;&amp;gt; ----
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This gives me the same FreeMarker template error I get when I try to use 
&lt;br&gt;&amp;gt; ?ancestors:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ----
&lt;br&gt;&amp;gt; Can't get parent of I18nContentWrapper for website:/[rep:root]:root node 
&lt;br&gt;&amp;gt; doesn't have a parent
&lt;br&gt;&amp;gt; ----
&lt;/div&gt;&lt;br&gt;Even [#assign r = content?root] returns the above error message. Can 
&lt;br&gt;anyone confirm that either the ?ancestors or ?root built-in is working 
&lt;br&gt;for them?
&lt;br&gt;&lt;br&gt;Nils Breunese.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;For list details see
&lt;br&gt;&lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26337404&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-FreeMarker-built-in-for-ancestors-tp26334726p26337404.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26336654</id>
	<title>Re: Problem with FreeMarker built-in for ancestors</title>
	<published>2009-11-13T05:28:12Z</published>
	<updated>2009-11-13T05:28:12Z</updated>
	<author>
		<name>Nils Breunese-2</name>
	</author>
	<content type="html">&lt;br&gt;Nils Breunese wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I'd like to use the ?ancestors FreeMarker built-in. I put this in a 
&lt;br&gt;&amp;gt; FreeMarker template:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ----
&lt;br&gt;&amp;gt; [#assign ancs = content?ancestors]
&lt;br&gt;&amp;gt; ----
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Just adding that assignment throws the following error when accessing 
&lt;br&gt;&amp;gt; the page:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ----
&lt;br&gt;&amp;gt; Can't get parent of I18nContentWrapper for website:/[rep:root]:root node 
&lt;br&gt;&amp;gt; doesn't have a parent
&lt;br&gt;&amp;gt; ----
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Am I doing something wrong or is this a bug? I'm using Magnolia 4.1.1 EE.
&lt;/div&gt;&lt;br&gt;I tried to work around using ?ancestors by using ?parent in a list loop, 
&lt;br&gt;but I ran into the exact same error message trying to do that. My goal 
&lt;br&gt;is to get a reference to the home node for an arbitrary page.
&lt;br&gt;&lt;br&gt;Since ?ancestors is giving me an error, I tried this as a workaround:
&lt;br&gt;&lt;br&gt;----
&lt;br&gt;[#-- Find the home node --]
&lt;br&gt;[#assign current = content]
&lt;br&gt;[#assign home = current]
&lt;br&gt;[#list 1..100 as level]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [#assign current = current?parent]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [#if current?parent??]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [#assign home = current]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [#else]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [#break]		
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [/#if]
&lt;br&gt;[/#list]
&lt;br&gt;----
&lt;br&gt;&lt;br&gt;This gives me the same FreeMarker template error I get when I try to use 
&lt;br&gt;?ancestors:
&lt;br&gt;&lt;br&gt;----
&lt;br&gt;Can't get parent of I18nContentWrapper for website:/[rep:root]:root node 
&lt;br&gt;doesn't have a parent
&lt;br&gt;----
&lt;br&gt;&lt;br&gt;The error is on the line where current?parent?? is checked. According to 
&lt;br&gt;the FreeMarker documentation for the ?parent built-in [0] node?parent?? 
&lt;br&gt;should evaluate to false for the root node, but all I'm getting is this 
&lt;br&gt;I18nContentWrapper error. :(
&lt;br&gt;&lt;br&gt;Is the ?ancestors built-in working for anybody else? Does anyone know 
&lt;br&gt;how I can get this work?
&lt;br&gt;&lt;br&gt;Nils Breunese.
&lt;br&gt;&lt;br&gt;[0] 
&lt;br&gt;&lt;a href=&quot;http://freemarker.sourceforge.net/docs/ref_builtins_node.html#ref_builtin_parent&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://freemarker.sourceforge.net/docs/ref_builtins_node.html#ref_builtin_parent&lt;/a&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;For list details see
&lt;br&gt;&lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26336654&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-FreeMarker-built-in-for-ancestors-tp26334726p26336654.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26335697</id>
	<title>[reverse-proxy with tuckey UrlRewritefilter] How to get CMS filters dispatch on forwards?</title>
	<published>2009-11-13T04:08:26Z</published>
	<updated>2009-11-13T04:08:26Z</updated>
	<author>
		<name>Daniel Hops</name>
	</author>
	<content type="html">&lt;br&gt;Hello,
&lt;br&gt;&lt;br&gt;I am trying to build a reverse proxy in a magnolia v3.6.8 for SEO reasons.
&lt;br&gt;I am using the org.tuckey UrlRewriteFilter which I am calling from my 
&lt;br&gt;own magnolia managed filter extending the Magnolia AbstractMgnlFilter.
&lt;br&gt;When I define a forward rewriting rule the request gets forwarded, but 
&lt;br&gt;the content on the page misses the JCR content; only the Magnolia edit 
&lt;br&gt;bars are visible.
&lt;br&gt;redirect rules work fine, but forward rules seem to break the 
&lt;br&gt;filterchain and the CMS filters for content integration are not called.
&lt;br&gt;In the Magnolia filters setup there is a global bypass with the 
&lt;br&gt;&amp;quot;dontDispatchOnForwardAttribute&amp;quot;-voter, but because this is an internal 
&lt;br&gt;system bypass, I don't know if I should disable it somehow.
&lt;br&gt;&lt;br&gt;I already tried to call
&lt;br&gt;request.removeAttribute(DontDispatchOnForwardAttributeVoter.DONT_DISPATCH_ON_FORWARD_ATTRIBUTE); 
&lt;br&gt;&lt;br&gt;from my own Magnolia filter before calling the 
&lt;br&gt;UrlRewriteFilter.doFilter() method, but it does not help, the other CMS 
&lt;br&gt;filters are not called after a forward.
&lt;br&gt;&lt;br&gt;Any suggestions?
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;Daniel
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;For list details see
&lt;br&gt;&lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26335697&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-reverse-proxy-with-tuckey-UrlRewritefilter--How-to-get-CMS-filters-dispatch-on-forwards--tp26335697p26335697.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26335267</id>
	<title>Re: Re: Implementing a custom statistics module</title>
	<published>2009-11-13T03:30:37Z</published>
	<updated>2009-11-13T03:30:37Z</updated>
	<author>
		<name>Nils Breunese-2</name>
	</author>
	<content type="html">&lt;br&gt;Matteo Pelucco wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Nils Breunese ha scritto:
&lt;br&gt;&amp;gt;&amp;gt; But I haven't figured out how to access the 
&lt;br&gt;&amp;gt;&amp;gt; site-wide properties that are stored under the home page from an 
&lt;br&gt;&amp;gt;&amp;gt; arbitrarily nested subpage. How would you do this?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Look for header and footer ftl. They use paragraphs defined only in main 
&lt;br&gt;&amp;gt; page.
&lt;br&gt;&lt;br&gt;I'm not sure exactly what you mean. Right now I have no paragraphs in my 
&lt;br&gt;module and I wasn't planning on using any. I wanted to use the 
&lt;br&gt;?ancestors built-in in FreeMarker to get to the home page and then read 
&lt;br&gt;the statistics properties from that node, but using ?ancestors gives me 
&lt;br&gt;an error (see my separate post about this problem). Isn't that a good 
&lt;br&gt;solution?
&lt;br&gt;&lt;br&gt;Nils Breunese.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;For list details see
&lt;br&gt;&lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26335267&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Implementing-a-custom-statistics-module-tp26216247p26335267.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26335045</id>
	<title>Fwd: Root node inheritance</title>
	<published>2009-11-13T03:09:10Z</published>
	<updated>2009-11-13T03:09:10Z</updated>
	<author>
		<name>WebNID</name>
	</author>
	<content type="html">Hi all,&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;I&amp;#39;m evaluating to adopt Magnolia CMS. &lt;br&gt;I&amp;#39;ve played with template, paragraphs and some basic JSP and I think that Magnolia is very comfortable and simple.&lt;br&gt;&lt;br&gt;But I&amp;#39;ve two question:&lt;br&gt;

&lt;br&gt;- how is it possible to create a paragraph or a content that will be inerithed in every pages ?&lt;br&gt;- is there a tag or something like &amp;lt;cms:loadPage&amp;gt; that can load directly the root node of all pages ?&lt;br&gt;&lt;br&gt;thanks all&lt;br&gt;

&lt;br&gt;happy coding&lt;br&gt;Alex&lt;br&gt;
&lt;/div&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Fwd%3A-Root-node-inheritance-tp26335045p26335045.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26334726</id>
	<title>Problem with FreeMarker built-in for ancestors</title>
	<published>2009-11-13T02:41:57Z</published>
	<updated>2009-11-13T02:41:57Z</updated>
	<author>
		<name>Nils Breunese-2</name>
	</author>
	<content type="html">&lt;br&gt;Hello all,
&lt;br&gt;&lt;br&gt;I'd like to use the ?ancestors FreeMarker built-in. I put this in a 
&lt;br&gt;FreeMarker template:
&lt;br&gt;&lt;br&gt;----
&lt;br&gt;[#assign ancs = content?ancestors]
&lt;br&gt;----
&lt;br&gt;&lt;br&gt;Just adding that assignment throws the following error when accessing 
&lt;br&gt;the page:
&lt;br&gt;&lt;br&gt;----
&lt;br&gt;Can't get parent of I18nContentWrapper for website:/[rep:root]:root node 
&lt;br&gt;doesn't have a parent
&lt;br&gt;----
&lt;br&gt;&lt;br&gt;Am I doing something wrong or is this a bug? I'm using Magnolia 4.1.1 EE.
&lt;br&gt;&lt;br&gt;Nils Breunese.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;For list details see
&lt;br&gt;&lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26334726&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-FreeMarker-built-in-for-ancestors-tp26334726p26334726.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26333215</id>
	<title>Re: media module: how to integrate with stk</title>
	<published>2009-11-13T00:44:22Z</published>
	<updated>2009-11-13T00:44:22Z</updated>
	<author>
		<name>Ernst Bunders</name>
	</author>
	<content type="html">&lt;br&gt;hello Jan
&lt;br&gt;&lt;br&gt;Thanks for the info
&lt;br&gt;It makes me realize all the more that there is too much I don't yet
&lt;br&gt;know. I do understand what you are saying though, and partially
&lt;br&gt;reached the same conclusions myself. It is a pity dam-support is not
&lt;br&gt;well documented, and it seems to me that we need to do a lot of work
&lt;br&gt;to get a workable system for hour media (we are, by the way, a
&lt;br&gt;meda/television company).
&lt;br&gt;&lt;br&gt;I will take your remarks at heart as we will find hour way towards a
&lt;br&gt;good solution.
&lt;br&gt;&lt;br&gt;thanks,
&lt;br&gt;&lt;br&gt;Ernst
&lt;br&gt;&lt;br&gt;2009/11/12 Jan Haderka &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26333215&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jan.haderka@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Thu, 2009-11-12 at 11:39 +0100, Ernst Bunders wrote:
&lt;br&gt;&amp;gt;&amp;gt; hello Jan
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; What we are looking for in hour imaging solution:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 1 we want to be able to create a new image from the web page we are editing
&lt;br&gt;&amp;gt;&amp;gt; 2 we want to be able to search through the available images
&lt;br&gt;&amp;gt;&amp;gt; 3 we want to be able to see a preview of the images in the selection dialog
&lt;br&gt;&amp;gt;&amp;gt; 4 we want to integrate hour present image service.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; points 1 to 3 are not supported by dam for as fare as I can see. Yet
&lt;br&gt;&amp;gt;&amp;gt; they are by the media module.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Uh, I never said that you should use either DAM *or* Media Module. All I
&lt;br&gt;&amp;gt; did was explain few benefits of using DAM. Personally I think the Media
&lt;br&gt;&amp;gt; Module itself would benefit from using DAM.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; As for the 4th point this is again something DAM can help you with.
&lt;br&gt;&amp;gt; Since it keeps the image (or any other media) encapsulated in the Asset
&lt;br&gt;&amp;gt; and since it supports the variations, it is able to get accross the
&lt;br&gt;&amp;gt; message that UI needs image this and that, but cropped or resized (or
&lt;br&gt;&amp;gt; whatever other ops you imagine with whatever params you choose), and
&lt;br&gt;&amp;gt; then it is up to DAM to either find where such image is physically and
&lt;br&gt;&amp;gt; give link to it, or construct link that is meaningful to your imaging
&lt;br&gt;&amp;gt; service to perform such ops, or for example like DMS DAM hanlder does,
&lt;br&gt;&amp;gt; just call imaging module in Magnolia and tell it, here's the original
&lt;br&gt;&amp;gt; image and here's what I want you to do with it ...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; At the risk of repeating myself: DAM and MM are complementary.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt; Jan
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; point 4 will have to be achieved through custom work of course, but at
&lt;br&gt;&amp;gt;&amp;gt; least the media module already knows the concept of different media
&lt;br&gt;&amp;gt;&amp;gt; types, as well as proxying for remote media sources.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Mind you, I am fresh to Magnolia, so perhaps i am missing some obvious
&lt;br&gt;&amp;gt;&amp;gt; clues. But It seems to me that getting an url to an image is not my
&lt;br&gt;&amp;gt;&amp;gt; biggest problem at the moment. We are looking for a feature-rich media
&lt;br&gt;&amp;gt;&amp;gt; solution and the media module seems to me as the the closest thing
&lt;br&gt;&amp;gt;&amp;gt; available at present.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; But I would like to know more about how other magnolia users handle
&lt;br&gt;&amp;gt;&amp;gt; images and media.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; regards,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Ernst
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 2009/11/12 Jan Haderka &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26333215&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jan.haderka@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; hi
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; First off: thanks for the replies. Modifying the module so it can use
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; dam is not interesting for us, because we don't intent on using that.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; You might want to ask why it should be interesting to you - if module
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; supported DAM, you can use the functionality already provided by STK
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; such as stk.getAssetLink() etc and you can also use predefined macros
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; provided by STK such as image macro and then simply creating links to
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; your images like:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; [#include &amp;quot;/templating-kit/paragraphs/macros/image.ftl&amp;quot;/]
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; [@image image=model.image! imageClass=model.imageClass/]
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; where &amp;quot;image&amp;quot; is an DAM asset resolved by the ImageModel
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;    public Asset getImage() {
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;        return STKUtil.getAsset(content, getImageName(),
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; getImageVariationName());
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;    }
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; this is much easier to use in the templates then resolving the things
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; yourself as you are trying to do below, plus you get the flexibility to
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; mix the sources of images without having to care about differences in
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; the templates themselves.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Cheers,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Jan
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; What we are actually looking for is a way to work with different media
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; from different sources. We already have an image server that contains
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; a huge amount of data, and one of the things i would like to find out
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; is if the meda module can be extended (by us :-) ) to integrate with
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; this system.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; But first things first. I got the selection of images to work, and now
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; i actually want to show the image using The el functions that are part
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; of the media tld.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; My assumption is that i should first use getContent([mediaSelection])
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; to get the content node, and then something like getUrl([contentNode])
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; and so on.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; Perhaps to my shame I find it a trifle hard to access these functions
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; in my freemaker template. I am new to freemaker, but it seems
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; straightforward.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; First declare the taglib:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; [#assign media=JspTaglibs[&amp;quot;&lt;a href=&quot;http://net.sourceforge.openutils/mgnlMedia&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://net.sourceforge.openutils/mgnlMedia&lt;/a&gt;&amp;quot;]]
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; Then get the content Node:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; ${@media.getNode(&amp;quot;b83d0546-759c-43a3-8ceb-d63a2eda5723&amp;quot;)}
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; does not work: Expression @media is undefined
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; [@media.getNode(&amp;quot;b83d0546-759c-43a3-8ceb-d63a2eda5723&amp;quot;) /]
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; does not work: Expression media.getNode is undefined
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; [@media.getNode &amp;quot;b83d0546-759c-43a3-8ceb-d63a2eda5723&amp;quot; /]
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;  does not work: media.getNode not found
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; so, I'm out of ideas. Could anyone point my nose in the right direction please?
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; regards,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; Ernst
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; 2009/11/11 Grégory Joseph &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26333215&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gregory.joseph@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; On Nov 11, 2009, at 3:14 PM, Will Scheidegger wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; Check the archives... a few days back I asked the same question. In order
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; to select a picture it either as to be activated or you have to turn on the
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; development flag in the properties.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; And yes, you would have to modify the templates.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; Another approach might be to modify said media module to make it dam-aware;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; not sure how feasible it is at the moment, but the dam is intended to be
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; used exactly for that.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; Cheers,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; -g
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; On 11.11.2009, at 15:08, Ernst Bunders wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; hello
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; I am looking at the openmindLab media module, as a basis for hour
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; media management. The problem is how to integrate it with the stk.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; I found the 'mediaSelection' control and naively added an instance to
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; the stkTextImage dialog, and this indeed created a 'select' button
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; which opens the selection dialog.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; But alas, I can not select an image here. Perhaps some configuration
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; is missing in the control configuration. What's missing?
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; But I suppose that if this step would work, the image would not be
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; displayed in the site, as the that would require changes to the
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; stkTextImage paragraph template.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; So, how to go about this? how do I integrate the media module with the
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; skt? Any hints? exaples?
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; regards,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; Ernst bunders
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; Ontwikkelaar VPRO
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; For list details see
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26333215&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; For list details see
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; &lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26333215&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; For list details see
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26333215&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; Ernst bunders
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; Ontwikkelaar VPRO
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; For list details see
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26333215&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; For list details see
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26333215&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt; For list details see
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;&amp;gt; To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26333215&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Ernst bunders
&lt;br&gt;Ontwikkelaar VPRO
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;For list details see
&lt;br&gt;&lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26333215&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/media-module%3A-how-to-integrate-with-stk-tp26301911p26333215.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26332795</id>
	<title>Re: Magnolia's native authentication</title>
	<published>2009-11-13T00:03:51Z</published>
	<updated>2009-11-13T00:03:51Z</updated>
	<author>
		<name>Jan Haderka-2</name>
	</author>
	<content type="html">&lt;br&gt;I traced the message to:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (StringUtils.isEmpty(name)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; log.error(&amp;quot;realm of system user manager is not set!&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return Realm.REALM_SYSTEM;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;which in your case doesn't seem to be a problem as you are trying to log
&lt;br&gt;in as a superuser anyway. Can you post somewhere (pastebin.com for
&lt;br&gt;example) the whole log file and send here the link to it?
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Jan
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Fri, 2009-11-13 at 11:04 +0500, Vladimir Kashirin wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Default ... 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Fri, Nov 13, 2009 at 2:05 AM, Jan Haderka
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26332795&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jan.haderka@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; On Fri, 2009-11-13 at 00:48 +0500, Vladimir Kashirin wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt; Unfortunately I just can not cope with the authorization: (
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt; Came across the article:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt; &lt;a href=&quot;http://wiki.magnolia-cms.com/display/WIKI/Messed+Up+Security&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wiki.magnolia-cms.com/display/WIKI/Messed+Up+Security&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt; do as I said, get this error:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt; info.magnolia.cms.security.SystemUserManager: realm of
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System User
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt; manager is not set!
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; That sounds more like some configuration error somewhere. Are
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; you using
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LDAP or default security configuration?
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Jan
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt; And the authorization falls off completely - not even enter
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; the
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt; working account.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt; What am I doing wrong? Help:)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt; Thank you in advance
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ----------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; For list details see
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; To unsubscribe, E-mail to:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26332795&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ----------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;For list details see
&lt;br&gt;&lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26332795&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Magnolia%27s-native-authentication-tp26248322p26332795.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26331905</id>
	<title>Re: Magnolia's native authentication</title>
	<published>2009-11-12T22:04:01Z</published>
	<updated>2009-11-12T22:04:01Z</updated>
	<author>
		<name>Vladimir Kashirin</name>
	</author>
	<content type="html">Default ... &lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Nov 13, 2009 at 2:05 AM, Jan Haderka &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26331905&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jan.haderka@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;

&lt;div class=&quot;im&quot;&gt;&lt;br&gt;
On Fri, 2009-11-13 at 00:48 +0500, Vladimir Kashirin wrote:&lt;br&gt;
&amp;gt; Unfortunately I just can not cope with the authorization: (&lt;br&gt;
&amp;gt; Came across the article:&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://wiki.magnolia-cms.com/display/WIKI/Messed+Up+Security&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://wiki.magnolia-cms.com/display/WIKI/Messed+Up+Security&lt;/a&gt;&lt;br&gt;
&amp;gt; do as I said, get this error:&lt;br&gt;
&amp;gt; info.magnolia.cms.security.SystemUserManager: realm of System User&lt;br&gt;
&amp;gt; manager is not set!&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;That sounds more like some configuration error somewhere. Are you using&lt;br&gt;
LDAP or default security configuration?&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;Jan&lt;br&gt;
&lt;/font&gt;&lt;div class=&quot;im&quot;&gt;&amp;gt;&lt;br&gt;
&amp;gt; And the authorization falls off completely - not even enter the&lt;br&gt;
&amp;gt; working account.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; What am I doing wrong? Help:)&lt;br&gt;
&amp;gt; Thank you in advance&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;----------------------------------------------------------------&lt;br&gt;
For list details see&lt;br&gt;
&lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;
To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26331905&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;&lt;br&gt;
----------------------------------------------------------------&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Magnolia%27s-native-authentication-tp26248322p26331905.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26331149</id>
	<title>Re: How to tabbed content ?</title>
	<published>2009-11-12T20:04:57Z</published>
	<updated>2009-11-12T20:04:57Z</updated>
	<author>
		<name>Ing. Daniel Garcia</name>
	</author>
	<content type="html">just follow the image... once you have the first tab, you can right click and copy... then you only change what you need...&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Daniel Garcia&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/11/12 Leo Stanley &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26331149&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;leostanley@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;



&lt;div&gt;
&lt;div&gt;&lt;font face=&quot;Arial&quot; size=&quot;2&quot;&gt;&lt;span&gt;HI,&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face=&quot;Arial&quot; size=&quot;2&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font face=&quot;Arial&quot; size=&quot;2&quot;&gt;&lt;span&gt;    I want to create tabbed content 
in magnolia-CMS.&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face=&quot;Arial&quot; size=&quot;2&quot;&gt;&lt;span&gt;    how to create paragraph 
and dialogue for tabbed content.&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face=&quot;Arial&quot; size=&quot;2&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/font&gt;&lt;font face=&quot;Arial&quot; size=&quot;2&quot;&gt;&lt;span&gt;    please 
help me if any body knows the answer or articles to sovling this issue by 
comments or give any referance sites.    &lt;/span&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;&lt;pre&gt;&lt;b&gt;&lt;span style=&quot;color:green;font-family:Tahoma&quot;&gt;Thanks &amp;amp; Regards&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color:red&quot;&gt;,&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color:orange&quot;&gt;&lt;span&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color:silver&quot;&gt;&lt;span&gt;     &lt;/span&gt;&lt;br&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;/div&gt;&lt;span&gt; &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-size:8pt;color:black;font-family:Tahoma&quot;&gt;Leo 
Stanley&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-size:8pt;color:black&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color:black&quot;&gt;&lt;span&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color:silver&quot;&gt;&lt;span&gt;                          &lt;/span&gt;&lt;br&gt;&lt;span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;
&lt;div&gt; &lt;/div&gt;&lt;br&gt;
&lt;br&gt;
&lt;hr&gt;
----------------------------------------------------------------&lt;br&gt;
For list details see&lt;br&gt;
&lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;
To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26331149&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;&lt;br&gt;
----------------------------------------------------------------&lt;br&gt;
&lt;/div&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;tabs.jpg&lt;/strong&gt; (25K) &lt;a href=&quot;http://old.nabble.com/attachment/26331149/0/tabs.jpg&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-How-to-tabbed-content---tp26331149p26331149.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26330879</id>
	<title>RE: Injecting Variables into Text Content</title>
	<published>2009-11-12T19:37:42Z</published>
	<updated>2009-11-12T19:37:42Z</updated>
	<author>
		<name>Brent McArthur</name>
	</author>
	<content type="html">&lt;br&gt;Hi Ruben,
&lt;br&gt;&lt;br&gt;Thanks for your reply. I'm not sure I understand your response properly. The JSP template would only be written once by a developer. However, the content author will be able to change their content using different variables when ever they want.
&lt;br&gt;&lt;br&gt;For example, lets assume it's coming into xmas period and content authors (without any assistence from developers) want to change the welcome message to say something about xmas. They would click edit on the welcome paragraph of the page which would pop up a dialog. Assume the dialog is based on a the WYSIWYG control. Inside the textarea they would change the content to be something like:
&lt;br&gt;&lt;br&gt;&amp;lt;p&amp;gt;Hi ${nickname} - Season's greetings! Your account balance is currently ${accountBalance}. Click here to spend that balance on a present!&amp;lt;/p&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;In the template based on solution (1) below it might look something like this:
&lt;br&gt;&lt;br&gt;------------------
&lt;br&gt;welcomeMessage.jsp
&lt;br&gt;------------------
&lt;br&gt;&amp;lt;div&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xyz:paramterisedOut nodeDataName=&amp;quot;wysiwyg&amp;quot; /&amp;gt;
&lt;br&gt;&amp;lt;/div&amp;gt;
&lt;br&gt;------------------
&lt;br&gt;&lt;br&gt;Does that explain things further?
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&lt;br&gt;Brent
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26330879&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-owner@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26330879&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-owner@...&lt;/a&gt;] On Behalf Of Ruben Reusser
&lt;br&gt;Sent: Thursday, 12 November 2009 2:37 PM
&lt;br&gt;To: Magnolia User-List
&lt;br&gt;Subject: Re: [magnolia-user] Injecting Variables into Text Content
&lt;br&gt;&lt;br&gt;&lt;br&gt;Brent,
&lt;br&gt;&lt;br&gt;You could use the jsp templating module and allow the content developers 
&lt;br&gt;to use jsp tags or you could modify the jsp templating a bit and convert 
&lt;br&gt;your own tag language to the actual jsp tags that would have to be at 
&lt;br&gt;that place. The jsp then only has to be refreshed once a content dev 
&lt;br&gt;changes the actual node.
&lt;br&gt;&lt;br&gt;Ruben
&lt;br&gt;&lt;br&gt;Brent McArthur wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; G'day Magnolians,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It's been a while since I've emailed to this list. I've been busy 
&lt;br&gt;&amp;gt; demoing and presenting Magnolia to some of our clients. The feedback 
&lt;br&gt;&amp;gt; is awesome.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; A question that has come up a number of times from our clients is with 
&lt;br&gt;&amp;gt; respect to blending text retrieved from a database with text entered 
&lt;br&gt;&amp;gt; via a content author. Similar to the way the forms module works in 
&lt;br&gt;&amp;gt; that confirmation emails and thank you pages can embed content 
&lt;br&gt;&amp;gt; submitted through the form in emails or pages (see 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://demoauthor.magnolia-cms.com/demo-project/service/contact.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://demoauthor.magnolia-cms.com/demo-project/service/contact.html&lt;/a&gt;, 
&lt;br&gt;&amp;gt; Edit Form Settings -&amp;gt; Confirmation E-Mail).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I wanted to get some feedback on the best way to do this. In our case, 
&lt;br&gt;&amp;gt; we'll always be using JSP templates - not Freemaker. Imagine I have a 
&lt;br&gt;&amp;gt; magnolia based website where the customers can log into. After logging 
&lt;br&gt;&amp;gt; in we want to display a page that contains a welcome paragraph such as:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;p&amp;gt;Hi ${nickname} - welcome back. You last logged in on 
&lt;br&gt;&amp;gt; ${lastLoginDate} and your account balance is currently 
&lt;br&gt;&amp;gt; ${accountBalance}.&amp;lt;/p&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The key is we want the welcome message to be content managed - not 
&lt;br&gt;&amp;gt; hardcoded. Basically we want to expose a bunch of pre-determined 
&lt;br&gt;&amp;gt; variables that content authors can embed where ever they like inside 
&lt;br&gt;&amp;gt; text based paragraphs. Assume these variables are previously loaded 
&lt;br&gt;&amp;gt; into HTTP session scope through some filter.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; How would you do this?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I can think of two ways but maybe there are easier ways:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 1. Write our own JSP Custom Tag that replaces the ${xx} found in 
&lt;br&gt;&amp;gt; content with corresponding session variables prior to writing the 
&lt;br&gt;&amp;gt; content to the response stream.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2. Write our own base paragraph renderer that does the same as the 
&lt;br&gt;&amp;gt; custom tag.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is there any easier way?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hopefully I've explained myself well enough.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Brent**
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt; For list details see
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;&amp;gt; To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26330879&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; ----------------------------------------------------------------
&lt;/div&gt;&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;For list details see
&lt;br&gt;&lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26330879&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;For list details see
&lt;br&gt;&lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26330879&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Injecting-Variables-into-Text-Content-tp26312758p26330879.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26330577</id>
	<title>How to tabbed content ?</title>
	<published>2009-11-12T18:56:39Z</published>
	<updated>2009-11-12T18:56:39Z</updated>
	<author>
		<name>Leo Stanley-3</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META http-equiv=Content-Type content=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;META content=&quot;MSHTML 6.00.2900.3429&quot; name=GENERATOR&gt;&lt;/HEAD&gt;
&lt;BODY&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=453595202-13112009&gt;HI,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=453595202-13112009&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=453595202-13112009&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;I want to create tabbed content 
in magnolia-CMS.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=453595202-13112009&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;how to create&amp;nbsp;paragraph 
and dialogue for tabbed content.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=453595202-13112009&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=453595202-13112009&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;please 
help me if any body knows the answer or articles to sovling this&amp;nbsp;issue by 
comments or give any referance sites.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV class=Section1 align=left&gt;&lt;PRE&gt;&lt;B&gt;&lt;SPAN style=&quot;COLOR: green; FONT-FAMILY: Tahoma&quot;&gt;Thanks &amp;amp; Regards&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;COLOR: red&quot;&gt;,&lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style=&quot;COLOR: orange&quot;&gt;&lt;SPAN style=&quot;mso-spacerun: yes&quot;&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: silver&quot;&gt;&lt;SPAN style=&quot;mso-spacerun: yes&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;BR&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;SPAN style=&quot;mso-spacerun: yes&quot;&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Tahoma&quot;&gt;Leo 
Stanley&lt;/SPAN&gt;&lt;/B&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-SIZE: 8pt; COLOR: black&quot;&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: black&quot;&gt;&lt;SPAN style=&quot;mso-spacerun: yes&quot;&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: silver&quot;&gt;&lt;SPAN style=&quot;mso-spacerun: yes&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;BR&gt;&lt;SPAN style=&quot;mso-spacerun: yes&quot;&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/B&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;HR /&gt;
----------------------------------------------------------------&lt;BR /&gt;
For&amp;nbsp;list&amp;nbsp;details&amp;nbsp;see&lt;BR /&gt;
http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;BR /&gt;
To&amp;nbsp;unsubscribe,&amp;nbsp;E-mail&amp;nbsp;to:&amp;nbsp;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26330577&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;&lt;BR /&gt;
----------------------------------------------------------------&lt;BR /&gt;
&lt;/BODY&gt;&lt;/HTML&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-tabbed-content---tp26330577p26330577.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26326467</id>
	<title>Re: Magnolia's native authentication</title>
	<published>2009-11-12T13:05:59Z</published>
	<updated>2009-11-12T13:05:59Z</updated>
	<author>
		<name>Jan Haderka-2</name>
	</author>
	<content type="html">&lt;br&gt;On Fri, 2009-11-13 at 00:48 +0500, Vladimir Kashirin wrote:
&lt;br&gt;&amp;gt; Unfortunately I just can not cope with the authorization: ( 
&lt;br&gt;&amp;gt; Came across the article: 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://wiki.magnolia-cms.com/display/WIKI/Messed+Up+Security&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wiki.magnolia-cms.com/display/WIKI/Messed+Up+Security&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&amp;gt; do as I said, get this error: 
&lt;br&gt;&amp;gt; info.magnolia.cms.security.SystemUserManager: realm of System User
&lt;br&gt;&amp;gt; manager is not set! 
&lt;br&gt;&lt;br&gt;That sounds more like some configuration error somewhere. Are you using
&lt;br&gt;LDAP or default security configuration?
&lt;br&gt;Jan
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; And the authorization falls off completely - not even enter the
&lt;br&gt;&amp;gt; working account. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; What am I doing wrong? Help:) 
&lt;br&gt;&amp;gt; Thank you in advance
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;For list details see
&lt;br&gt;&lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26326467&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Magnolia%27s-native-authentication-tp26248322p26326467.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26326057</id>
	<title>Re: Re: Extended templating kit and i18n</title>
	<published>2009-11-12T12:42:09Z</published>
	<updated>2009-11-12T12:42:09Z</updated>
	<author>
		<name>Jan Haderka-2</name>
	</author>
	<content type="html">&lt;br&gt;On Thu, 2009-11-12 at 15:02 +0100, Matteo Pelucco wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Jan Haderka ha scritto:
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; With the config/server/i18n/content/class property set to
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; info.magnolia.cms.i18n.DefaultI18nContentSupport,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; the multi language mechanism works ok.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; This is the issue, I suppose... there could be problem with class of ETK...
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; What you described happened to me too..
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; issue == feature.
&lt;br&gt;&amp;gt; &amp;gt; Since ETK enables multisite support, it also sets the localization way
&lt;br&gt;&amp;gt; &amp;gt; to be handled by sites, expecting you to have one site per language. If
&lt;br&gt;&amp;gt; &amp;gt; this is not what you want, you simply change it back.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Sure Jan,
&lt;br&gt;&amp;gt; I strongly agree with you and also with Magnolia way-of-think.
&lt;br&gt;&amp;gt; In ETK &amp;nbsp;handling languages is a site duty.
&lt;br&gt;&amp;gt; But if I leave the i18n content implementation class to
&lt;br&gt;&amp;gt; info.magnolia.module.extendedtemplatingkit.i18n.ETKI18nContentSupport
&lt;br&gt;&amp;gt; the i18n mechanism does not work.
&lt;/div&gt;&lt;br&gt;um, what part of &amp;quot;the mechanism&amp;quot; doesn't work? 
&lt;br&gt;Try to explain what you wanted to achieve and what you did to get it and
&lt;br&gt;how it &amp;quot;didn't work&amp;quot; ... maybe we can find out what the problem is.
&lt;br&gt;&lt;br&gt;Jan
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; If I put back the original class 
&lt;br&gt;&amp;gt; (info.magnolia.cms.i18n.DefaultI18nContentSupport) it goes back to work, 
&lt;br&gt;&amp;gt; but with global language support, for all the sites...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I don't know if it is a lack on my side (an also on Bozidar side, maybe 
&lt;br&gt;&amp;gt; someone else?...) or a bug, I didn't have enough time to go deeper on this.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; M.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt; For list details see
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;&amp;gt; To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26326057&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; ----------------------------------------------------------------
&lt;/div&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;For list details see
&lt;br&gt;&lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26326057&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Extended-templating-kit-and-i18n-tp26233606p26326057.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26326016</id>
	<title>Re: media module: how to integrate with stk</title>
	<published>2009-11-12T12:38:42Z</published>
	<updated>2009-11-12T12:38:42Z</updated>
	<author>
		<name>Jan Haderka-2</name>
	</author>
	<content type="html">&lt;br&gt;On Thu, 2009-11-12 at 11:39 +0100, Ernst Bunders wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; hello Jan
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; What we are looking for in hour imaging solution:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 1 we want to be able to create a new image from the web page we are editing
&lt;br&gt;&amp;gt; 2 we want to be able to search through the available images
&lt;br&gt;&amp;gt; 3 we want to be able to see a preview of the images in the selection dialog
&lt;br&gt;&amp;gt; 4 we want to integrate hour present image service.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; points 1 to 3 are not supported by dam for as fare as I can see. Yet
&lt;br&gt;&amp;gt; they are by the media module.
&lt;/div&gt;&lt;br&gt;Uh, I never said that you should use either DAM *or* Media Module. All I
&lt;br&gt;did was explain few benefits of using DAM. Personally I think the Media
&lt;br&gt;Module itself would benefit from using DAM.
&lt;br&gt;&lt;br&gt;As for the 4th point this is again something DAM can help you with.
&lt;br&gt;Since it keeps the image (or any other media) encapsulated in the Asset
&lt;br&gt;and since it supports the variations, it is able to get accross the
&lt;br&gt;message that UI needs image this and that, but cropped or resized (or
&lt;br&gt;whatever other ops you imagine with whatever params you choose), and
&lt;br&gt;then it is up to DAM to either find where such image is physically and
&lt;br&gt;give link to it, or construct link that is meaningful to your imaging
&lt;br&gt;service to perform such ops, or for example like DMS DAM hanlder does,
&lt;br&gt;just call imaging module in Magnolia and tell it, here's the original
&lt;br&gt;image and here's what I want you to do with it ...
&lt;br&gt;&lt;br&gt;At the risk of repeating myself: DAM and MM are complementary.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Jan
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; point 4 will have to be achieved through custom work of course, but at
&lt;br&gt;&amp;gt; least the media module already knows the concept of different media
&lt;br&gt;&amp;gt; types, as well as proxying for remote media sources.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Mind you, I am fresh to Magnolia, so perhaps i am missing some obvious
&lt;br&gt;&amp;gt; clues. But It seems to me that getting an url to an image is not my
&lt;br&gt;&amp;gt; biggest problem at the moment. We are looking for a feature-rich media
&lt;br&gt;&amp;gt; solution and the media module seems to me as the the closest thing
&lt;br&gt;&amp;gt; available at present.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; But I would like to know more about how other magnolia users handle
&lt;br&gt;&amp;gt; images and media.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; regards,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Ernst
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 2009/11/12 Jan Haderka &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26326016&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jan.haderka@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; hi
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; First off: thanks for the replies. Modifying the module so it can use
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; dam is not interesting for us, because we don't intent on using that.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; You might want to ask why it should be interesting to you - if module
&lt;br&gt;&amp;gt; &amp;gt; supported DAM, you can use the functionality already provided by STK
&lt;br&gt;&amp;gt; &amp;gt; such as stk.getAssetLink() etc and you can also use predefined macros
&lt;br&gt;&amp;gt; &amp;gt; provided by STK such as image macro and then simply creating links to
&lt;br&gt;&amp;gt; &amp;gt; your images like:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; [#include &amp;quot;/templating-kit/paragraphs/macros/image.ftl&amp;quot;/]
&lt;br&gt;&amp;gt; &amp;gt; [@image image=model.image! imageClass=model.imageClass/]
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; where &amp;quot;image&amp;quot; is an DAM asset resolved by the ImageModel
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp;public Asset getImage() {
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return STKUtil.getAsset(content, getImageName(),
&lt;br&gt;&amp;gt; &amp;gt; getImageVariationName());
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; this is much easier to use in the templates then resolving the things
&lt;br&gt;&amp;gt; &amp;gt; yourself as you are trying to do below, plus you get the flexibility to
&lt;br&gt;&amp;gt; &amp;gt; mix the sources of images without having to care about differences in
&lt;br&gt;&amp;gt; &amp;gt; the templates themselves.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Cheers,
&lt;br&gt;&amp;gt; &amp;gt; Jan
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; What we are actually looking for is a way to work with different media
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; from different sources. We already have an image server that contains
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; a huge amount of data, and one of the things i would like to find out
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; is if the meda module can be extended (by us :-) ) to integrate with
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; this system.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; But first things first. I got the selection of images to work, and now
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; i actually want to show the image using The el functions that are part
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; of the media tld.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; My assumption is that i should first use getContent([mediaSelection])
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; to get the content node, and then something like getUrl([contentNode])
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; and so on.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Perhaps to my shame I find it a trifle hard to access these functions
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; in my freemaker template. I am new to freemaker, but it seems
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; straightforward.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; First declare the taglib:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; [#assign media=JspTaglibs[&amp;quot;&lt;a href=&quot;http://net.sourceforge.openutils/mgnlMedia&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://net.sourceforge.openutils/mgnlMedia&lt;/a&gt;&amp;quot;]]
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Then get the content Node:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; ${@media.getNode(&amp;quot;b83d0546-759c-43a3-8ceb-d63a2eda5723&amp;quot;)}
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; does not work: Expression @media is undefined
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; [@media.getNode(&amp;quot;b83d0546-759c-43a3-8ceb-d63a2eda5723&amp;quot;) /]
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; does not work: Expression media.getNode is undefined
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; [@media.getNode &amp;quot;b83d0546-759c-43a3-8ceb-d63a2eda5723&amp;quot; /]
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp;does not work: media.getNode not found
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; so, I'm out of ideas. Could anyone point my nose in the right direction please?
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; regards,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Ernst
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; 2009/11/11 Grégory Joseph &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26326016&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gregory.joseph@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; On Nov 11, 2009, at 3:14 PM, Will Scheidegger wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; Check the archives... a few days back I asked the same question. In order
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; to select a picture it either as to be activated or you have to turn on the
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; development flag in the properties.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; And yes, you would have to modify the templates.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; Another approach might be to modify said media module to make it dam-aware;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; not sure how feasible it is at the moment, but the dam is intended to be
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; used exactly for that.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; Cheers,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; -g
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; On 11.11.2009, at 15:08, Ernst Bunders wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; hello
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; I am looking at the openmindLab media module, as a basis for hour
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; media management. The problem is how to integrate it with the stk.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; I found the 'mediaSelection' control and naively added an instance to
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; the stkTextImage dialog, and this indeed created a 'select' button
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; which opens the selection dialog.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; But alas, I can not select an image here. Perhaps some configuration
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; is missing in the control configuration. What's missing?
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; But I suppose that if this step would work, the image would not be
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; displayed in the site, as the that would require changes to the
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; stkTextImage paragraph template.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; So, how to go about this? how do I integrate the media module with the
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; skt? Any hints? exaples?
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; regards,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; Ernst bunders
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; Ontwikkelaar VPRO
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; For list details see
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26326016&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; For list details see
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; &lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26326016&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; For list details see
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26326016&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Ernst bunders
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Ontwikkelaar VPRO
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; For list details see
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26326016&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; For list details see
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26326016&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;For list details see
&lt;br&gt;&lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26326016&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/media-module%3A-how-to-integrate-with-stk-tp26301911p26326016.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26325245</id>
	<title>Re: Magnolia's native authentication</title>
	<published>2009-11-12T11:48:52Z</published>
	<updated>2009-11-12T11:48:52Z</updated>
	<author>
		<name>Vladimir Kashirin</name>
	</author>
	<content type="html">&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; font-size: 16px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; &quot;&gt;Unfortunately I just can not cope with the authorization: ( &lt;br&gt;

Came across the article: &lt;br&gt;&lt;a href=&quot;http://wiki.magnolia-cms.com/display/WIKI/Messed+Up+Security&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wiki.magnolia-cms.com/display/WIKI/Messed+Up+Security&lt;/a&gt; &lt;br&gt;do as I said, get this error: &lt;br&gt;info.magnolia.cms.security.SystemUserManager: realm of System User manager is not set! &lt;br&gt;

&lt;br&gt;And the authorization falls off completely - not even enter the working account. &lt;br&gt;&lt;br&gt;What am I doing wrong? Help:) &lt;br&gt;Thank you in advance&lt;/span&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Magnolia%27s-native-authentication-tp26248322p26325245.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26323370</id>
	<title>Re: Implementing a custom statistics module</title>
	<published>2009-11-12T09:53:11Z</published>
	<updated>2009-11-12T09:53:11Z</updated>
	<author>
		<name>Matteo Pelucco</name>
	</author>
	<content type="html">&lt;br&gt;Nils Breunese ha scritto:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; But I haven't figured out how to access the 
&lt;br&gt;&amp;gt; site-wide properties that are stored under the home page from an 
&lt;br&gt;&amp;gt; arbitrarily nested subpage. How would you do this?
&lt;br&gt;&lt;br&gt;Look for header and footer ftl. They use paragraphs defined only in main 
&lt;br&gt;page.
&lt;br&gt;&lt;br&gt;&amp;gt; I'd like this module to be independent from any themes, so I guess I'll 
&lt;br&gt;&amp;gt; stay on the track of extending the main.ftl.
&lt;br&gt;&lt;br&gt;Ok, it is a good choice, I think..
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;Matteo
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;For list details see
&lt;br&gt;&lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26323370&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Implementing-a-custom-statistics-module-tp26216247p26323370.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26322040</id>
	<title>Re: Re: Implementing a custom statistics module</title>
	<published>2009-11-12T08:37:00Z</published>
	<updated>2009-11-12T08:37:00Z</updated>
	<author>
		<name>Nils Breunese-2</name>
	</author>
	<content type="html">&lt;br&gt;Matteo Pelucco wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Nils Breunese ha scritto:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 1. For the site-wide statistics settings I added a new tab under 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Templating Kit &amp;gt; Dialog Definitions &amp;gt; pages/home/stkHomeProperties. 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Does that make sense or would you place a dialog for site-wide 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; settings elsewhere?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; The point 2 is a better option, I think...
&lt;br&gt;&amp;gt;&amp;gt; What do you mean exactly?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I would like to say that you can define global configuration and page 
&lt;br&gt;&amp;gt; configuration. If no page configuration is found, a global is taken. In 
&lt;br&gt;&amp;gt; this case you are more flexible.
&lt;br&gt;&amp;gt; Of course, only if your statistics engine / service let you do so...
&lt;/div&gt;&lt;br&gt;The requirement for page-specific settings has been dropped for now, so 
&lt;br&gt;that's been taken care of. But I haven't figured out how to access the 
&lt;br&gt;site-wide properties that are stored under the home page from an 
&lt;br&gt;arbitrarily nested subpage. How would you do this?
&lt;br&gt;&lt;br&gt;I'd have to know how many levels I need to go up to reach the home page 
&lt;br&gt;or run some kind of while loop that accesses the parent until I've 
&lt;br&gt;reached the home page which has the site-side properties. It seems there 
&lt;br&gt;are utility functions for node children, not not any (recursive) parent 
&lt;br&gt;functions. Am I missing something here?
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I think, as Gregory suggested, that you can extend STK main.ftl 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; including a custom template.
&lt;br&gt;&amp;gt;&amp;gt; Extend? You mean replace main.ftl with a version that includes my custom 
&lt;br&gt;&amp;gt;&amp;gt; template? That's what I did for now, and that works. But it feels dirty.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This is one option.
&lt;br&gt;&amp;gt; STK default implementation doesn't let you define a custom httpHeader, 
&lt;br&gt;&amp;gt; so you can use theme capabilities of including CSS / JS (simply defining 
&lt;br&gt;&amp;gt; them) or you can extends FTL templates with your own.
&lt;br&gt;&lt;br&gt;I'd like this module to be independent from any themes, so I guess I'll 
&lt;br&gt;stay on the track of extending the main.ftl.
&lt;br&gt;&lt;br&gt;&amp;gt; I think no other easy roads are possible.
&lt;br&gt;&lt;br&gt;Ok, thanks for thinking along.
&lt;br&gt;&lt;br&gt;Nils Breunese.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;For list details see
&lt;br&gt;&lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26322040&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Implementing-a-custom-statistics-module-tp26216247p26322040.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26321700</id>
	<title>RE: taglib functions in freemarker</title>
	<published>2009-11-12T08:20:39Z</published>
	<updated>2009-11-12T08:20:39Z</updated>
	<author>
		<name>Jochen Fliedner</name>
	</author>
	<content type="html">&lt;br&gt;Hi Ernst,
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; If it turns out that you can't you can perhaps extend the
&lt;br&gt;&amp;gt;&amp;gt; FreemarkerTemplateRenderer or STKTemplateRenderer class and add a
&lt;br&gt;&amp;gt;&amp;gt; reference to this class to the template rendering context.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;I found out that indeed the TemplateRenderer class has to be extended.
&lt;br&gt;&amp;gt;It turns out you have to wrap any java objects you want in your
&lt;br&gt;&amp;gt;freemaker objects in so called 'bean wrappers'. here is a snippet of
&lt;br&gt;&amp;gt;code that shows how to wrap some class in such a way that all static
&lt;br&gt;&amp;gt;methods become available:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;BeansWrapper wrapper = BeansWrapper.getDefaultInstance();
&lt;br&gt;&amp;gt;TemplateHashModel staticModels = wrapper.getStaticModels();
&lt;br&gt;&amp;gt;TemplateHashModel fileStatics =
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;(TemplateHashModel) staticModels.get(&amp;quot;java.io.File&amp;quot;);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;assuming 'root' is your context object, you can:
&lt;br&gt;&amp;gt;root.put(&amp;quot;File&amp;quot;, fileStatics);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;and then in the template do this:
&lt;br&gt;&amp;gt;&amp;lt;#list File.listRoots() as fileSystemRoot&amp;gt;...&amp;lt;/#list&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;So this can also be done with static EL function methods.
&lt;/div&gt;&lt;br&gt;Thats cool! 
&lt;br&gt;&lt;br&gt;I think a FreemarkerHelper subclass is the correct place to do such thing. One can subclass FreemarkerTemplateRenderer (Justas &amp;nbsp;STKParagraphRenderer does) and construct it with an own helper class - so you have an own renderer for your project.
&lt;br&gt;&lt;br&gt;Also you can implement model classes and use MediaEl within it. It makes sense as a kind of MVC pattern anyway.
&lt;br&gt;&lt;br&gt;&lt;br&gt;I checked the freemarker code and it became obvious to me that indeed there is no generic taglib functions support. (Correct me if I am wrong!)
&lt;br&gt;Anyway it might collide with the freemarker EL syntax, as i did like
&lt;br&gt;&lt;br&gt;[#assign media=JspTaglibs[&amp;quot;&lt;a href=&quot;http://net.sourceforge.openutils/mgnlMedia&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://net.sourceforge.openutils/mgnlMedia&lt;/a&gt;&amp;quot;]]
&lt;br&gt;&amp;lt;img src=&amp;quot;${contextPath}/${media}&amp;quot; alt=&amp;quot;XXX&amp;quot; /&amp;gt;
&lt;br&gt;&lt;br&gt;it resulted in 
&lt;br&gt;&lt;br&gt;freemarker.core.NonStringException: Error on line 12, column 36 in templating-kit/paragraphs/teasers/internalPage.
&lt;br&gt;Expecting a string, date or number here, Expression media is instead a freemarker.ext.jsp.TaglibFactory$Taglib
&lt;br&gt;&lt;br&gt;&lt;br&gt;Of course ${media:something}, ${media.something}... no way.
&lt;br&gt;&lt;br&gt;&lt;br&gt;However I can go on with the mentioned solution in our project.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks a lot, regards
&lt;br&gt;j
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;For list details see
&lt;br&gt;&lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26321700&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/taglib-functions-in-freemarker-tp26300525p26321700.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26320929</id>
	<title>Re: Implementing a custom statistics module</title>
	<published>2009-11-12T07:37:50Z</published>
	<updated>2009-11-12T07:37:50Z</updated>
	<author>
		<name>Matteo Pelucco</name>
	</author>
	<content type="html">&lt;br&gt;Nils Breunese ha scritto:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 1. For the site-wide statistics settings I added a new tab under 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Templating Kit &amp;gt; Dialog Definitions &amp;gt; pages/home/stkHomeProperties. 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Does that make sense or would you place a dialog for site-wide 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; settings elsewhere?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; The point 2 is a better option, I think...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; What do you mean exactly?
&lt;br&gt;&lt;br&gt;I would like to say that you can define global configuration and page 
&lt;br&gt;configuration. If no page configuration is found, a global is taken. In 
&lt;br&gt;this case you are more flexible.
&lt;br&gt;Of course, only if your statistics engine / service let you do so...
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 2. Actually, I only created a reference there and created the actual 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; dialog nodes under /modules/&amp;lt;module-name&amp;gt;/dialogs/tabSitestat. Is 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; that recommended over putting the tab directly in the STK tree?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Just for sharing purpose.
&lt;br&gt;&amp;gt;&amp;gt; If you intend to use that tab somewhere else, it is a good practice :-)
&lt;br&gt;&amp;gt;&amp;gt; So you can include it in stkHomeProperties, stkPageProperties, ...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The dialog is for site-wide settings, so I don't intend to use that tab 
&lt;br&gt;&amp;gt; anywhere else but under stkHomeProperties. I guess it doesn't really 
&lt;br&gt;&amp;gt; matter then.
&lt;/div&gt;&lt;br&gt;As I said, it depends on you :-)
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; I think, as Gregory suggested, that you can extend STK main.ftl 
&lt;br&gt;&amp;gt;&amp;gt; including a custom template.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Extend? You mean replace main.ftl with a version that includes my custom 
&lt;br&gt;&amp;gt; template? That's what I did for now, and that works. But it feels dirty.
&lt;br&gt;&lt;br&gt;This is one option.
&lt;br&gt;STK default implementation doesn't let you define a custom httpHeader, 
&lt;br&gt;so you can use theme capabilities of including CSS / JS (simply defining 
&lt;br&gt;them) or you can extends FTL templates with your own.
&lt;br&gt;&lt;br&gt;I think no other easy roads are possible.
&lt;br&gt;matteo
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;For list details see
&lt;br&gt;&lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26320929&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Implementing-a-custom-statistics-module-tp26216247p26320929.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26320788</id>
	<title>Re: taglib functions in freemarker</title>
	<published>2009-11-12T07:29:57Z</published>
	<updated>2009-11-12T07:29:57Z</updated>
	<author>
		<name>Ernst Bunders</name>
	</author>
	<content type="html">&lt;br&gt;&amp;gt; That page says: &amp;quot;FreeMarker optionally supports JSP tag libraries, and we
&lt;br&gt;&amp;gt; have enabled this feature in Magnolia too. You can use any tag library in
&lt;br&gt;&amp;gt; your FreeMarker, and that means you can use the Magnolia tags too.&amp;quot;
&lt;br&gt;&lt;br&gt;That's right. But i think there is a clear distinction between EL
&lt;br&gt;functions, which actually is a feature of the (jsp) Expression
&lt;br&gt;Language, and jsp Tags. The two are bound together only in the tld, I
&lt;br&gt;suppose. Support for tag libraries and thus tags is well documented
&lt;br&gt;(and used by magnolia), but the same does not seem to apply to EL
&lt;br&gt;functions.
&lt;br&gt;But I'm not sure. I just couldn't find any documentation on this
&lt;br&gt;subject, and my attempts to use EL functions from a taglib. did not
&lt;br&gt;succeed :-(
&lt;br&gt;&lt;br&gt;regards,
&lt;br&gt;&lt;br&gt;Ernst
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;For list details see
&lt;br&gt;&lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26320788&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/taglib-functions-in-freemarker-tp26300525p26320788.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26320115</id>
	<title>Re: taglib functions in freemarker</title>
	<published>2009-11-12T06:50:11Z</published>
	<updated>2009-11-12T06:50:11Z</updated>
	<author>
		<name>Nils Breunese-2</name>
	</author>
	<content type="html">&lt;br&gt;Ernst Bunders wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 2009/11/12 Nils Breunese &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26320115&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;n.breunese@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;&amp;gt; Jochen Fliedner wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; taglib functions within freemarker? anybody let me know...
&lt;br&gt;&amp;gt;&amp;gt; Does the 'JSP Tags' section at
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://documentation.magnolia-cms.com/reference/freemarker.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://documentation.magnolia-cms.com/reference/freemarker.html&lt;/a&gt;&amp;nbsp;answer your
&lt;br&gt;&amp;gt;&amp;gt; question?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Nope, it does not. This is indeed something I stumbled upon myself,
&lt;br&gt;&amp;gt; asked before on this list, and am currently inclined to believe
&lt;br&gt;&amp;gt; unsupported.
&lt;br&gt;&amp;gt; There is no information (i could find) on the web about freemaker and
&lt;br&gt;&amp;gt; EL functions.
&lt;/div&gt;&lt;br&gt;That page says: &amp;quot;FreeMarker optionally supports JSP tag libraries, and 
&lt;br&gt;we have enabled this feature in Magnolia too. You can use any tag 
&lt;br&gt;library in your FreeMarker, and that means you can use the Magnolia tags 
&lt;br&gt;too.&amp;quot;
&lt;br&gt;&lt;br&gt;I haven't tried it yet, but are you saying that it is not true that you 
&lt;br&gt;can use any tag library?
&lt;br&gt;&lt;br&gt;Nils Breunese.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;For list details see
&lt;br&gt;&lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26320115&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/taglib-functions-in-freemarker-tp26300525p26320115.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26319676</id>
	<title>Re: taglib functions in freemarker</title>
	<published>2009-11-12T06:26:18Z</published>
	<updated>2009-11-12T06:26:18Z</updated>
	<author>
		<name>Ernst Bunders</name>
	</author>
	<content type="html">&lt;br&gt;2009/11/12 Ernst Bunders &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26319676&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ebunders@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 2009/11/12 Nils Breunese &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26319676&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;n.breunese@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Jochen Fliedner wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; i understand that i can use any j2ee taglib tag in freemarker, also i
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; can use those cool freemarker functions.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; does anybody know, if it is possible to use taglib *functions* within
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; freemarker templates/paragraphs, resp how-to accomplish that?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; background: we plan to use stk and stk best practices eg freemarker
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; templating, also fell in love with openutils simple media module
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; which usage is very much based on taglib functions, as of
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://lab.openmindonline.it/lab/products/media/docs/integrate.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lab.openmindonline.it/lab/products/media/docs/integrate.html&lt;/a&gt;&amp;nbsp;-
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; see &amp;quot;taglibdocs&amp;quot;.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; taglib functions within freemarker? anybody let me know...
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Does the 'JSP Tags' section at
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://documentation.magnolia-cms.com/reference/freemarker.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://documentation.magnolia-cms.com/reference/freemarker.html&lt;/a&gt;&amp;nbsp;answer your
&lt;br&gt;&amp;gt;&amp;gt; question?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Nope, it does not. This is indeed something I stumbled upon myself,
&lt;br&gt;&amp;gt; asked before on this list, and am currently inclined to believe
&lt;br&gt;&amp;gt; unsupported.
&lt;br&gt;&amp;gt; There is no information (i could find) on the web about freemaker and
&lt;br&gt;&amp;gt; EL functions.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; But there is one thing I still need to try: As EL functions tend to be
&lt;br&gt;&amp;gt; static methods, it should be possible to call them directly. I don't
&lt;br&gt;&amp;gt; know enough about freemarker yet to be sure you can just do something
&lt;br&gt;&amp;gt; like ${path.to.Class.staticMethod(param1, paran2)}, but I expect you
&lt;br&gt;&amp;gt; can.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If it turns out that you can't you can perhaps extend the
&lt;br&gt;&amp;gt; FreemarkerTemplateRenderer or STKTemplateRenderer class and add a
&lt;br&gt;&amp;gt; reference to this class to the template rendering context.
&lt;/div&gt;&lt;br&gt;I found out that indeed the TemplateRenderer class has to be extended.
&lt;br&gt;It turns out you have to wrap any java objects you want in your
&lt;br&gt;freemaker objects in so called 'bean wrappers'. here is a snippet of
&lt;br&gt;code that shows how to wrap some class in such a way that all static
&lt;br&gt;methods become available:
&lt;br&gt;&lt;br&gt;BeansWrapper wrapper = BeansWrapper.getDefaultInstance();
&lt;br&gt;TemplateHashModel staticModels = wrapper.getStaticModels();
&lt;br&gt;TemplateHashModel fileStatics =
&lt;br&gt;&amp;nbsp; &amp;nbsp; (TemplateHashModel) staticModels.get(&amp;quot;java.io.File&amp;quot;);
&lt;br&gt;&lt;br&gt;assuming 'root' is your context object, you can:
&lt;br&gt;root.put(&amp;quot;File&amp;quot;, fileStatics);
&lt;br&gt;&lt;br&gt;and then in the template do this:
&lt;br&gt;&amp;lt;#list File.listRoots() as fileSystemRoot&amp;gt;...&amp;lt;/#list&amp;gt;
&lt;br&gt;&lt;br&gt;So this can also be done with static EL function methods.
&lt;br&gt;&lt;br&gt;regards,
&lt;br&gt;&lt;br&gt;Ernst
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; regards,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Ernst
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Nils Breunese.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; For list details see
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26319676&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Ernst bunders
&lt;br&gt;&amp;gt; Ontwikkelaar VPRO
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Ernst bunders
&lt;br&gt;Ontwikkelaar VPRO
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;For list details see
&lt;br&gt;&lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26319676&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/taglib-functions-in-freemarker-tp26300525p26319676.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26319268</id>
	<title>Re: Extended templating kit and i18n</title>
	<published>2009-11-12T06:02:38Z</published>
	<updated>2009-11-12T06:02:38Z</updated>
	<author>
		<name>Matteo Pelucco</name>
	</author>
	<content type="html">&lt;br&gt;Jan Haderka ha scritto:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; With the config/server/i18n/content/class property set to
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; info.magnolia.cms.i18n.DefaultI18nContentSupport,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; the multi language mechanism works ok.
&lt;br&gt;&amp;gt;&amp;gt; This is the issue, I suppose... there could be problem with class of ETK...
&lt;br&gt;&amp;gt;&amp;gt; What you described happened to me too..
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; issue == feature.
&lt;br&gt;&amp;gt; Since ETK enables multisite support, it also sets the localization way
&lt;br&gt;&amp;gt; to be handled by sites, expecting you to have one site per language. If
&lt;br&gt;&amp;gt; this is not what you want, you simply change it back.
&lt;/div&gt;&lt;br&gt;Sure Jan,
&lt;br&gt;I strongly agree with you and also with Magnolia way-of-think.
&lt;br&gt;In ETK &amp;nbsp;handling languages is a site duty.
&lt;br&gt;But if I leave the i18n content implementation class to
&lt;br&gt;info.magnolia.module.extendedtemplatingkit.i18n.ETKI18nContentSupport
&lt;br&gt;the i18n mechanism does not work.
&lt;br&gt;If I put back the original class 
&lt;br&gt;(info.magnolia.cms.i18n.DefaultI18nContentSupport) it goes back to work, 
&lt;br&gt;but with global language support, for all the sites...
&lt;br&gt;&lt;br&gt;I don't know if it is a lack on my side (an also on Bozidar side, maybe 
&lt;br&gt;someone else?...) or a bug, I didn't have enough time to go deeper on this.
&lt;br&gt;&lt;br&gt;M.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;For list details see
&lt;br&gt;&lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26319268&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Extended-templating-kit-and-i18n-tp26233606p26319268.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26319233</id>
	<title>Re: taglib functions in freemarker</title>
	<published>2009-11-12T05:59:30Z</published>
	<updated>2009-11-12T05:59:30Z</updated>
	<author>
		<name>Ernst Bunders</name>
	</author>
	<content type="html">&lt;br&gt;2009/11/12 Nils Breunese &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26319233&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;n.breunese@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Jochen Fliedner wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; i understand that i can use any j2ee taglib tag in freemarker, also i
&lt;br&gt;&amp;gt;&amp;gt; can use those cool freemarker functions.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; does anybody know, if it is possible to use taglib *functions* within
&lt;br&gt;&amp;gt;&amp;gt; freemarker templates/paragraphs, resp how-to accomplish that?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; background: we plan to use stk and stk best practices eg freemarker
&lt;br&gt;&amp;gt;&amp;gt; templating, also fell in love with openutils simple media module
&lt;br&gt;&amp;gt;&amp;gt; which usage is very much based on taglib functions, as of
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://lab.openmindonline.it/lab/products/media/docs/integrate.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lab.openmindonline.it/lab/products/media/docs/integrate.html&lt;/a&gt;&amp;nbsp;-
&lt;br&gt;&amp;gt;&amp;gt; see &amp;quot;taglibdocs&amp;quot;.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; taglib functions within freemarker? anybody let me know...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Does the 'JSP Tags' section at
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://documentation.magnolia-cms.com/reference/freemarker.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://documentation.magnolia-cms.com/reference/freemarker.html&lt;/a&gt;&amp;nbsp;answer your
&lt;br&gt;&amp;gt; question?
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Nope, it does not. This is indeed something I stumbled upon myself,
&lt;br&gt;asked before on this list, and am currently inclined to believe
&lt;br&gt;unsupported.
&lt;br&gt;There is no information (i could find) on the web about freemaker and
&lt;br&gt;EL functions.
&lt;br&gt;&lt;br&gt;But there is one thing I still need to try: As EL functions tend to be
&lt;br&gt;static methods, it should be possible to call them directly. I don't
&lt;br&gt;know enough about freemarker yet to be sure you can just do something
&lt;br&gt;like ${path.to.Class.staticMethod(param1, paran2)}, but I expect you
&lt;br&gt;can.
&lt;br&gt;&lt;br&gt;If it turns out that you can't you can perhaps extend the
&lt;br&gt;FreemarkerTemplateRenderer or STKTemplateRenderer class and add a
&lt;br&gt;reference to this class to the template rendering context.
&lt;br&gt;&lt;br&gt;regards,
&lt;br&gt;&lt;br&gt;Ernst
&lt;br&gt;&lt;br&gt;&amp;gt; Nils Breunese.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt; For list details see
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;&amp;gt; To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26319233&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Ernst bunders
&lt;br&gt;Ontwikkelaar VPRO
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;For list details see
&lt;br&gt;&lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26319233&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/taglib-functions-in-freemarker-tp26300525p26319233.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26318754</id>
	<title>Re: Re: Implementing a custom statistics module</title>
	<published>2009-11-12T05:30:53Z</published>
	<updated>2009-11-12T05:30:53Z</updated>
	<author>
		<name>Nils Breunese-2</name>
	</author>
	<content type="html">&lt;br&gt;Grégory Joseph wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Simply in the main.ftl ?
&lt;br&gt;&lt;br&gt;Ok, so my module has two parts now.
&lt;br&gt;&lt;br&gt;1. A dialog tab under stkHomeProperties which allows editing the 
&lt;br&gt;site-wide settings for statistics.
&lt;br&gt;2. A custom FreeMarker template that is included in the main.ftl.
&lt;br&gt;&lt;br&gt;Now all I need to connect these two. I want to access the properties 
&lt;br&gt;that are saved by the dialog in my FreeMarker template. How do I get to 
&lt;br&gt;these properties from a random page on the website? I found I can use 
&lt;br&gt;content?parent to access a parent node, but how would I get a reference 
&lt;br&gt;to the home content node for any subpage?
&lt;br&gt;&lt;br&gt;For the homepage:
&lt;br&gt;* content?node_type is mgnl:content
&lt;br&gt;* content?parent?node_type is rep:root
&lt;br&gt;&lt;br&gt;But of course I should be able to access the home node from any 
&lt;br&gt;arbitarily nested page to get this to work. Can I create some kind of 
&lt;br&gt;while loop to walk up the tree? Or is there another way? Or am I just 
&lt;br&gt;storing the site-wide settings in the wrong place?
&lt;br&gt;&lt;br&gt;Nils Breunese.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;For list details see
&lt;br&gt;&lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26318754&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Implementing-a-custom-statistics-module-tp26216247p26318754.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26318392</id>
	<title>Re: taglib functions in freemarker</title>
	<published>2009-11-12T05:08:08Z</published>
	<updated>2009-11-12T05:08:08Z</updated>
	<author>
		<name>Nils Breunese-2</name>
	</author>
	<content type="html">&lt;br&gt;Jochen Fliedner wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; i understand that i can use any j2ee taglib tag in freemarker, also i
&lt;br&gt;&amp;gt; can use those cool freemarker functions.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; does anybody know, if it is possible to use taglib *functions* within
&lt;br&gt;&amp;gt; freemarker templates/paragraphs, resp how-to accomplish that?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; background: we plan to use stk and stk best practices eg freemarker
&lt;br&gt;&amp;gt; templating, also fell in love with openutils simple media module
&lt;br&gt;&amp;gt; which usage is very much based on taglib functions, as of 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lab.openmindonline.it/lab/products/media/docs/integrate.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lab.openmindonline.it/lab/products/media/docs/integrate.html&lt;/a&gt;&amp;nbsp;-
&lt;br&gt;&amp;gt; see &amp;quot;taglibdocs&amp;quot;.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; taglib functions within freemarker? anybody let me know...
&lt;/div&gt;&lt;br&gt;Does the 'JSP Tags' section at 
&lt;br&gt;&lt;a href=&quot;http://documentation.magnolia-cms.com/reference/freemarker.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://documentation.magnolia-cms.com/reference/freemarker.html&lt;/a&gt;&amp;nbsp;answer 
&lt;br&gt;your question?
&lt;br&gt;&lt;br&gt;Nils Breunese.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;For list details see
&lt;br&gt;&lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26318392&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/taglib-functions-in-freemarker-tp26300525p26318392.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26318316</id>
	<title>Re: Re: Implementing a custom statistics module</title>
	<published>2009-11-12T05:02:30Z</published>
	<updated>2009-11-12T05:02:30Z</updated>
	<author>
		<name>Nils Breunese-2</name>
	</author>
	<content type="html">&lt;br&gt;Matteo Pelucco wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Nils Breunese ha scritto:
&lt;br&gt;&amp;gt;&amp;gt; Matteo Pelucco wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; BUT there is also another simpler way.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; You can add the vars you need extending a dialog.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Simply add a new tab to the STK pageDialog. In that tab you can place 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; all the variables you need. They will be left empty by default.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; In this case, you can avoid to write java code and you will obtain the 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; same result.
&lt;br&gt;&amp;gt;&amp;gt; I also tried this approach (before actually) and I have another round of 
&lt;br&gt;&amp;gt;&amp;gt; questions.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 1. For the site-wide statistics settings I added a new tab under 
&lt;br&gt;&amp;gt;&amp;gt; Templating Kit &amp;gt; Dialog Definitions &amp;gt; pages/home/stkHomeProperties. Does 
&lt;br&gt;&amp;gt;&amp;gt; that make sense or would you place a dialog for site-wide settings 
&lt;br&gt;&amp;gt;&amp;gt; elsewhere?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The point 2 is a better option, I think...
&lt;/div&gt;&lt;br&gt;What do you mean exactly?
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; 2. Actually, I only created a reference there and created the actual 
&lt;br&gt;&amp;gt;&amp;gt; dialog nodes under /modules/&amp;lt;module-name&amp;gt;/dialogs/tabSitestat. Is that 
&lt;br&gt;&amp;gt;&amp;gt; recommended over putting the tab directly in the STK tree?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Just for sharing purpose.
&lt;br&gt;&amp;gt; If you intend to use that tab somewhere else, it is a good practice :-)
&lt;br&gt;&amp;gt; So you can include it in stkHomeProperties, stkPageProperties, ...
&lt;br&gt;&lt;br&gt;The dialog is for site-wide settings, so I don't intend to use that tab 
&lt;br&gt;anywhere else but under stkHomeProperties. I guess it doesn't really 
&lt;br&gt;matter then.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; 4. The most important question right now: I can set site-wide settings 
&lt;br&gt;&amp;gt;&amp;gt; using this dialog, but where do I put the JavaScript code? This code 
&lt;br&gt;&amp;gt;&amp;gt; should be included in every page and needs to be able to access to these 
&lt;br&gt;&amp;gt;&amp;gt; settings, so I believe I can't put it under Resources &amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; templating-kit/js/all because there I have no access to 
&lt;br&gt;&amp;gt;&amp;gt; site/page-specific settings. Or am I wrong about that? I would really 
&lt;br&gt;&amp;gt;&amp;gt; appreciate some guidance on this point.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I think, as Gregory suggested, that you can extend STK main.ftl 
&lt;br&gt;&amp;gt; including a custom template.
&lt;/div&gt;&lt;br&gt;Extend? You mean replace main.ftl with a version that includes my custom 
&lt;br&gt;template? That's what I did for now, and that works. But it feels dirty.
&lt;br&gt;&lt;br&gt;Nils Breunese.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;For list details see
&lt;br&gt;&lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26318316&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Implementing-a-custom-statistics-module-tp26216247p26318316.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26318076</id>
	<title>Re: Re: Implementing a custom statistics module</title>
	<published>2009-11-12T04:44:39Z</published>
	<updated>2009-11-12T04:44:39Z</updated>
	<author>
		<name>Nils Breunese-2</name>
	</author>
	<content type="html">&lt;br&gt;Grégory Joseph wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Nov 10, 2009, at 11:29 AM, Nils Breunese wrote:
&lt;br&gt;&amp;gt;&amp;gt; 4. The most important question right now: I can set site-wide &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; settings using this dialog, but where do I put the JavaScript code? &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; This code should be included in every page and needs to be able to &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; access to these settings, so I believe I can't put it under &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; Resources &amp;gt; templating-kit/js/all because there I have no access to &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; site/page-specific settings. Or am I wrong about that? I would &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; really appreciate some guidance on this point.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Simply in the main.ftl ?
&lt;/div&gt;&lt;br&gt;Yes, this is possible, but this means my statistics module will modify 
&lt;br&gt;main.ftl (or footer.ftl, so some other core template). This is what I 
&lt;br&gt;did now and it works, but what if another module also wants to insert a 
&lt;br&gt;template by modifying the same template? Only one module can have its 
&lt;br&gt;way then.
&lt;br&gt;&lt;br&gt;I guess that in that case I might need to create a module that includes 
&lt;br&gt;templates from a specific location in the tree in a specific template 
&lt;br&gt;and then have those template-modifying modules depend on that module or 
&lt;br&gt;something. For now I'll just let my statistics module override main.ftl.
&lt;br&gt;&lt;br&gt;Nils Breunese.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;For list details see
&lt;br&gt;&lt;a href=&quot;http://www.magnolia-cms.com/home/community/mailing-lists.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.magnolia-cms.com/home/community/mailing-lists.html&lt;/a&gt;&lt;br&gt;To unsubscribe, E-mail to: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26318076&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-list-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Implementing-a-custom-statistics-module-tp26216247p26318076.html" />
</entry>

</feed>
