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 CiviEvent (Moderator: Yashodha Chaku) »
  • Editing templates for CiviEvents
Pages: [1]

Author Topic: Editing templates for CiviEvents  (Read 962 times)

torgrim

  • Guest
Editing templates for CiviEvents
March 12, 2009, 04:33:43 am
Hi,

I am using CivicCRM 2.2 beta4 and Joomla 1.5.

For the EVENT INFORMATION page I would like to add a company name for LOCATION info-section, and also a contact name+company name for CONTACT info-section.
Is this possible, or do I have to hardcode this in the templatefiles?


Which templates files are used for the eventregistration pages?

I would like to do some layout changes (html/php) on these pages:
UPCOMING EVENTS
http://www.mydomain.com/index.php?option=com_civicrm&task=civicrm/event/ical&reset=1&page=1&html=1
EVENT INFORMATION
http://www.mydomain.com/component/civicrm/?task=civicrm%2Fevent%2Finfo&reset=1&id=2

Where do I find the email templates used for CiviEvents?
REGISTRATION PAGE
http://www.mydomain.com/index.php?option=com_civicrm&task=civicrm/event/register&id=2&reset=1
CONFIRMATION PAGE
http://www.mydomain.com/index.php?option=com_civicrm&task=civicrm/event/register&&_qf_Confirm_display=true&qfKey=4aa105794440210991b7b134016dda37

Hope for help.

Have a nice day! :)

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: Editing templates for CiviEvents
March 12, 2009, 05:17:07 am
torgrim:

You might want to create a custom .tpl file in your custom templates directory (not advisable to edit the CiviCRM core templates). There is a wiki page about this here: http://wiki.civicrm.org/confluence/display/CRMDOC/Customize+Built-in%2C+Profile%2C+Contribution+and+Event+Registration+Screens

Doing a "view source" in your browser on a page is the easiest way to figure out the template file.
Quote
http://www.mydomain.com/index.php?option=com_civicrm&task=civicrm/event/ical&reset=1&page=1&html=1
Check templates/CRM/Event/Page/ICalendar.tpl

Quote
http://www.mydomain.com/component/civicrm/?task=civicrm%2Fevent%2Finfo&reset=1&id=2
Check templates/CRM/Event/Page/EventInfo.tpl.
Quote
Where do I find the email templates used for CiviEvents?
Similarly check templates/CRM/Event/Form/Registration/Register.tpl
            and    templates/CRM/Event/Form/Registration/Confirm.tpl

HTH
-Yashodha
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Editing templates for CiviEvents

This forum was archived on 2017-11-26.