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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Custom templates not working after upgrading to 3.0
Pages: [1]

Author Topic: Custom templates not working after upgrading to 3.0  (Read 976 times)

siffring

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
Custom templates not working after upgrading to 3.0
December 16, 2009, 08:33:31 am
Hi,

My custom Civi templates aren't being recognized after upgrading to Civi 3.0.2.

In the Civi settings under Administer CiviCRM / Global Settings, I have Custom Templates set to:
/path/to/sites/all/themes/mytheme/civicrm/

That directory contains this custom template for event info:
./CRM/Event/Page/EventInfo.tpl

However, when this page is rendered the custom template isn't getting picked up.
http://mysite.com/civicrm/event/info?reset=1&id=33

The template was working under Civi 2 and hasn't been changed since upgrading to 3.0.2.

Has something changed in 3 that I need to take into consideration?

Appreciate any tips.

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: Custom templates not working after upgrading to 3.0
December 18, 2009, 03:29:19 am
Can you delete files/civicrm/templates_c directory. Might be caching issue.

Note the EventInfo.tpl has changed in 3.0, so make you should update your custom template accordingly.

HTh

Kurund
Found this reply helpful? Support CiviCRM

adixon

  • I post frequently
  • ***
  • Posts: 314
  • Karma: 19
    • Blackfly Solutions
Re: Custom templates not working after upgrading to 3.0
December 18, 2009, 05:56:12 am
i've just upgraded from 2.9 to 3.0 and my custom templates were all picked up nicely ...

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Custom templates not working after upgrading to 3.0

This forum was archived on 2017-11-26.