3 of 53
3
File
Posted: 02 November 2006 03:53 PM   [ Ignore ]   [ # 37 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  673
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 
Profile
 
 
Posted: 10 November 2006 04:40 PM   [ Ignore ]   [ # 38 ]  
Summer Student
Total Posts:  23
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 05:29 PM   [ Ignore ]   [ # 39 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  673
Joined  01-05-2006

great, glad you got it working

 Signature 
Profile
 
 
Posted: 10 November 2006 05:32 PM   [ Ignore ]   [ # 40 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  673
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 
Profile
 
 
Posted: 27 November 2006 08:22 PM   [ Ignore ]   [ # 41 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  277
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.

 Signature 

Twitter: @RobQuigley

Profile
 
 
Posted: 27 November 2006 10:12 PM   [ Ignore ]   [ # 42 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  673
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 
Profile
 
 
Posted: 27 November 2006 11:36 PM   [ Ignore ]   [ # 43 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  277
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

 Signature 

Twitter: @RobQuigley

Profile
 
 
Posted: 28 November 2006 02:53 AM   [ Ignore ]   [ # 44 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  673
Joined  01-05-2006

yup that’s it!

 Signature 
Profile
 
 
Posted: 29 November 2006 06:16 PM   [ Ignore ]   [ # 45 ]  
Summer Student
Total Posts:  16
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

Profile
 
 
Posted: 29 November 2006 07:33 PM   [ Ignore ]   [ # 46 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  277
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.

 Signature 

Twitter: @RobQuigley

Profile
 
 
Posted: 29 November 2006 07:39 PM   [ Ignore ]   [ # 47 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  673
Joined  01-05-2006

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

 Signature 
Profile
 
 
Posted: 30 November 2006 03:00 AM   [ Ignore ]   [ # 48 ]  
Summer Student
Total Posts:  16
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 12:12 PM   [ Ignore ]   [ # 49 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  673
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 
Profile
 
 
Posted: 03 December 2006 12:21 PM   [ Ignore ]   [ # 50 ]  
Research Assistant
RankRankRank
Total Posts:  324
Joined  06-13-2005

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

Thanks.

 Signature 

tulks.com | sparkframe.com (Powered by SparkFrame v.2)

Profile
 
 
Posted: 03 December 2006 12:23 PM   [ Ignore ]   [ # 51 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  673
Joined  01-05-2006

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

 Signature 
Profile
 
 
Posted: 03 December 2006 12:26 PM   [ Ignore ]   [ # 52 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  673
Joined  01-05-2006

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

 Signature 
Profile
 
 
Posted: 04 December 2006 01:18 AM   [ Ignore ]   [ # 53 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  277
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

 Signature 

Twitter: @RobQuigley

Profile
 
 
Posted: 07 December 2006 09:02 AM   [ Ignore ]   [ # 54 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  258
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 53
3