[opencms-dev] Static exort of module recourcese

Roland Ribi roland.ribi at gmx.ch
Tue Jun 17 23:55:02 CEST 2003


Thank You ! It works! :-)

Only the bug in the jsp-tag <cms:link> is a problem if
relativelinks_in_export=true.

Gruss

Roland Ribi

mailto:roland.ribi at gmx.ch 

> -----Original Message-----
> From: opencms-dev-admin at opencms.org 
> [mailto:opencms-dev-admin at opencms.org] On Behalf Of Ulrich Rueth
> Sent: Tuesday, June 17, 2003 10:30 PM
> To: opencms-dev at opencms.org
> Subject: AW: [opencms-dev] Static exort of module recourcese
> 
> 
> Hi Roland,
> 
> when you create a module, by default it is set to 
> "export=false" in the
> properties of your my_module folder. If you remove this 
> property, everything
> is exported statically. You should rather define this "export=false"
> property more fine grained, i.e. for every subfolder of your 
> module or even
> deeper (in case you do not want everything to be exported).
> 
> Another hint: The stuff is exported by OpenCms into a folder 
> starting with
> /system/modules/my_module/... You probably don't want this on your web
> server. Therefore, for every folder of your module which you 
> export, define
> an additional property called "exportname" and give it a 
> reasonable value.
> 
> Example: I have a folder 
> /system/modules/my_module/resources/css/ which I
> want to export statically. Therefore this folder has no "export=false"
> property, but rather a property "exportname=/my_module_css/". 
> Like this, all
> files from this folder are exported to /my_module_css/.
> 
> Regards,
> Ulrich
> 
> > -----Ursprungliche Nachricht-----
> > Von: opencms-dev-admin at opencms.org
> > [mailto:opencms-dev-admin at opencms.org]Im Auftrag von Roland Ribi
> > Gesendet: Dienstag, 17. Juni 2003 22:16
> > An: opencms-dev at opencms.org
> > Betreff: [opencms-dev] Static exort of module recourcese
> >
> >
> > Hi
> >
> > How can I export recources in a module?
> >
> > Here an example:
> >
> > I have a image in /system/modules/my_module/recources and 
> had links in
> > some elements of my templates.
> >
> > What is needed to export this images and convert the links 
> to a static
> > export?
> >
> > I didn't find any hint in the archive of the mailinglist.
> >
> > Gruss
> >
> > Roland Ribi
> >
> > mailto:roland.ribi at gmx.ch
> >
> >
> > _______________________________________________
> > This mail is send to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the 
> list, please visit
> > http://mail.opencms.org/mailman/listinfo/opencms-dev
> >
> >
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, 
> please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> 





More information about the opencms-dev mailing list