Quote:
Originally Posted by josiespencer
I searched and looked through both this website and the LDM documentation but cannot find this one: I want my scan to search all subdirectories within the directories. How can I do this?
|
Are you using VB 3.5/LDM 2.2.1 (this thread) or are you using LDM 2.2.6 or .7 (the VB 3.6 thread)?
I take it that you want the searching of subdirectories to be automatic. This feature was first included in version 2.2.6 and improved significantly in 2.2.7, currently in the final stages before becoming official. I describe this new feature ands the 2.2.7 controls.
There are two steps:
- First, create/edit a category that knows that it is to synchronise with one of your website directories. This is done on the add/edit category page, where there is a box "Synchronise with" (see first image). This should hold a path to the local directory (this value is modified by LDM according to the current settings of the local_file_root and local_file_root_prefix settings.) Please note - if the category "synchronises", it won't at the same time accept manual entries - it's one or the other, although you can always change its state later (and if you go from sync to non-sync, it will retain the entries that are already there).
- Then go to the LDM admin settings and find the sync controls (see second image). Switch on synchronisation and enable the populate categories box. Choose a username who will be treated as creator of the entries. The other entries should be ok.
Then visit the new category, and by magic it should start synchronising. Depending on number of files and directory depth, it may not (probably will not) finish the job the first time, but on each successive visit until complete, and then once a day, it will improve the synchronisation.
OK?