I am unsure if I’ve come across a bug or whether I am implementing this incorrectly. When I use a conditional with FF Matrix EE still outputs the contents of what’s inside even when the conditional is unmet. Example:
{exp:weblog:entries weblog="mysection"}
{if cf_products_matrix}
<ul>
{cf_products_matrix}
<li>{cell_1}</li>
{/cf_products_matrix}
</ul>
{/if}
{/exp:weblog:entries}
Outputs:
<ul>
<li></li>
</ul>
Whereas, in this case, I would expect the output should be empty.
Suggestions?
I am using EE 1.6.7, FieldFrame 1.0.0 and FF Matrix 1.0.0.
For people who use EngineHosting - do not activate the FF Matrix. EH not support JSON at this moment :(. So u just will see the fatal error :(.
Just released FieldFrame 1.0.1, which fixes that issue.
Just released 1.0.1, which fixes that issue.
Thanks! 😊 It solved my problem, now I have a dozen new uses for the extension.
One thing though, I am using FF matrix to store a link list for the entry, one of the fields is obviously an url, the problem is that the tag doesn’t parse inside of <a href=”{shortname}”> , the other tags work just fine, apparently the issue is that this one is contained within “”. Is there a work around that I’m not seeing? I can’t use {path=} … so I have to rely on your wisdom again. 😊
And thanks for correcting the entities problem, you don’t image the help you gave me.
I am using FF matrix to store a link list for the entry, one of the fields is obviously an url, the problem is that the tag doesn’t parse inside of <a href=”{shortname}”> , the other tags work just fine, apparently the issue is that this one is contained within “”.
Sorry, didn’t see this post. That issue was fixed in FieldFrame 1.0.2 yesterday.
I am unsure if I’ve come across a bug or whether I am implementing this incorrectly. When I use a conditional with FF Matrix EE still outputs the contents of what’s inside even when the conditional is unmet.
This has been fixed in FieldFrame 1.0.3.
We are running into a javascript error that appears to prevent the adding of additional columns to the matrix field type. We have installed the latest FieldFrame extension - version 1.0.3. The jQuery for the Control Panel - v.1.1.1 extension is enabled and points to the latest Jquery scripts: http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js and http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.1/jquery-ui.min.js. Our version of EE is 1.6.7 and our PHP version is 5.2. Below is the JS error shown in firebug:
$(rows[0]).sortable is not a function
(?)()()jquery.s...ttable.js (line 37)
nodeName()()jquery.min.js (line 21)
filter()()jquery.min.js (line 12)
sorttable()()jquery.s...ttable.js (line 7)
ffMatrixConf()()jquery.f...x_conf.js (line 134)
nodeName()()jquery.min.js (line 21)
filter()()jquery.min.js (line 12)
ffMatrixConf()()jquery.f...x_conf.js (line 10)
(?)()()index.ph...eld_id=78 (line 2911)
ready()()jquery.min.js (line 26)
trigger()()jquery.min.js (line 25)
[Break on this error] stop: function(event, ui) {
We can create the fields within the matrix cells and display the content using the tags within our templates. However, while we can delete columns, we can not add columns to this field type.
Is anyone else running into this error or have any ideas on how to resolve it?
Thank you for your suggestion Brandon. The problem is a conflict with another extension.
I disabled all of the extensions except for fieldframe and verified that the js conflict was gone and that I was able to add columns to the matrix field. At that point I began enabling each extension one by one until I located the conflict.
In our specific situation, the conflict is between fieldframe and the Playa extension. But, I should qualify my statement by explaining that the conflict is probably due to a modification I made to your extension in order to provide category filtering for related content, at the request of my manager. To meet this requirement, I added Ajax functionality to filter the category selection based on the site and weblog selection.
The conflict is most likely due to the including of JQuery more than once. I used the publish_admin_edit_field_js hook to add my Ajax functionality to Playa.
Playa is a fantastic extension and we are using this as a standard feature for related content on all of our sites. Any chance you might be adding category filtering to it?
Once I correct the issue we will also implement the fieldframe extension as well. Again, thank you for your help.
Hi all, I’m not doing too well at all!
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?
EDIT: My version of PHP is 4.4.9 :shut:
Brandon - this extension has saved my life. It came with perfect timing for my current project, thanks for the hard work.
I’m having a weird issue with FF Matrix outputting the row_count incorrectly. I’m trying to use the following code:
{if row_count != total_rows} | {/if}
But my row count goes from 1 to 3 to 5, etc. My total rows reports as 2, but I’m getting 1,3 as my row counts. Is this expected behavior? This is on a matrix with 2 columns.
Thanks for the quick response! The following code:
{resource_link backspace="3"}<a href="http://{url}" title="{if title}{title}{if:else}Visit External Site{/if}" target="_blank" rel="noopener">{if title}{title}{if:else}Visit External Site{/if}</a> | {/resource_link}
Doesn’t result in that pipe being removed on the final row… I feel like there’s something off in my logic…
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.