Print or Echo field elsewhere on page?
-
On my [pdb-record] page, I am displaying data using Groups specifically so that the Group Title would appear. Using the default template, it didn’t, so I created a custom template and copied the default code.
I see
<?php $this->group->print_title() ?>
is there, and it should print the title on the page, but no go. So I changed that to<?php echo $this->group->title ?>
, and it displays the Group titles.I would like also to echo or print the NAME field from the currently displayed record so it reads “Group Title: NAME,” and I can’t seem to make it happen using variations of print/echo, $this, $post, and variations on the field/ID.
Hoping for a little assistance while I manage my way through this blonde moment …
- The topic ‘Print or Echo field elsewhere on page?’ is closed to new replies.