[opencms-dev] OpenCms 8 Understanding
Sandrine Prousteau
s.prousteau at eurelis.com
Thu Jun 16 15:37:50 CEST 2011
Hi all,
I'm trying to learn to use new features of OpenCms 8, with T3 and
dev_demo.
Versions : OpenCms 8.0.0.
All ADE modules are correctly installed (increased max_allowed_packet).
I created a custom module "Tight coupling", with:
* 2 containerpage_template
* some elements (xsd & formatters jsp)
* a "config" folder with 2 containerpage models and some elements
models, and a sitemap_config file
* the sitemap.config parameter on my module
My questions are :
Available resourcetypes in a site:
When I read the pdf of OpenCms Days 2011, I understand that the custom
sitemap.config in "sites/default" is only overriding the default
behavior of the module (xsd formatters and sitemap.config
resourcetypeslist ?)(all the modules installed?).
But, when I create manually a containerpage in "sites/default", even
with adding the default containerpage_template in the property
"template" on the site folder, the ADE leave empty the list of
resourcetypes available.
I found we have to set a custom "/_config/sitemap.config" in the
property "config.sitemap" on "/sites/default" folder. Then if we create
on the workplace a containerpage, we can define a list of resourcetype
to add in containers.
So why must we create it in the modules?
Drag and drop new content:
Suppose I have manually created the list of resourcetypes in my website.
I try to add new types contents in containers of my page. Some element
types works, other don't. I must misunderstood something in the
configuration of elements... Is there someone who have clearly
understood the configuration.
All of my formatter jsp have a global <div>. All of my test elements
have basic formatter with type "*". No use of javascript.
Locales:
When I preview a containerpage, sometimes it work, displaying the
elements in the page, sometimes not, as if there when nothing configured
in the page. Perhaps it is linked to locale definition, because it
always work when I register the page edition in workplace before
previewing... Is there someone having this behavior too?
Thanks in advance.
More information about the opencms-dev
mailing list