3 of 3
3
New FF Matrix Celltype: Copee Pastee
Posted: 18 May 2010 09:37 AM   [ Ignore ]   [ # 37 ]  
Summer Student
Avatar
Total Posts:  24
Joined  01-09-2008

Really like this little field type and had a quick play with it (EE 2.0.2 20100430).
Seems to be working very well so far.

Thanks!

 Signature 

Christofer
Republic Factory | @binarypassion

Profile
 
 
Posted: 18 May 2010 12:16 PM   [ Ignore ]   [ # 38 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1908
Joined  09-16-2004

Installed and tested on EE2 (build 20100430) using FF on Mac SL.
No issues, works like in EE1, double-click is a nice touch.

 Signature 

Peace, e-man.
stookstudio.com, websites built with care and web standards. I’m @erwinheiser

Profile
 
 
Posted: 19 May 2010 01:45 AM   [ Ignore ]   [ # 39 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  446
Joined  01-14-2006

Ok, version attached for EE1. Thrown together quite quickly so please get back to me if it does or doesn’t work as expected.

Tested on FieldFrame (v.1.4.2), Matrix 2.0.3 on ExpressionEngine 1.6.9

If you’ve got a masked cp, or your fieldtypes in a different folder than default, you’ll need to update the relative paths in the fieldtype.

If all good I’ll update the downloads available from my site with these versions,

[edit] removed attachment

thanks

 Signature 

Weblog | @iain | Taxonomy for EE2

Profile
 
 
Posted: 19 May 2010 01:11 PM   [ Ignore ]   [ # 40 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  526
Joined  09-06-2006

Infinite thanks for adding the click-to-copy feature.

I’ve been doing some quick tests on the EE1 version update you just posted and it looks like I have to save the entry before the click-to-copy works on any new rows in Matrix 2. Also, the order of the numbering (yes, the numbering is appearing again, thanks for that too) doesn’t update if the rows are reordered until save but it didn’t on previous versions either. Not a huge thing, but thought I should mention it.

Thanks for working on this.

 Signature 

Kyle Summer | smartpill design | New Haven, CT |  twitter

Profile
 
 
Posted: 19 May 2010 04:49 PM   [ Ignore ]   [ # 41 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  446
Joined  01-14-2006
smartpill - 19 May 2010 05:11 PM

I have to save the entry before the click-to-copy works on any new rows in Matrix 2.

What browser/OS you on? I don’t see this on recent FF or Safari on SL…

 Signature 

Weblog | @iain | Taxonomy for EE2

Profile
 
 
Posted: 19 May 2010 05:17 PM   [ Ignore ]   [ # 42 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  526
Joined  09-06-2006
iain - 19 May 2010 08:49 PM
smartpill - 19 May 2010 05:11 PM

I have to save the entry before the click-to-copy works on any new rows in Matrix 2.

What browser/OS you on? I don’t see this on recent FF or Safari on SL…

FF 3.6.3, but I did a little more testing. Looks like I have the issue when I put an mxImageManager Field after the Copee Pastee field. If I put it before (or in a Matrix without it) then the click-to-copy works in the additional rows.

 Signature 

Kyle Summer | smartpill design | New Haven, CT |  twitter

Profile
 
 
Posted: 19 May 2010 05:55 PM   [ Ignore ]   [ # 43 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  446
Joined  01-14-2006
smartpill - 19 May 2010 05:11 PM

Also, the order of the numbering (yes, the numbering is appearing again, thanks for that too) doesn’t update if the rows are reordered until save but it didn’t on previous versions either. Not a huge thing, but thought I should mention it..

The version attached here, for EE1 should update when you reorder.

I’ll need to submit a feature request to Brandon to add a callback for after onDeleteRow, at the moment the onDeleteRow callback happens too early and my js has no effect.

See how you go with this.

File Attachments
copee_pastee_EE1.zip  (File Size: 18KB - Downloads: 165)
 Signature 

Weblog | @iain | Taxonomy for EE2

Profile
 
 
Posted: 01 July 2010 09:25 PM   [ Ignore ]   [ # 44 ]  
Administrator
Avatar
RankRankRank
Total Posts:  380
Joined  09-02-2007

Does anyone have Matrix + File + Copee Pastee working for finding and replacing images in EE2? I had it working in EE1, but I’m a touch lost on how to do it in EE2 without LG Replace.

 Signature 

 

Profile
 
 
Posted: 01 July 2010 09:48 PM   [ Ignore ]   [ # 45 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  446
Joined  01-14-2006

My bad, this thread is a mess, haven’t had time to consolidate all the test versions I was throwing out there.

EE2 version is here

And I believe Leevi renamed LG Replace, its now NSM Transplant which you’ll find here.

 Signature 

Weblog | @iain | Taxonomy for EE2

Profile
 
 
Posted: 01 July 2010 10:02 PM   [ Ignore ]   [ # 46 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1336
Joined  01-24-2006

I did publish a new version but the readme is out of date. Some of the tags have changed so if you’re brave check the code.

 Signature 

EE-Garage.com - All my ExpressionEngine 2 Addons!


EE2 - NSM Better Meta - SEO Meta & XML Sitemap Generator
EE2 - NSM Live Look - Real entry previews


Newism - Newcastle - ExpressionEngine Experts

Profile
 
 
Posted: 01 July 2010 11:03 PM   [ Ignore ]   [ # 47 ]  
Administrator
Avatar
RankRankRank
Total Posts:  380
Joined  09-02-2007

Leevi, I think I understand, but mind looking to see if I’m following along properly?

{exp:nsm_transplant:body replacements="{page_images backspace='2'}image-{row_count}, {/page_images}"}

    {page_content}

    {page_images}
        {exp
:nsm_transplant:content id="image-{row_count}"}
            {exp
:imgsizer:size src="{image}" alt="{title}" width="100"}
        {
/exp:nsm_transplant:content}
    {
/page_images}

{
/exp:nsm_transplant:body} 
 Signature 

 

Profile
 
 
Posted: 01 July 2010 11:05 PM   [ Ignore ]   [ # 48 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1336
Joined  01-24-2006
{exp:nsm_transplant:body}

    {page_content}

    {page_images}
        {exp
:nsm_transplant:content id="image-{row_count}"}
            {exp
:imgsizer:size src="{image}" alt="{title}" width="100"}
        {
/exp:nsm_transplant:content}
    {
/page_images}

Inside of body context
{image
-1} {image-2} etc.

{/exp:nsm_transplant:body}

Outside of body context
{exp
:nsm_transplant:output="image-1"}
{exp
:nsm_transplant:output="image-2"
 Signature 

EE-Garage.com - All my ExpressionEngine 2 Addons!


EE2 - NSM Better Meta - SEO Meta & XML Sitemap Generator
EE2 - NSM Live Look - Real entry previews


Newism - Newcastle - ExpressionEngine Experts

Profile
 
 
Posted: 03 July 2010 06:06 PM   [ Ignore ]   [ # 49 ]  
Administrator
Avatar
RankRankRank
Total Posts:  380
Joined  09-02-2007

When I tried that code I got this error: “Fatal error: Call to undefined function array_ids() in /private/var/www/cfnrv/manage/expressionengine/third_party/nsm_transplant/pi.nsm_transplant.php on line 57”

Also, it seems as if you’ve changed the functionality of LG Replace when it changed to NSM Transplant to something more like Reeposition. Is that the case?

 Signature 

 

Profile
 
 
   
3 of 3
3