Having problems getting it to work

Permalink
Hi,

The mailing list looks excellent but i'm having some big problems (i'm new to concrete5 as well):

1) I've added the mailing list block to the sidebar of my side, near the bottom of the page, but After i enter my email and name and click sign up to test it, the page refreshes and is back at the top of the page again so you don't see the thank you for subscribing message which appears where the sign up section is. Can i get it so it stays where it is, so the person sees the thankyou message?

2) I sent a test mailing to myself but when i clicked on the unsubscribe link in the email a page came up with the following error:

An unexpected error occurred.
File /home/lovevelo/public_html/themes/lovevelo.tv/view.php not found. All themes need default.php and view.php files in them. Consult concrete5 documentation on how to create these files.


I also originally had it configured so the person had to confirm their email by clicking a link but i got the same error message when i tested that too.

Admittedly i hadn't created a view.php to go with my custom theme, but i've since created one but it doesn't seem to make any difference (i'm still a bit confused as to what view.php is for!) - i just took my default.php and replaced the snippets of content code with <?php
print $innerContent;
?>


What am i doing wrong please??

Tags:

View Replies:
Tony replied on at Permalink Reply
Tony
hey Rob,

The first 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.

Regarding your second issue, creating the view.php should resolve it. Make sure that file you created has the correct server permissions. It's used as a page template for custom pages, and can be used for other pages like /404 or /login (although you'd have to enable those to use it).

btw, in the future can you use the support forum for trouble shooting questions like this? It makes it easier for me to keep track of which ones are resolved.