Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Link to New Post

Quote Reply
Link to New Post
HI,

When a new post is added, a mail is sent to all the subscribers.
How can I get this mail to link directely to the new post, instead of just the category where the post have been added in?


Bent
Quote Reply
Re: [bannerzone] Link to New Post In reply to
anyone?
Quote Reply
Re: [bannerzone] Link to New Post In reply to
You'll have to change the link in the subscribe email template.

I'm in the process of doing the same. I'll give you a more complete answer when I finish.

Dave
Quote Reply
Re: [bretzke] Link to New Post In reply to
Thanks Dave...
That would be very cool :-)


Bent
Quote Reply
Re: [bannerzone] Link to New Post In reply to
In the Admin Panel, go to Email templates and load subscribe.eml.

This is the template for subscriptions.

Inside to <%loop post_loop%>, I put this in after the <%post_message_text%> variable:

Link back to post: <%cgi_root_url%>/gforum.cgi?post=<%post_id%>#<%post_id%>

That should add a link back to the specific post in a subscription email.

Good Luck and Happy New Year!

Dave
Quote Reply
Re: [bretzke] Link to New Post In reply to
Cool... Thank you so much !!!

I hope that you have had a good New Years day, nd wish you the best in the new year :-)