[opencms-dev] Module Export Points

Jonathan Woods jonathan.woods at scintillance.com
Mon Feb 26 14:23:16 CET 2007


Raul -

>From memory, I once tried to specify an absolute path for the icon
attribute, and OpenCms ignored it.  That was a while back, but this is
probably still the case.

The only solution I've found is to upload xmlcontent icon images to the VFS
folder /system/workplace/resources/filetypes.  You can of course either do
this manually (probably only needs to be done once per instance of an
OpenCms installation) or automatically (if you are somehow synchronising
your development assets with your OpenCms installation).  In any case,
you'll then refer to your xmlcontent icon thus:

	icon="threat.gif"

rather than by using an absolute path.

Jon

-----Original Message-----
From: sfdbfoui at host2.scintillance.com
[mailto:sfdbfoui at host2.scintillance.com] On Behalf Of Raúl Lorenzo
Sent: 26 February 2007 12:02
To: The OpenCms mailing list
Subject: Re: [opencms-dev] Module Export Points

Sorry I forgot this extract from opencms-modules.xml

I need some to load the icon image from a location o my module.

<explorertypes>
<explorertype name="tipo_prueba_contenido" 
key="fileicon.tipo_prueba_contenido" 
icon="system/modules/es.as/es.altia.TestingCMS/resources/threat.gif" 
reference="xmlcontent">

Raúl Lorenzo escribió:
> Hello,
> 
> I am creating a module with new type structured contents, I want 
> include some icons to use in workplace when I need to use a structure
content type.
> I think to use export points in my resources module directory, but the 
> images doesn´t export to 
> opencms/resources/filetypes/system/modules/mymodule/resources
> 
> how do I do this?
> 
> Thanks in advance
> 
> _______________________________________________
> 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/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/mailman/listinfo/opencms-dev





More information about the opencms-dev mailing list