Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with OpenID Sign In with Google

Sign In Apply for Membership

0.3.1 - Allow Additional Filters preference missing
  • leagle October 2011
    First, I want to say that I'm really impressed by xoda. I looked for a long time for something like this and I was starting to think that it didn't exist.

    Issue: I don't have an option to allow additional filters in my prefs. And, probably as a result, I don't have a Filters button on my navigation bar. Is this a problem with 0.3.1 or am I missing something? Everything else seems to be working fine.

    Thanks.
  • betso October 2011
    I just did a fresh install of 0.3.1 and checked on the filters. Here is a shot of my settings:
    image

    I hope it helps you! :)
  • leagle October 2011
    I have that and it is checked, but there's no filter button on the nav bar.
  • betso October 2011
    You would have to set some "filters". The button should appear after you set a "filter" to a file or directory.
    The functionality uses some basic UNIX/Linux commands and relies on their existence.
    Good luck! :)
  • leagle October 2011
    Thanks for the quick replies. Unfortunately, the button is still not showing up. I took some screen captures so that you can see what I see. If you'd like to look at it in real time, I'd be happy to set up an account for you.

    image
    Filters are enabled.

    image
    Filters are set for this file (and all of the others).

    image
    No Filters button in nav bar.
  • betso October 2011
    I wish I would have the time to reply quicker and the knowledge to provide real help.

    Just repeated everything required for working "filters" on a freshly installed xoda-0.3.1 and everything worked like it is supposed to do. I set some "filters" and the button appeared. Then I deleted all "filters" and the button disappeared. I can not reproduce the problem on my setting.
    The button is a link to "?filters" (in your case: frankanderson.com/xoda/?filters). Could you share what XODA returns when you call the link directly from the browser?

    Here is some explanation how the things are thought to work, in case you could do some debugging by yourself:
    XODA relies on the variable $_SESSION['filters'] which contains all filters as a multidimensional array making it easy to navigate through them. This variable is fed by the function xd_get_filters (in "functions.php") where the filters are collected by looking in the metafiles for the $_filters variable. This is done by the UNIX/Linux system commands 'find', 'grep', and 'sed'.
    The button "Filters" appears when the constant FILTERS is set to true and the variable $_SESSION['filters'] is not empty.

    I hope you will find a solution for the problem! Good luck! :)