So, I added an extra group for a new project I'm trying, and I was going to just add each field in individually, but my site hosts 3 sites with 17 more in the works, so if anyone wanted to add a field, I'd have to code each, rather than them playing in the template...
Anyway, here are my attempts.
I added this to the item page:
Code:
<!-- BOF tagdets block -->
<?php if (isset($this->item->positions['tagdets'])) : ?>
<?php foreach ($this->item->positions['tagdets'] as $field) : ?>
<div class="tagdets field_<?php echo $field->name; ?>">
<span class="value field_<?php echo $field->name; ?>"><?php echo $field->display; ?></span>
<div class="clear"></div>
</div>
<?php endforeach; ?>
<?php endif; ?>
<!-- EOF tagdets block -->
And this to the item.xml file:
Code:
<group>tagdets</group>
It is allowing me to put fields in the group section in the backend template, and it is displaying them on the front end, but it is also showing a bunch of odd characters:
� � � �
www.365daysofstyle.com
� �� �
� �
� �� �� �
And so on. I've attached an image.
Any ideas?
Like I said, I can work around it, but I'd like an extensible solution. *smiles*
Thanks for any feedback!