[opencms-dev] Create Admin Module
Darin Kuntze
dkuntze at thinksacco.com
Tue Apr 6 19:39:01 CEST 2004
Ok, I finally have the solution to my woes and I'll post it here:
Set your properties for your admin module to something like this:
/system/modules/com.modulename.www/administration/admin_module_name
NavText: com.modulename.www.administration.icon.label
Title:icon_residing_in_pics_directory_minus_gif_extension
Next, create a workers.properties file and place it in either your classes
directory or in a self contained jar file (inside the lib). The path in the
jar or classes directory should be com/modulename/www.
Contents of the workers.properties:
com.modulename.www.administration.icon.label=My Label
Make sure all the changed items are published and restart Tomcat. Voila!
-----Original Message-----
From: opencms-dev-admin at opencms.org [mailto:opencms-dev-admin at opencms.org]
On Behalf Of Michael Goodwin
Sent: Tuesday, April 06, 2004 3:20 AM
To: opencms-dev at opencms.org
Subject: RE: [opencms-dev] Create Admin Module
Yes, look here http://opencms.al-arenal.de
You need to try searching the archives for answers (it quicker than waiting
for an answer anyway)
From: "Darin Kuntze" <dkuntze at thinksacco.com>@opencms.org on 05/04/2004
14:54 EST
Please respond to opencms-dev at opencms.org
Sent by: opencms-dev-admin at opencms.org
To: <opencms-dev at opencms.org>
cc:
Subjec RE: [opencms-dev] Create Admin
t: Module
I still haven't heard any responses to this post. Is there a module I can
import to give me a example to follow?
-----Original Message-----
From: opencms-dev-admin at opencms.org [mailto:opencms-dev-admin at opencms.org]
On Behalf Of Darin Kuntze
Sent: Thursday, April 01, 2004 10:45 AM
To: opencms-dev at opencms.org
Subject: RE: [opencms-dev] Create Admin Module
What would be my properties on the psadmin directory?
-----Original Message-----
From: opencms-dev-admin at opencms.org [mailto:opencms-dev-admin at opencms.org]
On Behalf Of Michael Goodwin
Sent: Thursday, April 01, 2004 1:47 AM
To: opencms-dev at opencms.org
Subject: RE: [opencms-dev] Create Admin Module
well the only differences I can see are
for me the dir is with just admin (though if it is picking up the icon ...
etc. this isn't a problem) ie.
/system/modules/com.mymodule.www/admin/psadmin
and
my properties file is in the package directory
ie.
/system/modules/com.mymodule.www/classes/com/mymodule/www/workplace.properti
es
if its not that I don't know, sorry. Don't forget to restart.
Mike.
From: "Darin Kuntze" <dkuntze at thinksacco.com>@opencms.org on 31/03/2004
13:29 CST
Please respond to opencms-dev at opencms.org
Sent by: opencms-dev-admin at opencms.org
To: <opencms-dev at opencms.org>
cc:
Subjec RE: [opencms-dev] Create Admin
t: Module
I tried that and it did not work.
Here's what I tried:
/system/modules/com.mymodule.www/classes/workplace.properties
Contains:
com_mymodule_www_psadmin.icon.navtext=User Admin
/system/modules/com.mymodule.www/administration/psadmin
Has the following properties:
NavPos:220
NavText:com_mymodule_www_psadmin.icon.navtext
Title:ic_admin_psadmin
The icon shows up fine (from the pics directory), but no label.
Any input?
-----Original Message-----
From: opencms-dev-admin at opencms.org [mailto:opencms-dev-admin at opencms.org]
On Behalf Of Michael Goodwin
Sent: Wednesday, March 31, 2004 1:38 AM
To: opencms-dev at opencms.org
Subject: Re: [opencms-dev] Create Admin Module
I think this is the case:
The label comes from a properties file (workplace.properties which belongs
in the classes directory of the module), I think it is done like this to
facilitate having different languages.
You have to restart to see changes made to properties files.
From: "Darin Kuntze" <dkuntze at thinksacco.com>@opencms.org on 30/03/2004
14:34 CST
Please respond to opencms-dev at opencms.org
Sent by: opencms-dev-admin at opencms.org
To: <opencms-dev at opencms.org>
cc:
Subjec [opencms-dev] Create Admin Module
t:
I posted a few questions about creating a new admin module a while back and
I'm only now getting around to doing it... and I have run into a problem:
I can't seem to get my icon's caption to appear in the admin section. The
icon shows up fine, but I get the "??" navtext caption instead of my
intended caption.
What are the steps to getting a my module's navtext to display properly?
What should the navtext property of my module point to? etc...
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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