TOPIC:

Dynamic Filenames and Folders for Uploads 7 years 2 months ago #120132

  • Topic Author
  • lennerd
  • Offline
  • Developer
  • Developer
  • Posts: 4669
  • Karma: 72
  • Thanks: 411
Folder and file masks may be used in the upload folder setup (for example in upload fields or the default upload path in the BF configuration).

FOLDER MASKS EXAMPLE:

{ff_uploads}/{username}/{date}|

Possible Result:

/path/to/site/media/breezingforms/uploads/admin/2014-07-01/

Possible placeholders:

{userid}
{username}
{name}
{date}
{datetime}
{FIELDNAME:value}

FILE MASKS EXAMPLE:

{ff_uploads}/{filemask:_username}{filemask:_separator}{filemask:_datetime}

Possible Result:

/path/to/site/media/breezingforms/uploads/admin_2014-07-01_35:59:59.png

{filemask:FELDNAME}
{filemask:_separator}
{filemask:_username}
{filemask:_userid}
{filemask:_name}
{filemask:_datetime}
{filemask:_timestamp}
{filemask:_random}

COMBINED FOLDER AND MASKS EXAMPLE:

{ff_uploads}/{date}|{filemask:_username}

Possible Result:

/path/to/site/media/breezingforms/uploads/2014-07-01/admin.png
Regards,
Stefan

===============================================
Satisfied? Consider a membership!
===============================================
Like us on Facebook
===============================================
Follow us on Twitter
===============================================
The following user(s) said Thank You: Masseto
Last edit: Post by TheMuffinMan.
The topic has been locked.
  • Page:
  • 1
Moderators: ForumSupport
Time to create page: 0.040 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!