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.
- ExpressionEngine 2.0.1 build 20100215 or later
- Wygwam 2.0.1 or later
- 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
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.