Rev | Line | |
---|
[44] | 1 | ## forms/
|
---|
| 2 |
|
---|
| 3 | ### Overview
|
---|
| 4 |
|
---|
| 5 | This directory holds forms that may be used in various places throughout the theme.
|
---|
| 6 |
|
---|
| 7 | These forms can be included in other theme files using the following code:
|
---|
| 8 |
|
---|
| 9 | <?php cfct_form('comment'); ?>
|
---|
| 10 |
|
---|
| 11 | Where `comment.php` is the name of the file in the _forms/_ directory that you want to include.
|
---|
| 12 |
|
---|
| 13 |
|
---|
| 14 | ### Example File Descriptions
|
---|
| 15 |
|
---|
| 16 | Included by default are the "post comment" form (_comment.php_) and the "search" form (_search.php_). Create as many forms as you like and store them here to keep them organized.
|
---|
| 17 |
|
---|
| 18 | This directory is not used by the Carrington engine (template naming conventions are not supported), it is provided solely for convenience and for better organization of these files. |
---|
Note:
See
TracBrowser
for help on using the repository browser.