We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

FieldFrame

Development and Programming

Stephen Lewis's avatar
Stephen Lewis
466 posts
16 years ago
Stephen Lewis's avatar Stephen Lewis

Thanks for all your work on this Brandon, it’s a cracking extension.

Cheers, Stephen

       
Stephen Lewis's avatar
Stephen Lewis
466 posts
16 years ago
Stephen Lewis's avatar Stephen Lewis

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

       
Brandon Kelly's avatar
Brandon Kelly
257 posts
16 years ago
Brandon Kelly's avatar Brandon Kelly

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.)

       
Stephen Lewis's avatar
Stephen Lewis
466 posts
16 years ago
Stephen Lewis's avatar Stephen Lewis

Thanks for the reply Brandon. That’s what I’ve been using, to no avail…

I’ll try it out on another installation, see how I get on.

Cheers, Stephen

       
Stephen Lewis's avatar
Stephen Lewis
466 posts
16 years ago
Stephen Lewis's avatar Stephen Lewis

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 Kelly's avatar
Brandon Kelly
257 posts
16 years ago
Brandon Kelly's avatar Brandon Kelly

That all looks right… IM me and I can try to help you sort it out.

       
Stephen Lewis's avatar
Stephen Lewis
466 posts
16 years ago
Stephen Lewis's avatar Stephen Lewis
That all looks right… IM me and I can try to help you sort it out.

Thanks Brandon. I’ve sent you a DM via Twitter with my IM details. And other acronyms.

Stephen

       
Sean C. Smith's avatar
Sean C. Smith
3,818 posts
16 years ago
Sean C. Smith's avatar Sean C. Smith

I just installed this in order to play with n_gen file field.

Everything 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.

       
Brandon Kelly's avatar
Brandon Kelly
257 posts
16 years ago
Brandon Kelly's avatar Brandon Kelly
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).

       
IsabelS's avatar
IsabelS
27 posts
16 years ago
IsabelS's avatar IsabelS

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!

       
Sean C. Smith's avatar
Sean C. Smith
3,818 posts
16 years ago
Sean C. Smith's avatar Sean C. Smith
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

       
Stephen Lewis's avatar
Stephen Lewis
466 posts
16 years ago
Stephen Lewis's avatar Stephen Lewis

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

       
stinhambo's avatar
stinhambo
1,268 posts
16 years ago
stinhambo's avatar stinhambo

Hey Brandon,

Do you know if it’s possible to program one of the FF Matrix cells to be a relationship field?

       
Brandon Kelly's avatar
Brandon Kelly
257 posts
16 years ago
Brandon Kelly's avatar Brandon Kelly

@stePHen - Awesome. Glad you got that sorted out!

@steVen - soon 😉

       
stinhambo's avatar
stinhambo
1,268 posts
16 years ago
stinhambo's avatar stinhambo

w00t! Might help me out immensely. I will be willing to pay for some development to help grease the wheels on this one. Proper purchase order and all!

       
1 2 3 4 Last

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.