Return to ECHO_content_overview.zpt CVS log | Up to [Repository] / ECHO_content / zpt |
finally managed to use an optional template for content_overview!
1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2: <html tal:define="cot here/getContentOverviewTemplate"> 3: <tal:block metal:use-macro="cot/macros/page"> 4: <head> 5: <meta http-equiv="content-type" content="text/html; charset=utf-8"> 6: </head> 7: <body> 8: <tal:block metal:fill-slot="page_head"> 9: <h2 tal:condition="here/title" tal:content="here/title"/> 10: </tal:block> 11: <!-- the rest is generated by the template --> 12: <table> 13: <tr> 14: <td> 15: <!-- link block --> 16: <tal:block tal:repeat="ob here/getAllMapAreas"> 17: <a tal:replace="structure python:here.createMapLink(ob)"/><br/> 18: </tal:block> 19: <!-- end of link block --> 20: </td> 21: <td valign="top"> 22: <div tal:replace="structure python:here.createMapImg()"/> 23: </td> 24: </tr> 25: </table> 26: <!-- auxiliary image block --> 27: <tal:block tal:repeat="ob here/getAllMapAreas"> 28: <a tal:replace="structure python:here.createMapAux(ob)"/> 29: </tal:block> 30: <!-- end of auxiliary image block --> 31: </body> 32: </tal:block> 33: </html>