Hi,
I am trying to write "Send to Friend" module.
Typically, a link on each page should take user to a form.
1. But I am not able to render contents with {cms_module module="SendFriend").
2. And big question is how to replace {content} or hide it & show form at the place of contents.
Please fwd me to any old similar question, if available.
Thanx & regards,
Sagar
Send to Friend module
Re: Send to Friend module
I'm not totally sure what the module is supposed to do. Can you explain?
Re: Send to Friend module
Hi,
Sorry, my mistake, "Send a friend" is actually "send this page as link to friend (in mail)" This typically shows 4 textboxes viz. your name,email,friend's name & email.
Since "send to friend" link needs to appear on every page, I have added {cms_module module="SendFriend"} in template just before {content}, now I could show this form, but is it appearing alongwith contents of {content}.
So my question is how do show form & not content. My url after click "send" link look like localhost/index.php?page=home&module=SendFriend
Any help?
Thanx mate.
Sagar
Sorry, my mistake, "Send a friend" is actually "send this page as link to friend (in mail)" This typically shows 4 textboxes viz. your name,email,friend's name & email.
Since "send to friend" link needs to appear on every page, I have added {cms_module module="SendFriend"} in template just before {content}, now I could show this form, but is it appearing alongwith contents of {content}.
So my question is how do show form & not content. My url after click "send" link look like localhost/index.php?page=home&module=SendFriend
Any help?
Thanx mate.
Sagar