Mailing list addon help
Permalink
Hi, I'm using the Mailing List addon which is excellent, but i do have a minor issue with it. I've tried posting on the relevant addons discussions section and they were very helpful but suggested i try here as it might not be an addon problem.
My problem is this:
I have the mailing list sign up section added as a block to the bottom of my sidebar on every page, all works fine except when i fill it out to test and the page refreshes back at the top of the page again so i don't see the Thank you for subscribing message. Shouldn't it refresh but stay lower down the page with the mailing list block so you see that message?
I was told on the addons discussion section that:
"The issue sounds like a caching problem. Try disabling your concrete5 cache to see if that makes a difference. I'm not sure of the long-term solution off-hand to make included elements non-cacheable without disabling your entire cache. That may be a question better suited for the main forum, as other blocks are likely to have the same issue and the answer might help out some other users too."
I tried disabling concrete5 cache but didn't make any difference.
Also, i should say that this is my first time using concrete5 and I've added mailing list manually as a block to every page...don't know if that's what you're supposed to do or if there's a better way to make it appear automatically at that spot on every page?
Can any one help? Thanks
My problem is this:
I have the mailing list sign up section added as a block to the bottom of my sidebar on every page, all works fine except when i fill it out to test and the page refreshes back at the top of the page again so i don't see the Thank you for subscribing message. Shouldn't it refresh but stay lower down the page with the mailing list block so you see that message?
I was told on the addons discussion section that:
"The issue sounds like a caching problem. Try disabling your concrete5 cache to see if that makes a difference. I'm not sure of the long-term solution off-hand to make included elements non-cacheable without disabling your entire cache. That may be a question better suited for the main forum, as other blocks are likely to have the same issue and the answer might help out some other users too."
I tried disabling concrete5 cache but didn't make any difference.
Also, i should say that this is my first time using concrete5 and I've added mailing list manually as a block to every page...don't know if that's what you're supposed to do or if there's a better way to make it appear automatically at that spot on every page?
Can any one help? Thanks
Thanks for your reply, unfortunately i don't think that would work as it's an actual form and the subscribe bit is:
<input name="Submit" class="submit" type="submit" value="Sign-up »" />
Unless i misunderstood you
<input name="Submit" class="submit" type="submit" value="Sign-up »" />
Unless i misunderstood you
Can't you just wrap your form in a div and assign an id? That way the solution from JohntheFish should work.
The link for the form will in this case be in the <form> tag (rather than in an <a> tag). So that is the address you need to modify.
If the addon provides no easy way to modify the address, you may need to create an alternate (override) view, where the only change is to insert the id to the address the form submits to.
To get started on overrides, see http://www.concrete5.org/documentation/how-tos/developers/change-th...
There is plenty more about overrides in the developer documentation.
If the addon provides no easy way to modify the address, you may need to create an alternate (override) view, where the only change is to insert the id to the address the form submits to.
To get started on overrides, see http://www.concrete5.org/documentation/how-tos/developers/change-th...
There is plenty more about overrides in the developer documentation.
OK Thanks very much for your help, I will look into that
I've had a similar problem with some of the form add ons. you may be able to add an anchor tag in the controller of mailing list so it outputs a url that will jump down to the anchor.
Another option is to put a div up at the top of the page to display the error message or form completed message, I've done that before, you can find more here:http://www.concrete5.org/community/forums/customizing_c5/passing-da...
Another option is to put a div up at the top of the page to display the error message or form completed message, I've done that before, you can find more here:http://www.concrete5.org/community/forums/customizing_c5/passing-da...
The cleanest way to solve it would be to put the id of your block or a surrounding div, as a # on the end of the page path in the link that refreshes the page.
As an outline:
This will no doubt require a bit of messing around to make it work, but hopefully it sets the general idea.