login, analytics fix

This commit is contained in:
Rushabh Mehta
2012-02-14 17:25:31 +05:30
parent ec6f9fedd6
commit eec8e92604
8 changed files with 73 additions and 34 deletions

View File

@@ -5,68 +5,68 @@
{
'creation': '2012-01-30 12:15:00',
'docstatus': 0,
'modified': '2012-01-30 13:50:53',
'modified_by': 'Administrator',
'owner': 'Administrator'
'modified': '2012-02-14 14:29:41',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
# These values are common for all DocType
{
'_last_update': '1327906116',
'colour': 'White:FFF',
'description': 'Products are automatically updated from the item master. To add products to the website, go to the <a href="#!List/Item">Item master</a> and check "Show in Website" in the "Website Details"\n\n',
'_last_update': u'1327911653',
'colour': u'White:FFF',
'description': u'\n\n',
'doctype': 'DocType',
'issingle': 1,
'module': 'Website',
'module': u'Website',
'name': '__common__',
'section_style': 'Simple',
'section_style': u'Simple',
'show_in_menu': 0,
'version': 3
'version': 4
},
# These values are common for all DocField
{
'colour': 'White:FFF',
'description': 'Product Groups that are listed on the website. The first product group from this list will be listed by default on the "Products Page"',
'doctype': 'DocField',
'fieldname': 'groups',
'fieldtype': 'Table',
'label': 'Groups',
'colour': u'White:FFF',
'description': u'Product Groups that are listed on the website. The first product group from this list will be listed by default on the "Products Page"',
'doctype': u'DocField',
'fieldname': u'groups',
'fieldtype': u'Table',
'label': u'Groups',
'name': '__common__',
'options': 'Product Group',
'parent': 'Products Settings',
'parentfield': 'fields',
'parenttype': 'DocType',
'options': u'Product Group',
'parent': u'Products Settings',
'parentfield': u'fields',
'parenttype': u'DocType',
'permlevel': 0
},
# These values are common for all DocPerm
{
'create': 1,
'doctype': 'DocPerm',
'doctype': u'DocPerm',
'name': '__common__',
'parent': 'Products Settings',
'parentfield': 'permissions',
'parenttype': 'DocType',
'parent': u'Products Settings',
'parentfield': u'permissions',
'parenttype': u'DocType',
'permlevel': 0,
'read': 1,
'role': 'Website Manager',
'role': u'Website Manager',
'write': 1
},
# DocType, Products Settings
{
'doctype': 'DocType',
'name': 'Products Settings'
'name': u'Products Settings'
},
# DocPerm
{
'doctype': 'DocPerm'
'doctype': u'DocPerm'
},
# DocField
{
'doctype': 'DocField'
'doctype': u'DocField'
}
]

View File

@@ -3,9 +3,9 @@
# These values are common in all dictionaries
{
'creation': '2012-02-02 13:51:29',
'creation': '2012-02-02 13:19:50',
'docstatus': 0,
'modified': '2012-02-13 12:23:36',
'modified': '2012-02-14 16:13:59',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
@@ -23,7 +23,7 @@
'name': '__common__',
'section_style': u'Simple',
'show_in_menu': 0,
'version': 8
'version': 9
},
# These values are common for all DocField
@@ -205,5 +205,35 @@
'label': u'Domain List',
'permlevel': 0,
'reqd': 0
},
# DocField
{
'doctype': u'DocField',
'fieldtype': u'Section Break',
'label': u'Analytics',
'permlevel': 0
},
# DocField
{
'colour': u'White:FFF',
'description': u'Code pasted in the head tag to start an Analytics engine like Google Analytics',
'doctype': u'DocField',
'fieldname': u'analytics_code',
'fieldtype': u'Text',
'label': u'Analytics Code',
'permlevel': 0
},
# DocField
{
'colour': u'White:FFF',
'description': u"Function to be called when page is changed. (_gaq.push['_trackPageview'] for Google Code)",
'doctype': u'DocField',
'fieldname': u'analytics_call',
'fieldtype': u'Text',
'label': u'Analytics Call',
'permlevel': 0
}
]