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

artminister's avatar
artminister
159 posts
15 years ago
artminister's avatar artminister

Hi Brandon,

Is it possible to use conditionals for every row in the fieldframe, like for eg:

{tooltips}
{if tooltip_content=='')no content here{/if}
{/tooltips}
       
aro's avatar
aro
2 posts
15 years ago
aro's avatar aro
Hi Manoj, The way FF Matrix stores its data is pretty straightforward – it’s just a serialized multidimensional array:
array(
  array(
    '1' => 'row 1, column 1 data',
    '2' => 'row 1, column 2 data'
  ),
  array(
    '1' => 'row 2, column 1 data',
    '2' => 'row 2, column 2 data'
  )
);
(Sub-array indexes link to the column IDs defined by the FF Matrix configurator in the field settings.) So, it would be pretty simple to write a script that imports your custom dataset into an FF Matrix field, with a little bit of PHP know-how.

Hi Brandon,

this is exactly what I would like to do when prepopulating a FF Matrix Field on a SAEF. I have tabular data coming from a 3rd-Party Shoppingcart (via PHP) and would like to transform them via SAEF into EE entries. Just have no clue how the script must look like 😕

       
hothousegraphix's avatar
hothousegraphix
851 posts
15 years ago
hothousegraphix's avatar hothousegraphix

I seem to be having what I would assume is “caching” trouble with the FF Matrix field type when fields within the matrix have been reconfigured (or deleted) and my rendered templates continuing to spit out the data originally saved in my entries regardless of the fact that my field data has been changed.

I can confirm that I am not caching my templates. I can also confirm that though I’ve cleared both my “system” cache and “browser” caches the trouble persists. I have tested in FF, chrome, and safari and the trouble is consistent across all three.

I’ve also tried simply disabling and re-enabling the Matrix fieldtype and then the FF extension itself with no success.

This certainly seems like it would be a caching issue but I’m lost on how to resolve beyond the steps I’ve taken.

Any advise/guidance would be greatly appreciated.

Using FF 1.3.4 EE 1.6.8 build 20090723

Thanks

       
Jeremy Latham's avatar
Jeremy Latham
74 posts
15 years ago
Jeremy Latham's avatar Jeremy Latham

MSM, Fieldframe & Search: compatibility across sites. Has this been resolved yet?

       
Danny T.'s avatar
Danny T.
426 posts
15 years ago
Danny T.'s avatar Danny T.

According to the documentation foe FieldFrame on Brandon’s website, there exists a new parameter “search:speaker_confirmed=”yes”.

Does anybody know what this does and how to use it? I’m perplexed by how I would use them with comparison operators such as >, <, >=, <=. The parameter can be found here.

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

Hey Danny,

For the most part, the search: parameter mimics the one for exp://weblog:entries]exp:weblog:entries, except it searches Matrix rows rather than all entry data. Here’s an example of using ‘>=’

{my_matrix search:column_name=">=10"}

Hope that makes sense.

       
Aquarian Web Studio's avatar
Aquarian Web Studio
193 posts
15 years ago
Aquarian Web Studio's avatar Aquarian Web Studio

HEy there,

Thanks for all your hard work developing this plugin. Hopefully you can help me? I’m having a slew of issues getting it to work.

Firstly, running 1.6.8, and all mentioned downloads except for ee happened today, so they are über-current.

Am using fieldtypes for ngen_file_field. Installation appeared to go smoothly as I am able to add all fields activated to blogs. ngen uploads files.

But then I noticed that whatever depends on Jquery (which is activated) does not work. Nor do I have some important images. For instance: (screenshot1)

I’m unable to delete the file as the link just goes to “#”. The delete image is also missing.

I tried to enable the matrix to see if that would work, and in creating the matrix, though I was allowed to create it, i was just allowed to set up rows, not define columns: (screenshot2)

Then, predictably, when I went back to the publish screen with my unfinished matrix, i got the following errors

Warning: array_keys() [function.array-keys]: The first argument should be an array in (correct_path)extensions/fieldtypes/ff_matrix/ft.ff_matrix.php on line 472

Warning: Invalid argument supplied for foreach() in (correct_path)extensions/fieldtypes/ff_matrix/ft.ff_matrix.php on line 478

Warning: Invalid argument supplied for foreach() in (correct_path)extensions/fieldtypes/ff_matrix/ft.ff_matrix.php on line 516

I’m not sure what to do as every permission i have checked is 755 and has been applied to all enclosed items multiple times.

In any case, if this looks like a symptom of anything painfully obvious, please feel free to clue me in. I’m lost! Otherwise, I could really use a hand at your convenience. Thanks!

       
John Macpherson's avatar
John Macpherson
113 posts
15 years ago
John Macpherson's avatar John Macpherson

I was getting an error on a local server with Fieldframe 1.3.5

Warning: Parameter 3 to Fieldframe_Main::weblog_entries_tagdata() expected to be a reference, value given in C:\web\site\extensions\ext.fieldframe.php on line 238

All my searches led to replies saying running php4 which i wasnt.

HERE IS THE FIX:

This is a known issue that just started cropping up, and will be fixed in the next release. For the time being, find this line in ext.fieldframe.php:
function weblog_entries_tagdata($tagdata, $row=array(), &$weblog=NULL)
and change it to:
function weblog_entries_tagdata($tagdata, $row=array(), $weblog=NULL)

From a FieldFrame Get Satisfaction link

This may help other people with the same problem.

       
Aquarian Web Studio's avatar
Aquarian Web Studio
193 posts
15 years ago
Aquarian Web Studio's avatar Aquarian Web Studio
I’m not sure what to do as every permission i have checked is 755 and has been applied to all enclosed items multiple times. In any case, if this looks like a symptom of anything painfully obvious..

This requires 2 path settings. For some reason only one had been set correctly, the one detailed in the errors. I figured this out by adding obscenely-wrong characters to what ended up being the incorrect path setting and nothing changed.

Hope this helps someone.

       
tsiger's avatar
tsiger
8 posts
15 years ago
tsiger's avatar tsiger

Any updates on the search option for Multiselect?

       
heaversm's avatar
heaversm
197 posts
15 years ago
heaversm's avatar heaversm

I get a blank white screen when accessing the extension manager when I install fieldframe 1.3.5 - I’m on godaddy hosting - any clue of what might be going wrong?

       
Sky Small Projects's avatar
Sky Small Projects
10 posts
15 years ago
Sky Small Projects's avatar Sky Small Projects

Has anyone found a fix for the below ❓

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
       
Brian M.'s avatar
Brian M.
529 posts
15 years ago
Brian M.'s avatar Brian M.

So I was hoping someone could point me in the right direction - I’ve read through this thread and been looking through the FF docs but can’t seem to wrap my head around what I need to do (lack of sleep doesn’t help either!)

When I’m making a SAEF that has FF fields in it, what is the easiest way to get the name and instructions for each field to show up? Does anyone have an example? It seems like there’s got to be something I’m missing…

Thanks!

       
Matt Weinberg's avatar
Matt Weinberg
489 posts
15 years ago
Matt Weinberg's avatar Matt Weinberg
Has anyone found a fix for the below ❓

I would double and quadruple check that the paths in the fieldframe settings are correct.

       
Brett DeWoody's avatar
Brett DeWoody
140 posts
15 years ago
Brett DeWoody's avatar Brett DeWoody

I’m seeing the same issue as above. Basically a separate custom field loop (like from a FF Multi-Select), or any other separate custom field, isn’t being parsed if its within a FF Matrix loop. I’ve tried a “parse=’inward’” but that doesn’t seem to do the trick.

       
First 9 10 11 12

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.