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) »
  • Want to program the PCP owner's name into the PCPinfo template
Pages: [1]

Author Topic: Want to program the PCP owner's name into the PCPinfo template  (Read 862 times)

schuster211

  • Guest
Want to program the PCP owner's name into the PCPinfo template
June 29, 2010, 06:40:34 am
We've noticed that unless people think to include their own name in their PCP title, there is no reference to them on their page. We'd like to add the variable of the PCP owner name to the PCP page, near the title. Any suggestions as to how we can find and add the right variable to a custom template?

Thank you!

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Want to program the PCP owner's name into the PCPinfo template
June 29, 2010, 08:12:48 am
I think you will have to use combination of hook and custom template. So use hook to assign owner name to template and then use that value in custom template.

Hth
Kurund
Found this reply helpful? Support CiviCRM

schuster211

  • Guest
Re: Want to program the PCP owner's name into the PCPinfo template
June 29, 2010, 08:15:39 am
I'm a newbie -- could you please provide a little more reference on the use of hook and template?

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Want to program the PCP owner's name into the PCPinfo template
June 29, 2010, 08:17:51 am
This might help: http://en.flossmanuals.net/CiviCRM/DevelopIntro

Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Want to program the PCP owner's name into the PCPinfo template

This forum was archived on 2017-11-26.