AbleCommerce Forums
»
AbleCommerce
»
General Questions
»
9.0.4 using the Asset Manager image picker
Rank: Advanced Member
Groups: HelpDesk, Developers Joined: 11/9/2018(UTC) Posts: 564
Thanks: 122 times Was thanked: 26 time(s) in 25 post(s)
|
I've added a custom field to the admin edit-product page. Now I want to utilize your image picker from the Assets controller. I copied the razor code for the linked folder icon (from the image Advanced Settings page), and adjusted the parameters for what I thought would work for the edit product page. But it just throws an exception when I select an image. How do I use the asset manager in other areas of the admin like I need to here? Capture.JPG (15kb) downloaded 0 time(s).Code:
<a href="@Url.Action("Index", "Assets",
new
{
controllerName = "Product",
actionName = "EditProduct",
paramName = "Id",
paramValue = Model.Id,
type = "image"
})">
<i class="fa fa-2x fa-folder-open-o"></i>
|
|
|
|
AbleCommerce Forums
»
AbleCommerce
»
General Questions
»
9.0.4 using the Asset Manager image picker
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close