Hello all,
I’m having absolutely no joy outputting the data for any FieldFrame extension with a custom display_tag method (including the built-in types, such as “Checkbox Group”).
I’m sure I’m missing something obvious – maybe in terms of the template syntax – but at the moment the display_tag method never even seems to get called.
Does anybody have an example of some template code to output the (for example) “Checkbox Group” field type? That way at least I can see whether I’m being dumb, or there’s a problem with the extension.
Thanks, Stephen
FF Checkbox Group uses a tag pair –
<ul>
{my_ff_checkbox_group_field}
<li>{option}</li>
{/my_ff_checkbox_group_field}
</ul>
Available parameters and tags for each of the bundled fieldtypes are documented on the GitHub Wiki. (here’s FF Checkbox Group’s page.)
Hello again,
I’ve just done a completely clean install of EE, created a single custom weblog and template group, installed the FieldFrame extension (and nothing else), and I still can’t get this to work.
I’m running EE 1.6.7 on PHP5 (MAMP Pro), and the template code is as follows (my “checkbox group” field is “ff_checkbox_group”, and contains three options):
{exp:weblog:entries weblog="ff"}
<h1>{title}</h1>
<ul>
{ff_checkbox_group}
<li>{option}</li>
{/ff_checkbox_group}
</ul>
{/exp:weblog:entries}
The output of this is as follows:
<h1>FieldFrame Test</h1>
<ul>
{ff_checkbox_group}
<li>{option}</li>
{/ff_checkbox_group}
</li>
In other words, the FF checkbox group code is never parsed. So, anybody fancy pointing out my blindingly obvious mistake?
Incidentally, the following code actually returns the raw checkbox group data in the form of a serialized array.
{exp:weblog:entries weblog="ff"}
<h1>{title}</h1>
{ff_checkbox_group}
{/exp:weblog:entries}
Any insights would be gratefully received, this is driving me slightly spare.
Thanks, Stephen
Brandon, i’m having the following problem with FF Matrix, whenever I insert an entity (like á,ó.õ,etc… all needed characters in my language)in one of the fields all seems to be fine until I try to edit the entry and get this error message ” Warning: Invalid argument supplied for foreach() in my_path/ft.ff_matrix.php on line 423” , Can you do something about it,please? Apart from this the extension is great. nice job!
verything seems to work fine except when I try to set up a matrix field type. The configuration options don’t appear below the field type drop down.Ah… forgot to mention that FF Matrix requires nGen’s CP jQuery extension to be enabled (comes bundled with EE).
I just checked and I have the CP jQuery 1.1.1 enabled and pointing to jqeury 1.3.2 and jQuery ui to 1.7.1
Hi Brandon,
As I suspected during our conversation yesterday, the problem was something to do with my setup – frankly, I still have no idea what.
Long story short, I deleted and then recreated a site in MAMP, reinstalled everything from scratch, and now it’s all working great. I suspect a typo or something equally stupid may have been the cause of the initial problem, but whatever it was I’m just glad it’s sorted.
Thanks for your patience, and for writing such a cracking extension.
Cheers, Stephen
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.