Adding an output element

You can add a new output elementIn a database-driven content block, an element that displays the contents of a single database field or, alternatively, the value of a parameter. to any kind of block except chart blocks. An output element can display either the contents of a database field or the value of a parameter (but not both).

Namo Web Editor icon note Adding or removing block elementsAn output element in an input block can only display the value of a parameter, not the contents of a database field.

To add an output element that displays the contents of a database field

Adding an output element for a database field is a two-step process. First, you need to add the database field that the element will be associated with to the list of database fields used by the block. (If the relevant database field is already in the list, you can skip this step.) Then, you insert the new output element into the block.

  1. On the Develop menu, go to Database, click Field,and then click Block Properties.
  2. Click the Database Fields tab.
  3. In the list of database tables and fields on the left, select the field that the new output element will be linked to, click Add, and then click OK.
  4. In the table that contains the database-driven content block, insert a new row or column to contain the new output element and (optionally) its label.
  5. Right-click inside the cell you added for the new element, point to Database, and then click Insert Output Element.
  6. Click the button next to the Database field box, select the database field you added in step 3 from the menu, and then click OK.
  7. If you added a cell for the new element’s label, click inside it and type the label.
To add an output element that displays the value of a parameter
  1. In the table that contains the database-driven content block, insert a new row or column to contain the new output element and (optionally) its label.
  2. Right-click inside the cell you added for the new element, point to Database, and then click Insert Output Element.
  3. Click the button next to the Database field box, select the desired parameter and then click OK. (The menu will only list parameters that have been registered. For information about registering parameters, see “Registering a parameter“.)
  4. If you added a cell for the new element’s label, click inside it and type the label.
Related topics

Adding a hyperlink output element

Changing a block element’s associated database field

Adding or removing block elements