Content last modified Monday 6 March 2017
hop to #bottom
Categories:
About It:
Rate it:
  • Helpful?
  • 0 Yes
  • 0 No
Flag it:

If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!

Customizing Custom Fields

Custom fields are available under Advanced Options, on the left of the writing area when you’re posting an article.

To add more custom fields, and to give them custom names, open up /lib/admin_config.php

and find the following:
// ------------------------------------------------------------- // use custom fields for articles - must be in 'quotes' ‘custom_1_set’ => ‘closet’, ‘custom_2_set’ => ‘ribbons and bows’, ‘custom_3_set’ => ‘’, ‘custom_4_set’ => ‘’,

Leave the text on the left side alone, and edit the text on the right, between the ‘quotes’, like the instructions suggest.

To call the contents of these fields on your pages or in your article forms, use rei_show_custom.

Article Request Count:
Initially released:
2004-12-08
Posted here:
08 Dec 2004
Article modified:
03 Nov 2006

Comments/questions? Leave a message in the form.

Your comment will NOT be submitted until you click the 'Submit' button on the next pageload.

Commented (1)

Note that as of 4.0.3, it’s no longer necessary to edit the file. The custom field names are assigned under Advanced Preferences.

Subscribe to this article's comments RSS feed. [ ? ]   View Recent Comments across the site.

You know you want to visit the Archives.

Browse

Categories


Articles

There are also tag clouds, 'cause those are fun.
Published with Textpattern