/[drupal]/contributions/modules/civinode/theme/README.txt
ViewVC logotype

Contents of /contributions/modules/civinode/theme/README.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Thu Jun 21 04:41:00 2007 UTC (2 years, 5 months ago) by torenware
Branch: MAIN
CVS Tags: HEAD
Branch point for: DRUPAL-5
Changes since 1.1: +0 -0 lines
File MIME type: text/plain
Checking Comm Init changes into head
1 // $Id$
2
3 Custom Theming Of CiviCRM Contacts
4 ==================================
5
6 The files in this directory are a simple example of how you
7 can theme crm contacts using PHPTemplate. The contents of
8 theme.php go in your theme's theme.php file; the very basic
9 crm_contact.tpl.php file is a sample of formatting a contact
10 as a table. Since the default implementation of theme('crm_contact')
11 already does more than this, you will certainly want to improve it.
12
13 Currently, the following variables are delivered to the template:
14
15 'contact' => An associative array of the contact info
16 'cck_field' => The CCK $field object
17 'field_info' => An array of formatting info taken from the
18 CiviCRM profile object
19 'profile_id' => The profile_id of the profile.
20
21 This will likely be improved incrementally, but that should get
22 people started out.
23
24

  ViewVC Help
Powered by ViewVC 1.1.2