3 of 42
3
File
Posted: 02 November 2006 01:53 PM   [ Ignore ]   [ # 37 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1195
Joined  01-05-2006

It’s supersusie who made the publish improve extension which will be updated soon, thank him for his continued efforts also.

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 10 November 2006 02:40 PM   [ Ignore ]   [ # 38 ]  
Summer Student
Total Posts:  19
Joined  07-20-2006

—EDIT—

Belay that, I neglected to pick a directory when specifying the field. Works now…

Thanks,
- Andrew

Hello,

Extension sounds great, but I have this SQL error when I try to edit an entry that uses the custom ‘File’ field type:

MySQL ERROR:

Error Number: 1064

Description: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘’ at line 1

Query: SELECT url FROM exp_upload_prefs WHERE id=

using v.1.0.8

thanks

Profile
 
 
Posted: 10 November 2006 03:29 PM   [ Ignore ]   [ # 39 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1195
Joined  01-05-2006

great, glad you got it working

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 10 November 2006 03:32 PM   [ Ignore ]   [ # 40 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1195
Joined  01-05-2006

I switched it around anyway, just to protect against that error.  Grab 1.0.9 at the top of the thread.

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 27 November 2006 06:22 PM   [ Ignore ]   [ # 41 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  427
Joined  10-10-2004

This extension is awesome and going to be a staple in my EE CMS usage.

Just an fyi though - I received one error notification under a specific scenerio: When a new field group is created and the “File” field is the first field that is added to the group, I receiving the following message -

Notice: Undefined variable: field_type in */system/cp/cp.publish_ad.php on line 5404

When I created a new field group and a different custom field is added first and then the “File” field after that, the above message does not appear.

Profile
 
 
Posted: 27 November 2006 08:12 PM   [ Ignore ]   [ # 42 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1195
Joined  01-05-2006

This is a problem with the way EE is written.  Read more here: http://expressionengine.com/forums/viewthread/38843/#181791

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 27 November 2006 09:36 PM   [ Ignore ]   [ # 43 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  427
Joined  10-10-2004

Thanks for the quick response. In what file is that Edit Field Group page found. I was looking in the CP directory and not sure which file I’d hunt for that code. I’ll hunt for it but if you know off hand, that would be great.

update: Found it in publish_ad.php

Profile
 
 
Posted: 28 November 2006 12:53 AM   [ Ignore ]   [ # 44 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1195
Joined  01-05-2006

yup that’s it!

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 29 November 2006 04:16 PM   [ Ignore ]   [ # 45 ]  
Grad Student
Rank
Total Posts:  64
Joined  01-31-2002

thank you mark, for this extension. seems really useful.
I have a problem with ee 1.5.1 and the file-extension 1.0.9

when using the upload field, no other entry field is accessible and every click creates a further upload-field (see attached screenshot).
this only happens when a file is choosen via the browse button. seems like a javaScript problem. any idea?

oh, seems that it only affects ie(v.7 on winXP). it works perfect under firefox.
has anyone experiences with the file-extension on safari and ie?

regards
martin

Image Attachments
file-extension.gif
Click thumbnail to see full-size image
Profile
 
 
Posted: 29 November 2006 05:33 PM   [ Ignore ]   [ # 46 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  427
Joined  10-10-2004

It seems to work fine for me in FF and IE7 xp. In the Extension settings do you have Allow Multiple Files set to yes or no? If yes, it will create another file select browse box after uploading the previous file. I’m not sure if you are seeing that as the error or if there is something more problematic happening. Sounds like maybe the latter though.

Profile
 
 
Posted: 29 November 2006 05:39 PM   [ Ignore ]   [ # 47 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1195
Joined  01-05-2006

This may be a bug with IE7 (surprised?).  I can look into a fix in the next version.

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 30 November 2006 01:00 AM   [ Ignore ]   [ # 48 ]  
Grad Student
Rank
Total Posts:  64
Joined  01-31-2002

thanx for your reply.

yes, I configured the extension for Multiple Files, and it`s ok that another file select browse box is created after uploading the previous file. But every further klick creates another one, other custom-fields aren`t clickabel (results in one more select browse box), never the submit-button.

but i´m glad to hear that other xp/ie7-setups work like yours rob. I`ll upgrade my ie7, it`s still a early beta. it works perfect for me with ie6 /firefox 1.5 /opera 8.51 and I`m really astonished about your effort, mark. Your extensions are really cool. I think 2006 will get a power-boost year for ee-extensions cuz you joined this community.

is there a thread for your mult-reference extension? this causes a blank page when calling the containing publish-form.

rg
martin

Profile
 
 
Posted: 03 December 2006 10:12 AM   [ Ignore ]   [ # 49 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1195
Joined  01-05-2006

I’ve updated the extension to 1.1.0.  It fixes just a few small bugs where incomplete URL’s were being added to the template where no image was uploaded.  Also if you’re using this extension in the SAEF you’ll have to modify your mod.weblog_standalone.php file within the /system/modules/weblog/ folder.  Find the following line:

$data = array(
'hidden_fields' => $hidden_fields,
'action'        => $RET,
'id'            => 'entryform',
);

and add this line

'enctype' => 'multipart/form-data'

so it looks something like this

$data = array(
'hidden_fields' => $hidden_fields,
'action'        => $RET,
'id'            => 'entryform',
'enctype'        => 'multipart/form-data'
);

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 03 December 2006 10:21 AM   [ Ignore ]   [ # 50 ]  
Research Assistant
RankRankRank
Total Posts:  986
Joined  06-13-2005

Should I upload /icons/.svn/ from the ZIP?

Thanks.

 Signature 

tulks.com

Profile
 
 
Posted: 03 December 2006 10:23 AM   [ Ignore ]   [ # 51 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1195
Joined  01-05-2006

Nope, you can delete that, I forgot to myself.

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 03 December 2006 10:26 AM   [ Ignore ]   [ # 52 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1195
Joined  01-05-2006

It’s since been deleted from the zip.  Thanks sigork.

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 03 December 2006 11:18 PM   [ Ignore ]   [ # 53 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  427
Joined  10-10-2004

I just ran into this problem on two test installs: it’s repeated for several fields that I created -

Notice: Undefined index: field_id_22 in /*/system/extensions/ext.file.php on line 534

UPDATE: Ok, So I took out the following code and the error message went away. I take it then I may have coded it in a way that is causing a result that produces this error - ?

{!-- HEADLINE ARCHIVE IMAGE & RELATED NEWS LINK --}
{if
:elseif ts_image_archive != "0" AND ts_related_news != "0"}
{related_entries id
="ts_related_news"}<a href="{permalink="news/index"}">{/related_entries}{related_entries id="ts_image_archive"}<img src="{image_archive}" border="0">{/related_entries}</a>

{!-- HEADLINE ARCHIVE IMAGE & CUSTOM URL LINK --}
{if
:elseif ts_image_archive != "0" AND ts_open_field_link != ""}
<a href="{ts_open_field_link}">{related_entries id="ts_image_archive"}<img src="{image_archive}" border="0">{/related_entries}</a>


{!-- HEADLINE ARCHIVE IMAGE & NO URL --}
{if
:elseif ts_image_archive != "0" AND ts_open_field_link == "" AND ts_related_news == "0"}
{related_entries id
="ts_image_archive"}<img src="{image_archive}" border="0">{/related_entries}

So what I am doing above is checking to see if the related field is selecte and pulling in a related weblog custom field that uses the “File” upload. When I take the related custom fields out a notice goes away each time

{related_entries id="ts_image_archive"}<img src="{image_archive}" border="0">{/related_entries}



Update: looks like there is a similar problem on another extension using related content:
here

Profile
 
 
Posted: 07 December 2006 07:02 AM   [ Ignore ]   [ # 54 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  499
Joined  09-16-2004

Sorry if this has been covered already, and I suspect the answer is ‘no’, but…

Is there any conceivable way that it would be possible to add extra metadata for each file upload?  The reason why is that I’d like to add a specific alt attribute value for each image. Also, I’m incorporating this with the Lightbox technique which requires a title attribute to create a caption for each image.

As I say, I suspect there’s no feasible way of doing this, beyond going back to having multiple fixed custom text input fields (img1, img1_caption, img2, img2_caption, etc)

Thanks, Dave

 Signature 

Definition // Simply effective websites - web design based in Hull and East Yorkshire

Profile
 
 
   
3 of 42
3
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 66505 Total Logged-in Users: 67
Total Topics: 84942 Total Anonymous Users: 49
Total Replies: 455760 Total Guests: 285
Total Posts: 540702    
Members ( View Memberlist )
Newest Members:  michael.miao5TEadesHaigiedigital1ChuckRBuckskinhagsspmckeeTandemodusgeorgefromohio