[opencms-dev] creating of new resources

Christian Steinert christian_steinert at web.de
Sat Aug 26 12:07:42 CEST 2006



> Hello,



> 
> I have a question concerning the creation of new resources. I will use a
> method like createResource("test.html",6);
Take a look at the file properties of one of your files in opencms explorer.
under "advanced" you find all properties that are currently defined in the system.

> - But how do I set the Template for my new file? 
it's called "template"
> - Do I set with properties the "title", "Add to navigation" and
> "Navigation Text"? What are the keys for these properties?
it's called "NavText", the title is called "Title". 
Be careful to use the spelling exactly like this

regards
christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3269 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060826/60dafc1d/attachment.bin>


More information about the opencms-dev mailing list