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

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

@Steve - Sorry! Forgot backspace isn’t in the official release yet (other changes need a bit more testing). Grab the latest commit at GitHub for it.

       
Steve Hurst's avatar
Steve Hurst
36 posts
16 years ago
Steve Hurst's avatar Steve Hurst

I grabbed the latest files from Git, and compared the files to the release version, and see there are differences, but my pipes aren’t going away so easily.

Here’s my code again:

{resource_file backspace="3"}<a href="http://{file}" title="{if title}{title}{if:else}Download{/if}">{if title}{title}{if:else}Download{/if}</a> | {/resource_file}
       
fireengine's avatar
fireengine
5 posts
16 years ago
fireengine's avatar fireengine

I’ve just started playing with FieldFrame and FF Matrix, and so far, I love it. But I do have one question: is there any way to limit the number of rows returned from the matrix? For example, let’s say that I have a matrix with 5 rows, but on a particular page, I only want to return the very first row. Any ideas?

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

@Steve Hurst - Ok, sorry for the delay… been working like crazy finishing up Playa 2 the last few days. Looks like I was mistaken about the backspace param… I had added it to another fieldtype, not FF Matrix. It’s in there now, on GitHub. (I promise!)

@fireengine - Yes, FF Matrix has a “limit” tag parameter that will do the job. (See http://wiki.github.com/brandonkelly/bk.fieldframe.ee_addon/ff-matrix)

       
fireengine's avatar
fireengine
5 posts
16 years ago
fireengine's avatar fireengine

D’oh… I completely missed that when reading the documentation. Thanks!

       
visionpoint's avatar
visionpoint
10 posts
16 years ago
visionpoint's avatar visionpoint

Hey man,

Fieldframe looks to be some awesome tech! Thanks for all the hard work.

I am having some issues getting it up and running for a university website we are working on.

(it is probably their environment, but I need help troubleshooting)

They are running PHP 5.2.6 and I have up to date jquery and jquery ui installed in the CP.

I created a FF Matrix field, but the

“Matrix Configuration Define your column names, and what cell type each should use.”

is empty. When I go back to edit a FF Matrix Field I have already created I am greeted with a PHP error.

Warning: Invalid argument supplied for foreach() in /afs/address.college.edu/web/c/comweb.v2/htdocs/hercules/extensions/fieldtypes/ff_matrix/ft.ff_matrix.php on line 293

I have tried reinstalling it as well as disabling and re enabling it.

Any ideas?

Thanks so much!

       
mdonohue's avatar
mdonohue
19 posts
16 years ago
mdonohue's avatar mdonohue

Hi, I am getting the same error as someone else who posted

Whenever I try to go to the extension manager I get this error…

Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in [my home folder]/extensions/ext.fieldframe.php on line 295

Any ideas?

My version of PHP is 5.2.9

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

@visionpoint - See http://getsatisfaction.com/brandonkelly/topics/ff_matrix_with_no_configuration and http://getsatisfaction.com/brandonkelly/topics/ff_matrix_renders_error_in_cp_and_sjows_no_rows_to_start_with

@mdonohue - That’s a PHP 4 error. (FieldFrame only supports PHP 5.) See http://getsatisfaction.com/brandonkelly/topics/error_when_loading_extension_page

       
Clearpeak's avatar
Clearpeak
413 posts
16 years ago
Clearpeak's avatar Clearpeak

Hi Brandon,

Can’t figure out what I’m doing wrong here. I’ve got FieldFrame, FF Matrix and Ngen file field installed and I’ve got all my fields set up but the tags aren’t outputting any results.

Any ideas?

{exp:weblog:entries weblog="fa" limit="1" author_id="CURRENT_USER" disable="categories|pagination|member_data|trackbacks"}
                <div class="consult">{title}, {fa-company}</div>
                <div class="secure-box">
                    <h2>Overview</h2>
                    <div class="company">
                        <h3>{fa-client-1}</h3>
                        <div class="company-box">
                            <ul>
                                                      {fa-client-1-docs}
                                <li><a href="http://{fa-client-1-file}">{fa-client-1-title}</a></li>
                             {/fa-client-1-docs}
                            </ul>
                        </div>
                    </div>
                </div>
{/exp:weblog:entries}

Thanks

       
Clearpeak's avatar
Clearpeak
413 posts
16 years ago
Clearpeak's avatar Clearpeak

I just tried using the single tag and that is outputting the table correctly. It’s just the tag pair that doesn’t seem to be working for me.

Here is a screenshot of the FF matrix field settings.

Thanks

       
Clearpeak's avatar
Clearpeak
413 posts
16 years ago
Clearpeak's avatar Clearpeak

Anyone have any ideas for me?

Thanks

       
Matt Weinberg's avatar
Matt Weinberg
489 posts
16 years ago
Matt Weinberg's avatar Matt Weinberg

Fodney– just to confirm: in your screenshot your matrix column names don’t have the “fa-” in front, but in the code you’ve provided they do. That is, check that you’re using client-1-file in the code instead of fa-client-1-file if that’s what the field settings look like.

       
Clearpeak's avatar
Clearpeak
413 posts
16 years ago
Clearpeak's avatar Clearpeak

I’m such a bone head. I knew it was something stupid.

Thank so much for catching that slapshotw.

I appreciate it.

       
Jason Morehead's avatar
Jason Morehead
454 posts
16 years ago
Jason Morehead's avatar Jason Morehead

I’ve been using FieldFrame on a current project, and it’s been a lifesaver. However, I’ve just run into a coupld of glitches/issues and I can’t seem to find any fixes, either on the EE forums or at GitHub.

The project I’m working on is using the MSM to manage two different sites, Site A and Site B. FieldFrame seems to be working just fine on Site A, but not on Site B. Specifically, I can’t seem to get the FF Matrix – which I’m using in conjunction with nGen’s Field Field to create a gallery of sorts – to work on Site A.

I verified that the FieldFrame extension is configured for both sites, and that all of the FieldFrame types are activated for both sites. And on Site A, I have this code in place to pull out the FF Matrix entries, and it works fine:

if prop_photos}
    {prop_photos limit="1"}
        {exp:imgsizer:size src="{prop_photo}" width="240" height="125" alt="{prop_photo_caption}"}
    {/prop_photos}
{/if}

Basically, “prop_photos” is my FF Matrix field. However, when I implement this code on Site B, everything seems to be working fine – the weblog data is being pulled out – with the exception of the above code. Instead of displaying the first row of data from “prop_photos”, all you see is “{prop_photos limit="1"} {/prop_photos}” rendered as plain text on the site.

On a somewhat related note, I’m using the FF Checkbox Group to allow users to check from a list of options for a specific entry. However, is there any way to search on what they check. For example, to display a list of entries that have “Option A” from the checkbox group checked? The “search” parameter of the {exp:weblog:entries} tag doesn’t work, and I’d really like to avoid doing custom DB queries.

       
running with scissors's avatar
running with scissors
147 posts
16 years ago
running with scissors's avatar running with scissors

any way to achieve xhtml formating within a textarea field in fieldframe, aside from marking up the text yourself?

       
First 2 3 4 5 6 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.