jstevens

Home \

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Per User ? #1018
    jstevens
    Participant

    I really do appreciate the comments, after editing the standard file listing script (the free one) made editing the pro version and the flash uploader a breeze. I added in the flashupload tho the ability for it to create sub folders based on year/month/day.

    in reply to: Per User ? #1016
    jstevens
    Participant

    Actually this was easy to figure out, awesome coding by the way I absolutely love it with coders comment all there functions.

    in helper.php around line 283

    $path = ‘images’.’/’.$params->get(‘efl_parent’);

    Change to

    //$path = ‘images’.’/’.$params->get(‘efl_parent’);

    // Per user folder listing

    $user =& JFactory::getUser();

    $path = ‘users’.’/’. $user->username;

    in mod_easyfolderlisting.xml around line 29

    delete the following (note this is optional but makes it clean)

    <field name=”efl_parent” type=”folderlist” default=”stories” label=”Choose the Parent Folder” directory=”images” description=”This is the parent folder where the files are stored.” hide_none=”true” hide_default=”true” />

    <field name=”efl_folder” type=”text” default=”” label=”Location within the Parent Folder” description=”This is the actual folder, within the parent folder (above), where the files are kept. Leave blank to show the contents of the parent folder.” />

    –JT

Viewing 2 posts - 1 through 2 (of 2 total)