4 users online. Create an account or sign in to join them.Users

Search

Going back to something I mentioned at London Symposium, I really need an extension developing.

My Problem

The situation I am in is that I have a site to build that will contain 900,000 possible assets (images). The current method of storing these is in nested folders as

country/region/resort/accommodation

Symphony’s current method is to store all uploaded images into predefined folders, with no dynamics at all.

My Needs

What I’m looking for is a file upload field based on Michael’s unique upload field, incorporating functionality from Ronan’s reflection field. So, the upload field would require an extra box for the developer to specify fields from within the entry, to get additional folder names from a-la

/{entry/country}/{entry/region}/{entry/resort}/{entry/accommodation}

So the user would choose the base folder, as is currently done, then specify the dynamic part, which would need creating if not already there. As I am a rubbish PHP developer with only a basic knowledge, this is way too much for me. I can’t even get my head around how to incorporate these functions together.

Is anyone up to the challenge? I reckon it would be a great addition to the community and would be useful for many people…

Is anyone up to the challenge?

Totally. I think this would be pretty straightforward to extend the File Upload field and convert the “Destination” dropdown (list of directories) into a text input that accepts XPath. I’m happy to give this a try.

I was thinking of having the dropdown still in place and appending to it. Up to you though if you’re gonna do it ;)

I think you may have already left when I mentioned this at Symposium…

I think you may have already left when I mentioned this at Symposium…

Most likely. My attendance was all-too brief that weekend :-(

Nick, have you been able to look into this? I know you’re busy…

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.2 or above
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.0 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details