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) »
  • Discussion »
  • Extensions (Moderators: mathieu, totten, kasiawaka) »
  • Two files Tab.extra.tpl or more
Pages: [1]

Author Topic: Two files Tab.extra.tpl or more  (Read 520 times)

rubofvil

  • I’m new here
  • *
  • Posts: 23
  • Karma: 1
  • CiviCRM version: 4.2.7
  • CMS version: Drupal 7
  • MySQL version: mysql 5.1
  • PHP version: php 5.2
Two files Tab.extra.tpl or more
February 18, 2014, 09:19:21 am
Good Afternoon!

I have two extensions that contains templates/CRM/Contribute/Page/Tab.extra.tpl.

It's reading only one of these templates.

Is it possible read the two files?

One possible solution it's moving to other file and read with:

Code: [Select]
hook_civicrm_alterContent(  &$content, $context, $tplName, &$object ) {
if($tplName == "CRM/Contribute/Page/Tab.tpl") { ....

Version CiviCRM 4.3.7

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Two files Tab.extra.tpl or more
February 19, 2014, 12:07:38 am
Yes, you will need to move it OR use the <template_name>.extra.tpl possibilities.
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Extensions (Moderators: mathieu, totten, kasiawaka) »
  • Two files Tab.extra.tpl or more

This forum was archived on 2017-11-26.