CMS MADE SIMPLE FORGE

JMFilePicker

 

[#11131] Specified folder in smarty-tag doest work (backend)

avatar
Created By: Peter Tindemans (realrock)
Date Submitted: Mon Aug 22 11:22:28 -0400 2016

Assigned To:
Version: 1.0
CMSMS Version: 2.1.5
Severity: Minor
Resolution: None
State: Open
Summary:
Specified folder in smarty-tag doest work (backend)
Detailed Description:
Hello,

First of all thanks for this fork, I'v been using the GBFilePicker a lot. For me
its a really useful tool.

When you define a folder in the smarty tag of your template, you would expect
that the browser to go to this directory (like in the backend demo). But it
isn't in my case, no matter what I try, the browser only shows the upload
directory.

Example:
{content_module module='JMFilePicker' block='banner_img_header' folder='images'}

Expected result:
The directory: uploads/images

Result:
uploads/

Tested so far:
1. Working backend demo? -> Yes
2. File permissions to uploads directory's ok? -> Yes 777
3. All kinds of variations with:  folder='images' /  folder='images/' / 
folder='/images/'

Is this a bug or am I missing something here?


History

Comments
avatar
Date: 2018-06-01 04:18
Posted By: Max (vmadmax)

Hi Peter,
read the help file.

It's not "folder", it's "dir".