at our plone4.3 site
i created new element on frontpage (editting browser/frontpage.py frontpage.pt)
but the new element is not displayed at xdvtheme,
but when i activate the "Twitter Bootstrap Example" theme then the element displays correctly.
/@@theming-controlpanel
the xdvtheme is our default theme, when xdetheme is actived, i tried to delete
src/ova.xdvtheme/ova/xdvtheme/theme/frontpage.html
then the new element is displayed at frontpage, but the design of frontpage is broken!
could anyone give a hint how to "refresh" xdvtheme in order to include new element of frontpage?
This is difficult to troubleshoot without seeing code. I recommend that you share the code for your theme. If you can't share it publicly, make arrangements to share it privately with someone with Diazo experience.
when i open ova/xdvtheme/theme/theme/frontpage.html i see the "NEWS" div there:
</a>
</div>
<!-- end NEWS -->
i am reading xdvtheme/diazo the first time, and dont know how
to add newElement and his javascript to the xdvtheme frontpage.html
and how this frontpage.html is generated?
Without seeing the contents of your rules.xml, frontpage.pt and frontpage.html I can give you some principles, a general example and gotchas. I hope they help.
Principles
Core concept
frontpage.pt most likely acts as your "content"
frontpage.html acts as your "theme"
rules.xml dictates how elements are moved around (this is an oversimplification, but enough to get you going)
When assessing your rules.xml in the context of your frontpage
When you see a directive with css:content= or content= as an attribute.... assume it refers to elements coming from frontpage.pt
When you see a directive with css:theme= or theme= as an attribute... assume it refers to elements from frontpage.html
Example
Arbitrary example
This might work. It won't give you what you want but it might help you to wrap your head around the mechanism.
It places the newElement before all the children of the body tag.