Open Power Template 2.x family
PLEASE PROVIDE THE TEMPLATES AND/OR PHP CODE IN THE TASK DESCRIPTION (Not URL-s to them). THAT ALLOWS US TO REPRODUCE THE PROBLEM! OTHERWISE WE ARE NOT ABLE TO HELP YOU!
Remember to hide all the security-related pieces of code from the task description, like passwords, server paths etc. for your own safety. Once we close the task, we cannot edit it anymore!
PLEASE PROVIDE THE TEMPLATES AND/OR PHP CODE IN THE TASK DESCRIPTION (Not URL-s to them). THAT ALLOWS US TO REPRODUCE THE PROBLEM! OTHERWISE WE ARE NOT ABLE TO HELP YOU!
Remember to hide all the security-related pieces of code from the task description, like passwords, server paths etc. for your own safety. Once we close the task, we cannot edit it anymore!
FS#144 - opt:parent
Attached to Project:
Open Power Template
Opened by Dariusz (daro) - Monday, 21 December 2009, 02:53 GMT-8
Last edited by Zyx (Zyx) - Wednesday, 23 December 2009, 00:43 GMT-8
Opened by Dariusz (daro) - Monday, 21 December 2009, 02:53 GMT-8
Last edited by Zyx (Zyx) - Wednesday, 23 December 2009, 00:43 GMT-8
|
DetailsParent template:
<?xml version="1.0" ?> <opt:root> <opt:prolog /> <opt:dtd template="xhtml11" /> <html opt:use="html"> <opt:attribute name="lang" value="pl" /> </html> </opt:root> Child extend the parent: <?xml version="1.0" ?> <opt:extend file="layout.tpl"> <opt:snippet name="html"> <opt:parent /> </opt:snippet> </opt:extend> And I have exception: Invalid use of "opt:attribute". The parent must be "printable tag". When I remove <opt:snippet> in child template then exception gone. |
This task depends upon
Closed by Zyx (Zyx)
Wednesday, 23 December 2009, 00:43 GMT-8
Reason for closing: Fixed
Additional comments about closing: Fixed in rev. 272
Wednesday, 23 December 2009, 00:43 GMT-8
Reason for closing: Fixed
Additional comments about closing: Fixed in rev. 272