[opencms-dev] Dynamic functions in OpenCms 8.9

Alessandro Magnolo alessandro.magnolo at gmail.com
Wed Oct 23 17:47:13 CEST 2013


great! this solves issues 1-2-3,
and 4 is less critical.

thank you tobias.

On Wed, Oct 23, 2013 at 5:36 PM, Tobias Herrmann <t.herrmann at alkacon.com> wrote:
> Hi Alessandro,
>
> we changed the default search scope to 'Current site and shared folder'. To
> find resources outside that scope, select in the advanced tab of the 'Add'
> dialog 'Searchscope: Everything'. With that scope you should find all
> available functions.
>
> Greetings, Tobias
>
> --
>
> Alkacon Software GmbH - The OpenCms Experts
>
> http://www.alkacon.com
> http://www.opencms.org
>
> Am 23.10.2013 17:07, schrieb Alessandro Magnolo:
>>
>> I am having issues using dynamic functions in OpenCms 8.9.
>>
>> 1) The module functions (created in /system/modules/[module
>> name]/functions) that used to be draggable until version 8.5, seem to
>> be no longer visible (even when the property search.exclude is not set
>> or set to false). The only draggable functions are the ones created in
>> /sites/default/[anything]/.content/function/.
>> So, which is now the way to create functions in a module that are
>> readily usable by content editors?
>>
>>
>> 2) At OpenCms days I think that I remember Andreas Zahner creating a
>> "Clone a module" page using drag&drop, but I wasn't able to reproduce
>> it (again, other than creating a new function and manually type the
>> full jsp path). Anyone remembers how he did it?
>>
>>
>> 3) In the bootstrap template demo, there is an example of a module
>> function used in a page: the page
>> /demo/en/world-of-flowers/news-article/ uses
>> /system/modules/com.alkacon.bootstrap.formatters/functions/news-side.xml
>> .
>> How is that obtained, other than manually editing the containerpage
>> from the workplace?
>>
>>
>> 4) One possible workaround is to create a "Function detail page" in
>> the sitemap, but that doesn't work with the bootstrap template. I
>> tried to set the container.info property on the template jsp, but
>> whenever a function detail page is dragged, I get this error:
>> "org.opencms.file.CmsVfsException: Error reading resource with the ID
>> null."
>> The same function detail page works in the old "Dev demo" subsitemap.
>>
>>
>> Thank you in advance,
>> Alessandro
>> _______________________________________________
>> This mail is sent to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list, please visit
>> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>>
>>
>>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>



More information about the opencms-dev mailing list