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 CiviMail (Moderator: Piotr Szotkowski) »
  • Questions about forward to a friend function
Pages: [1]

Author Topic: Questions about forward to a friend function  (Read 491 times)

cantusnovus

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 3.4.5
  • CMS version: Joomla 1.5.26
  • MySQL version: 5.0.95-community
  • PHP version: 5.2.17
Questions about forward to a friend function
August 07, 2012, 06:38:03 am
I have inserted the token {action.forward} into my mailing header and in testing it have two questions.

1) There is no "success" or "confirmation" page after submission, it simply directs to the home page. Is there something I can do to redirect to a more useful page?

2) There is a button "add comment", which opens to show two boxes. The first one with no WYSIWYG editing toolbar and one underneath with the toolbar. Any text put in the box without the toolbar does not get sent, so why is it there? This will be confusing for users and potentially keep them from even using the form, plus if they only enter text in the first box it won't get to the recipient anyway.

If anyone can point me to necessary documentation or tell me what I have to do to make this work more successfully, I would really appreciate it. Thanks!

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Questions about forward to a friend function
August 07, 2012, 07:38:37 am

Might want to read the book http://civicrm.org/developer/ to get an idea about civi code / layout

for 1. you can potentially do this via a postProcess hook

for 2 can u debug the code and see whats happening and why. The relevant file is:

CRM/Mailing/Form/ForwardMailing.php

thanx

lobo

A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

cantusnovus

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 3.4.5
  • CMS version: Joomla 1.5.26
  • MySQL version: 5.0.95-community
  • PHP version: 5.2.17
Re: Questions about forward to a friend function
August 07, 2012, 10:00:49 am
Thanks lobo, I'll take a look at the suggested documentation. Appreciate the quick answer

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Questions about forward to a friend function

This forum was archived on 2017-11-26.