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

stinhambo's avatar
stinhambo
1,268 posts
16 years ago
stinhambo's avatar stinhambo
I’m also wondering if there is a way to apply the XHTML or formatting filter to FF Matrix text areas. At the moment, users must write their markup in text areas, but not all users will remember to wrap their paragraphs with the tags, for example. Other possibility: is there a plugin that I could use in my templates which would add XHTML formatting to a text area part of a FF matrix?

I did this -

{exp:textile}{cell_name}{/exp:textile}

And it works fine! Granted there are no formatting buttons but a link to the Textile reference page is not a big deal until TEH works with Matrix 😉

       
Manoj Thomas's avatar
Manoj Thomas
185 posts
about 16 years ago
Manoj Thomas's avatar Manoj Thomas

Does anybody have any experience importing data into a FF Matrix field? I have a regular FF Matrix field consisting of 9 columns (the data is all text) and I’m hoping to find a way to automatically import rows from a spreadsheet. Possible?

Thanks in advance! Manoj

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

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.

       
anthonys's avatar
anthonys
54 posts
about 16 years ago
anthonys's avatar anthonys

Does anyone know of a way where I can essentially have ({row_count} + a set number) ?.

I have 3 individual text boxes on an saef above the matrix field. Each is numbered 1 - 3.

I want the matrix to be able to start at 4 instead of 1. All I would need to do is something like {row_count} + 3

Anyone know how I can do this?

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

Check out the Simple Math plugin.

       
anthonys's avatar
anthonys
54 posts
about 16 years ago
anthonys's avatar anthonys

That plugin worked perfectly. Thank you Brandon!

       
Brian Litzinger's avatar
Brian Litzinger
693 posts
about 16 years ago
Brian Litzinger's avatar Brian Litzinger

Is there a way to print the column label without using the :table method? e.g.

{product_details}
    <li>{ff_label_size} {size}</li>
    <li>{ff_label_dimensions} {dimensions}</li>
{/product_details}

I don’t see anything in the documentation about how to do this… is it available? I can always just do Size: {size}, but what fun is that?

       
hothousegraphix's avatar
hothousegraphix
851 posts
about 16 years ago
hothousegraphix's avatar hothousegraphix

Just wondering if anyone has successfully imported data via CSVGrab to a weblog where FF Matrix has been incorporated.

I’m going to guess this isn’t currently possible but if someone has been able to achieve I’m quite curious how?

Thanks

       
LucPestille's avatar
LucPestille
146 posts
about 16 years ago
LucPestille's avatar LucPestille

Does FF Matrix have any issues with MSM? I’m trying to pull in a simple set of images on a secondary site, but don’t seem to be able to get anything out (bar the {title};

{exp:weblog:entries site="default_site" weblog="photo_gallery_rag" sort="desc" disable="member_data|categories|trackbacks" limit="8" paginate="bottom"}

                {paginate}
                Page {current_page} of {total_pages} {pagination_links}
                {/paginate}
{photo_gallery}
                <div class="art">
                
                    <a href="http://{url_title_path=photo-gallery/view}" title="{title}">_                    {exp:imgsizer:size image="{photo_file}" width="215" height="160" alt="{photo_caption}" base_path="../images/uploads/" base_cache="../images/sized/images/uploads/"}</a>
                    <h3><a href="http://{url_title_path=photo-gallery/view}" title="{photo_caption}">{photo_caption}</a></h3>

                </div>
{/photo_gallery}
            {/exp:weblog:entries}

Anyone have any ideas?

Thanks,

       
LucPestille's avatar
LucPestille
146 posts
15 years ago
LucPestille's avatar LucPestille

Anyone have any ideas? I don’t want to use the gallery plugin really, it’s overkill for what I need…

       
fostermade's avatar
fostermade
97 posts
15 years ago
fostermade's avatar fostermade

Is the FF Matrix js processing every table cell? If so, any thoughts on if that is necessary and where in the js to disable it? I’m having issues with larger grids failing to load completely because the js is taking too long. All cell types are text.

– Edit Answered my own question. bye bye FF Matrix.

       
LucPestille's avatar
LucPestille
146 posts
15 years ago
LucPestille's avatar LucPestille
Does FF Matrix have any issues with MSM? I’m trying to pull in a simple set of images on a secondary site, but don’t seem to be able to get anything out (bar the {title}); …

The latest version of FieldFrame sorted this for me (I was running 1.1.2)…

       
lukemcr's avatar
lukemcr
154 posts
15 years ago
lukemcr's avatar lukemcr

I’m getting the “Your fieldtypes folder path is invalid.”, even though I know the path is correct. My fieldtypes folder is at /httpdocs/admin/extensions/fieldtypes/, and that’s what I’ve put in the FieldFrame extensions field for “Path to your ‘fieldtypes’ folder”.

Permissions for the extensions and fieldtypes folders are chmodded to 777, and I’m running FF 1.3.4. The URL to the fieldtypes folder points to the same folder: http://www.example.com/admin/extensions/fieldtypes/

Any ideas?

This just happened, after a server move.

       
lukemcr's avatar
lukemcr
154 posts
15 years ago
lukemcr's avatar lukemcr

This is only a problem on Plesk, I guess: you need to specify the full path to your fieldframes folder. (You can’t see it unless you’re logged in as root.)

I changed my path to /var/www/vhosts/example.com/httpdocs/admin/extensions/fieldframe/ and it worked. FWIW, I turned safe_mode to off for the domain, too.

Anyway, it works.

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

Hi,

Does anyone know if there is a fieldframe field for pulling in a category group. I see a couple for gallery categories but none for regular cats. I’d like to be able to categorize a FF matrix row.

Thanks

       
First 8 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.