Changes between Version 1 and Version 2 of Documentation/Plugins/MootoolsFileManager


Ignore:
Timestamp:
03/14/18 21:43:31 (6 weeks ago)
Author:
gogo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/Plugins/MootoolsFileManager

    v1 v2  
    5151}}} 
    5252 
    53 Notice how there is `<?php` used here, this means of course that you need to have your Xinha configuration defined in a file which is processed by PHP, the implementation of that is left to you if you are using .html files. 
     53Notice how there is `<?php` used here, this means of course that you need to have your Xinha configuration defined in a file which is processed by PHP, the implementation of that is left to you if you are using .html files or template frameworks. 
    5454 
    5555We can see how the first thing done is to `require_once` a script called php-xinha.php this is part of the Xinha (and external plugins) downloads and it provides the functions we need to pass data securely to the MFM. 
     
    6464 
    6565  [images|files]_dir:: 
    66     The **filesystem absolute path** to the directory in which the images/files are stored.  You can see in this example how I have used $_SERVER['DOCUMENT_ROOT'] to indicate that the directory is `/images` at the root of the website. 
     66    The **filesystem absolute path** to the directory in which the images/files are stored.  You can see in this example how I have used $_SERVER['DOCUMENT_ROOT'] to indicate that the directory is `/images` at the root of the website.  Set this to false to disable the Insert Image or Insert File Link buttons as appropriate 
    6767 
    6868  [images|files]_url:: 
     
    8787    Only for the images mode, use hspace and vspace attributes on images instead of CSS margins.  This is useful mainly for putting images in emails where css support may be spotty. 
    8888 
     89== Less Commonly Necessary Options == 
     90 
     91  [images|files]_allow_move:: 
     92    Allow moving, renaming, and copying files. Default: off 
     93 
     94  [images|files]_list_type:: 
     95    Show a list of filenames ('list'), or thumbnails ('thumb') in the MFM.  Default: 'list' 
     96 
     97  [images|files]_pagination_size:: 
     98    Maximum number of filenames/thumbnails to show in the list per "page", if it's slowing down the MFM may reduce this number automatically.  Default: 10000 - a very high number to avoid pagination strongly. 
     99 
     100  [images|files]_list_mode_over:: 
     101    Drop back to 'list' mode if the number of thumbnails exceeds this.  Default: 30 (but the mode defaults to 'list' anyway so this only matters if you change to 'thumb' mode. 
     102 
     103  [images|files]_list_start_in:: 
     104    Set this to a relative path in the `[images|files]_dir` to have the MFM open the dialog at that location. 
     105 
     106   
    89107 
    90108 
    91109 
    92