/[drupal]/contributions/modules/netforum_nodes/README.txt
ViewVC logotype

Contents of /contributions/modules/netforum_nodes/README.txt

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


Revision 1.2 - (show annotations) (download)
Fri Oct 26 19:20:21 2007 UTC (2 years, 1 month ago) by jamesmichaelhill
Branch: MAIN
CVS Tags: DRUPAL-5--0-8, DRUPAL-5--0-8-2, DRUPAL-5--0-8-5, DRUPAL-5--0-8-7, DRUPAL-5--0-8-6, DRUPAL-5--0-8-8, HEAD
Branch point for: DRUPAL-5
Changes since 1.1: +39 -1 lines
File MIME type: text/plain
Added help, tested node operations, fixed install schema, added workaround for pathauto bug.
1 README.txt
2
3 netFORUM Dynamic Facade Nodes is what happens when an eMarketing Template
4 and a List content type get together and work together over xWeb. It does a few neat things:
5
6 Lists are anything between {BeginList} and {EndList} tags. All lists must have
7 {BeginObjectName}, {EndObjectName}, {BeginDetail} and {EndDetail} tags, and
8 if they are pulling a query from netFORUM's iWeb it should also have {BeginQueryName}
9 and {EndQueryName} fields. Otherwise it should have {BeginColumns}, {EndColumns},
10 {BeginWhere} and {EndWhere}. If ALL of those tags are present, it will use the iWeb query
11 and ignore the rest. These lists can be used to show the same kind of data that a child form
12 would, for example a Committee page might look like this:
13
14
15 {cmt_name} Members:
16 {BeginList}
17 {BeginObjectName}mb_committee_x_customer{EndObjectName}
18 {BeginColumns} cmc_cop_key, cst_name_cp {EndColumns}
19 {BeginWhere}cmc_cmt_key = '{cmt_key}' {EndWhere}
20 {BeginOrderBy}cst_sort_name{EndOrderBy}
21
22 {BeginDetail} <li> {cst_name_cp}, {cmc_cop_key}</li>
23 {EndDetail}
24
25 {EndList}
26
27 But, that's not the end of the trick either. Each object can also have a template, and if there
28 is a mb_committee_x_customer template, then this detail:
29
30 {BeginDetail} <li> {BeginLink}{cst_name_cp}{EndLink}, {cmc_cop_key}</li>
31 {EndDetail}
32
33 Will link to the committee participant.
34
35
36 SETUP
37 Since eWeb comes with many special curly brace tags, like {currentuserkey} and {objectkey},
38 at admin/settings/netforum/special-fields you can define any tag you want. Many of the basic tags
39 are pre-populated and use PHP code to return values, such as {currentdate}

  ViewVC Help
Powered by ViewVC 1.1.2