Has anyone having the same problem as me. When you upload new files by whatever ftp. Neo upload or even plFileHandler. They are not been shown. but if you empty the browser cache, clear cookies and then relog in.. Then you can see the new uploads (updated dir listings).
I have to go though this every time - empty the browser cache etc to see new files been upload. When I delete the files by ftp, the file manger in plFileHandler still thinks that the old files are there which they are not there anymore until you empty the browser cache then file manger in plFileHandler well see the new updated dir.
Can anyone help.

Cheers.
Andrew
I am using :
CMSMS 1.9.4.3 and tried CMSMS 1.10.2
CTLModuleMaker 2.0.3
plFileHandler 0.6
Here my Blueprint
Code: Select all
<?php
$blueprint = array(
"videos" => array(
'fields' => array(
'0' => array(
'name' => 'Category',
'friendlyname' => 'Category',
'type' => 'dropdown',
'params' => array(
'indexed' => '',
'options_table' => 'module_MediaCenter_category'
)
),
'1' => array(
'name' => 'VideoSummary',
'friendlyname' => 'Summary',
'type' => 'textarea',
'params' => array(
'mandatory' => '1',
'indexed' => '1',
'wysiwyg' => '1'
)
),
'2' => array(
'name' => 'VideoDescription',
'friendlyname' => 'Description',
'type' => 'textarea',
'params' => array(
'mandatory' => '1',
'indexed' => '',
'wysiwyg' => '1'
)
),
'3' => array(
'name' => 'madeby',
'friendlyname' => 'Made By',
'type' => 'text',
'params' => array(
'mandatory' => '1',
'indexed' => '1',
'maxchar' => '50'
)
),
'4' => array(
'name' => 'VideoTags',
'friendlyname' => 'Video Tags',
'type' => 'text',
'params' => array(
'mandatory' => '1',
'indexed' => '1',
'maxchar' => '40'
)
),
'5' => array(
'name' => 'VideoFile',
'friendlyname' => 'Video File',
'type' => 'file',
'params' => array(
'indexed' => '',
'allowedext' => 'mp4,flv',
'startdir' => '/Videos'
)
),
'6' => array(
'name' => 'VideoThumbnail',
'friendlyname' => 'VideoThumbnail',
'type' => 'image',
'params' => array(
'indexed' => '',
'allowedext' => 'jpg,jpeg,gif,png',
'startdir' => '/VideoThumbnails',
'resize' => '1280x720',
'crop' => '1',
'thumbsize' => '120x90',
'thumbcrop' => '1'
)
),
'7' => array(
'name' => 'Genres',
'friendlyname' => 'Video / Film Genres',
'type' => 'dropdown',
'params' => array(
'indexed' => '',
'options_table' => 'module_MediaCenter_genres'
)
)
),
'lvlid' => 'lvl1',
'name' => 'videos',
'name_singular' => 'Video',
'name_plural' => 'Videos',
'femode' => 'open',
'indexed' => '1',
'autonomous' => '1',
'normal_user' => '1',
'fe_allow_new' => '1',
'adminfields' => array(
'0' => 'id',
'1' => 'VideoThumbnail',
'2' => 'name',
'3' => 'Category',
'4' => 'modified',
'5' => 'active'
)
),"Category" => array(
'fields' => array(
),
'lvlid' => 'lvl2',
'name' => 'Category',
'name_singular' => 'Category',
'name_plural' => 'Categories',
'femode' => 'closed',
'indexed' => '1',
'autonomous' => '1',
'normal_user' => '1',
'fe_allow_new' => ''
),"Genres" => array(
'fields' => array(
),
'lvlid' => 'lvl3',
'name' => 'Genres',
'name_singular' => 'Video / Film Genres',
'name_plural' => 'Genres',
'femode' => 'closed',
'indexed' => '1',
'autonomous' => '1',
'normal_user' => '1',
'fe_allow_new' => '',
'adminfields' => array(
'0' => 'id',
'1' => 'name',
'2' => 'modified',
'3' => 'active'
)
));