added blog subscriber, unsubscribe

This commit is contained in:
Rushabh Mehta
2012-01-27 18:00:14 +05:30
parent ad10c695ff
commit 3a751e8f82
17 changed files with 190 additions and 10 deletions

View File

@@ -42,7 +42,7 @@ def boot_session(bootinfo):
if webnotes.session['user']=='Guest':
bootinfo['topbar'] = webnotes.model.doc.getsingle('Top Bar Settings')
bootinfo['topbaritems'] = webnotes.conn.sql("""select label, std_page, custom_page, parent_label
from `tabTop Bar Item`""", as_dict=1)
from `tabTop Bar Item` where parent='Top Bar Settings' order by idx asc""", as_dict=1)
else:
bootinfo['letter_heads'] = get_letter_heads()