Page 1 of 1

Send to Friend module

Posted: Wed May 11, 2005 6:50 am
by sagarkale
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

Re: Send to Friend module

Posted: Wed May 11, 2005 9:31 am
by Ted
I'm not totally sure what the module is supposed to do.  Can you explain?

Re: Send to Friend module

Posted: Thu May 12, 2005 1:57 am
by sagarkale
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