Commit 608dc98b authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

enable sitemap in global navigation.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28695 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1d5329c7
......@@ -55,9 +55,16 @@
</tal:block>\n
\n
<tal:block tal:define="current_web_section python:request.get(\'current_web_section\', here);\n
web_site_url python:current_web_section.getWebSiteValue().absolute_url();">\n
web_site python:current_web_section.getWebSiteValue();\n
web_site_url python:web_site.absolute_url();\n
sitemap_section_id python:current_web_section.getLayoutProperty(\'layout_sitemap_section_id\', \'\');\n
sitemap_section python:web_site.restrictedTraverse(sitemap_section_id)">\n
<div class="navglobal">\n
<ul>\n
<tal:block tal:condition="sitemap_section_id">\n
<li><a href="#" i18n:translate="" i18n:domain="ui"\n
tal:attributes="href python:\'%s\' % sitemap_section.absolute_url()">Sitemap</a></li>\n
</tal:block>\n
<tal:block tal:condition="here/portal_membership/isAnonymousUser">\n
<li><a href="#" i18n:translate="" i18n:domain="ui"\n
tal:attributes="href python:\'%s/login_form\' % web_site_url">Login</a></li>\n
......
......@@ -83,6 +83,7 @@
<string>my_layout_copyright_message</string>
<string>my_layout_search_area_section_id</string>
<string>my_layout_news_area_section_id</string>
<string>my_layout_sitemap_section_id</string>
</list>
</value>
</item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>display_width</string>
<string>title</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_layout_sitemap_section_id</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>display_width</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>display_width</string> </key>
<value> <int>20</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_string_field</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Sitemap Section ID</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -15,7 +15,6 @@
<list>
<string>default</string>
<string>editable</string>
<string>enabled</string>
<string>title</string>
</list>
</value>
......@@ -110,10 +109,6 @@
<key> <string>editable</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_editor_field</string> </value>
......
135
\ No newline at end of file
136
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment