Right, I have a small question. Is there a simple edit interface screen for images?
I want to create a system whereby a user can replace a single 'predesignated' image with a new version of that image at the click of a button.
Basically, I want to get access to the ‘details’ screen you can find in the backend, but display it in a simple edit way.
Is that possible?
[quote]Right, I have a small question. Is there a simple edit interface screen for images?
I want to create a system whereby a user can replace a single ‘predesignated’ image with a new version of that image at the click of a button.
Basically, I want to get access to the ‘details’ screen you can find in the backend, but display it in a simple edit way.
Is that possible?[/quote]
Check out this post: http://forums.matrix.squiz.net/index.php?showtopic=4922
And I think the only way to replace a file on not using the admin interface, is to use the Custom Form asset, as it has options for replacing or overwriting files, rather than creating new ones like an asset builder would do.
No, you can expose the details screen for Image and other file based assets by using http://www.rooturl.com/_edit?limbo_assetid=1234, where 1234 is the asset ID of the file-based image you want to edit. Using Layouts, you can expose the file upload section of the details screen, which would allow users with appropriate permission (obviously) to replace the existing image.
Ah yes. You are right. I was thinking through the front end, rather than through Simple Edit.
Genius.
And I assume it’s http://www.rooturl.com/_edit?limbo_assetid=1234&ignore_frames=1 ?
So that works perfectly, but is there any way I can limit what the users see. Avi you say:
[quote]Using Layouts, you can expose the file upload section of the details screen[/quote]
Where can I edit the layout of the details screen? All I want to do is give the basics to the file upload screen.
Normally I would just crush it with CSS but the edit screen shares classes on all elements like
Any ideas?
You need to create a Layout asset and then use the Layout Manager to apply it to the Details screen of the Image asset type. I've been trying to find the manual that talks about Simple Edit layouts, but I'm not having much luck at the moment. :(
Ok, that works. But I'm getting a very weird note when users change the image. It has something to do with the trigger I have made to create a smaller image variety. Do you know where I should be looking to get rid of this:
Try setting "Ignore Permissions" on the trigger, see if that helps.
Same thing. Any other ideas? It works fine if you have not cloned or moved the image asset you're updating.
Sorted it out and is on fire B)
Duncan – if you remove the files in data/private/temp, you'll get rid of the "Chose Pre-Uploaded File" button.
Or just hide it with CSS.
Cool, how do I get to data/private/temp?
You need filesystem access to your server to do this.
Ah. Raf?