[opencms-dev] OpenCMS Beta 2 - default template

Alexander Kandzior alex at opencms.org
Wed Nov 13 17:20:19 CET 2002


Joe.

Thanks for the information on using the directories and modules.  I
followed your instructions.  I'm assuming that it makes sense to use a
different module for any major division of the website that I would need
to export individually, and that I should keep all the pages pertaining
to that module within that directory?  Please tell me if I've
misunderstood the purpose of separate modules. When I created the new
module it didn't produce all the same directories as in the default
module, but I was able to create contenttemplates and frametemplates
directories.

Modules are just a convient way to package some functionalitys. Like
"News module", "Job module", "Template module" etc. 

Now back to the bug: I still have the same problem with new pages using
the default template rather than using my master template.   I followed
your directions exactly.  The new class file you sent is (alone) in
WEB-INF\classes\com\opencms\file\ as directed, and I restarted Tomcat.

Heck you are right I did forgot one file
"com/opencms/workplace/CmsNewResourcePage.class". Try the new zip
attached.
 



Best Regards,
Alex.

Alexander Kandzior
OpenCms Group / Alkacon Software 

--Joe

-----Original Message-----
From: Alexander Kandzior [mailto:alex at opencms.org] 
Sent: Wednesday, November 13, 2002 9:07 AM
To: opencms-dev at www.opencms.org
Subject: RE: [opencms-dev] OpenCMS Beta 2 - default template


Joe,

1) I've created a new master template, and when I select it from the
dropdown list while creating a new page, it acts like it worked. But
then when I open the new page, the default template is applied.  I then
have to edit the control code and change the master template name there
from the default to my new template.  Then it works.  Why doesn't it
accept the master template specified when creating the page? 

Ok it IS a bug introduced in the 5.0b2. I have attached the fix. 
 
Unzip this in the "Classes" directory of your OpenCms web application.
Make sure the path is unziped with the full package name
"classes/com/opencms/file/CmsResourceTypePage.class". Restart OpenCms.
Let me know it this works.



Best Regards,
Alex.

Alexander Kandzior
OpenCms Group / Alkacon Software 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20021113/288fcbd3/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CmsResourceTypePage.zip
Type: application/x-zip-compressed
Size: 14840 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20021113/288fcbd3/attachment.bin>


More information about the opencms-dev mailing list