/wygwam_upload_tags

EE2 extension that parses Wygwam’s Upload Directory settings for {username}, {member_id}, and {group_id}

Primary LanguagePHP

Wygwam Upload Tags extension

This EE2 extension demonstrates how to use Wygwam’s new wygwam_config hook. It parses Wygwam’s Upload Directory settings for {username}, {member_id}, and {group_id} tags.

Requirements

Installation

  • Upload the wygwam_upload_tags folder to ext.wygwam_upload_tags.php to system/expressionengine/third_party/
  • Enable Wygwam Upload Tags in Add-Ons → Extensions

Usage

To use Wygwam Upload Tags, just add a {username}, {member_id}, or {group_id} tag to your Upload Directory’s Server Path and URL settings within Admin → Content Administration → File Upload Preferences. The extension will then modify Wygwam’s Upload Directory settings per page load, based on the current member’s info.