Re: [Zotonic-Usr] mailinglist unsubscribe form didn't work with skel site (from git), block main or block content?

8 views
Skip to first unread message

Marc Worrell

unread,
Jun 25, 2013, 3:19:24 AM6/25/13
to zotoni...@googlegroups.com
Hi Cillian,

This is most definitely a bug in the default blog templates.
Could you document it on the issues?


Thanks,

Marc


On 20 mei 2013, at 12:28, goibhniu wrote:

Hi,

I'm using Zotonic from git (876566fe) and created a blog and enabled the mailinglist module. Users can subscribe but when they follow the link to unsubscribe they see a page with an empty content pager, and can't unsubscribe. By poking at it I discovered that if I changed {% block main %} to {% block content %} in mailinglist_unsubscribe.tpl it works fine.

I'm new to Zotonic so I'm not quite sure how it all fits together yet. This commit looks relevant:

https://github.com/zotonic/zotonic/commit/ae4eb07eb62bab3f919eae457ecf9c6404947c53

The blog base.tpl which is created from the skel doesn't contain {% block main %}, adding it inside {% block content %} doesn't help but adding it above does display the relevant unsubscribe template, with the content pager below it.

I'm really not sure if this is a bug, or if I'm just doing it wrong. Perhaps I should create a new site with Zotonic 0.9.1 instead?

All the best,
Cillian

--
 
---
You received this message because you are subscribed to the Google Groups "Zotonic users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zotonic-user...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages