CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Question about PCP tell-a-friend message
Pages: [1]

Author Topic: Question about PCP tell-a-friend message  (Read 1033 times)

nightlrd

  • I post occasionally
  • **
  • Posts: 62
  • Karma: 0
  • CiviCRM version: 3.4
  • CMS version: Joomla 1.5
Question about PCP tell-a-friend message
January 06, 2010, 02:53:22 pm
Hi all. Need a little help finding somthing.  ;D

administrator/components/com_civicrm/civicrm/templates/CRM/Friend/Form/MessageTemplate.tpl file there is a little bit of code
Code: [Select]
{$senderMessage}

{if $generalLink}{ts}For more information, visit:{/ts}
>> {$generalLink}

{/if}
{if $contribute}{ts}To make a contribution, go to my page at{/ts}:
{$pcpInfoURL}

{/if}
{if $event}{ts}To find out more about this event, go to{/ts}:
>> {$pageURL}
{/if}
For the part that is $sendrmessage, I take that is the insert for what ever the sender types in the tell a friend box. But if you do not type anything it atutomaticaly puts the name of the contribution page in the email. Where can I find the controler for that as I what to have it not auto fill if left blank.

Thanks.

Shailesh Lende

  • Guest
Re: Question about PCP tell-a-friend message
January 07, 2010, 06:12:48 am
Hi nightlrd,
Actually in Tell A Friend
Code: [Select]
{$senderMessage} is what user posts in "Your Message" on Tell a friend page which is required.
Quote
But if you do not type anything it automatically puts the name of the contribution page in the email.
This is not possible for user to submit form without senderMessage .

 Though It would be great if you try to replicate this on demo at http://drupal.demo.civicrm.org/ and give exact steps to replicate.

Thanks,
Shailesh

nightlrd

  • I post occasionally
  • **
  • Posts: 62
  • Karma: 0
  • CiviCRM version: 3.4
  • CMS version: Joomla 1.5
Re: Question about PCP tell-a-friend message
January 07, 2010, 08:50:41 am
Thanks for the reply. It must have been some type of fluke cause it is working as it should. 

But now I am getting another issue, In the code for the $contribute the corisponding page is supposed to be the PCP that the message was sent from, correct? But the link call $pcpInfoURL leaves it blank. I did change that from the original call of $pageURL because that was adding a static link that was the same no matter what pcp the message was being sent from.

I am under a joomla install and would love someone to help direct me as to what or where I need to look to correct this. Thanks.

Shailesh Lende

  • Guest
Re: Question about PCP tell-a-friend message
January 08, 2010, 01:07:47 am
nightlrd,

I am not able to understand  exactly what problem you are facing.
If you please mention exact steps to replicate, it would be really useful to help in solving your problem.

-Shailesh

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Question about PCP tell-a-friend message

This forum was archived on 2017-11-26.