Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By llizards on
I was wondering how I might take the output form a text area. Where I asked for each type to be put on a new line. and Display that through theming as
<strong>Types:</strong> item 1 | item 2 | Item 3
I tried this as I am only learning php
<?php if (is_array($flexinode_29)) : ?>
<label><strong>Types of Animals Offered:</strong></label>
<?php foreach ($flexinode_29 as $types): ?>
<?php print $types?> |
<?php endforeach; ?>
Comments
try this...
Dublin Drupaller setup a section in the handbook that's worth checking - I'm not sure precisely what you're trying to do, but, the flexinode theming snippets might help get you where you want to go.
http://drupal.org/node/45471
Phil