@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.
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}
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?
@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)
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!
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
@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
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
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.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.