topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 12:41 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Folder filtering  (Read 4667 times)

cldcp00

  • Participant
  • Joined in 2010
  • *
  • default avatar
  • Posts: 5
    • View Profile
    • Donate to Member
Folder filtering
« on: August 04, 2010, 11:25 AM »
I am new to LBC is there a way to filter out the folder you do not wish to be shown in the menu. i have a folder that has lots of historical stuff which cannot be moved out I just want to see certain folder on the LBC menu is there some way of doing this?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Folder filtering
« Reply #1 on: August 04, 2010, 11:37 AM »
there sure is.  when you create a node that shows the contents of one (or more) folders, you can specify accept and reject patterns for files and folders:

Screenshot - 8_4_2010 , 11_35_40 AM.png

cldcp00

  • Participant
  • Joined in 2010
  • *
  • default avatar
  • Posts: 5
    • View Profile
    • Donate to Member
Re: Folder filtering
« Reply #2 on: August 04, 2010, 02:49 PM »
Mouser thanks for your reply, but could you explain how if I have a folder which have sub folders that are number from 1 up to 1110, where anything before 500 could be classed as historic and just clutter up the menu scrolling down to the higher number folders.
The folder contain a mixture of files pdf jpg doc etc. what exactly would i need to do just to see folders that are numbered higher than 700.

Thanks for any help in advance

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Folder filtering
« Reply #3 on: August 04, 2010, 02:57 PM »
hmm thats a bit trickier.  you MIGHT be able to do it by accepting subdir patterns of 5??;6??;7??;8??;9??;1???
but im not sure if the ? will work.

what i would honest suggest is that you re-organize a bit and move the older stuff into its own subdir called "old" and then exclude that.

cldcp00

  • Participant
  • Joined in 2010
  • *
  • default avatar
  • Posts: 5
    • View Profile
    • Donate to Member
Re: Folder filtering
« Reply #4 on: August 05, 2010, 04:02 AM »
Can someone explain why when I enter 525 as the folder I want to accept, it filters out all the rest and just shows 525. But when i enter 525;869;1058 it returns no folders? This is becoming very frustrating >:(

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Folder filtering
« Reply #5 on: August 05, 2010, 07:49 AM »
seems a bug in the code regarding the ;
try using < instead of ; to separate
for the inclusion and exclusion items.