I am using moxiecode filemanager to upload images, part of the setup is to have a link like so:
{if logged_in}
{exp:member:custom_profile_data}
{if member_groupmembership == "CONTENT"}
<a>[Upload file(s)]</a>
{/if}
{/exp:member:custom_profile_data}
{/if}
(for some reason it wont allow me to enter the link… it should have: onclick=”mcFileManager.upload({path : '{0}/content/’});” href=”#”)
As you can see, the link has a {0}, this is required for filemanager to set the upload path.
Moved to Modules by Moderator
What is happening is that it is instead putting my name which i believe is being pulled from the profile data tag.
The link ends up as: onclick=”mcFileManager.upload({path : 'MY_NAME/content/'});” href=”#”
Ho do i stop it from parsing {0}. Escaping it works but then breaks the link. e.g. {0}
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.