Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi Cory,
    I’m getting the same error:

    MEDIA SETTINGS WARNING: The table ‘wdp_options’ has at least one the following values [‘upload_url_path’,’upload_path’] set please validate settings. These settings can be changed in the wp-admin by going to Settings->Media area see ‘Uploading Files’

    But I can’t access the original site as the hosting provider closed down, so this is the only copy of the duplicated files I have. How do I fix this?
    When I go to the site I get the following error:

    Forbidden

    You don’t have permission to access / on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    Thread Starter dabhandconz

    (@dabhandconz)

    Yeah I did, thanks for the suggestions.

    Thread Starter dabhandconz

    (@dabhandconz)

    Geting Gravity Forms to display the conditional second dropdown was easy; it’s just that I don’t think it can then serve up dynamic results.

    It should be possible to handcode this; a lot of the elements are there.

    – I can display a dropdown list of Categories
    – There is a conditional tag for “in_category”
    – It’s possible to show Posts for a specific category based on ID.

    What I’m missing is “in_category” needs to refer to the Category ID selected in the first dropdown.
    If I could somehow grab the Category ID of the selected Parent item in the first dropdown, then I can ask the second dropdown to show Child Categories belonging to that Parent.

    And then once an item is selected in the second dropdown, I can use _its_ ID and pull posts from that specific Category.

    I just need a way to get the ID of a selected Category item in a dropdown.

    Thread Starter dabhandconz

    (@dabhandconz)

    Yep, exactly, I’m talking about using 2 Dropdowns; the Options in the second one the SubCategory list of the Category in the first one.

    So if you choose something like, California in the first dropdown, then the second would contain Los Angeles, San Franciso, etc.
    Choose New York in the first and the second would contain Albany, Buffalo, etc.

    You would then choose your city, eg. Buffalo, and then the results would be the stores (Posts) in Buffalo.

    I actually bought Gravity Forms a few hours ago because I thought it could do this. It does handle the dropdowns well, but I can’t get it to then display the resulting Posts based on the user’s selection. It seems like it can only display pre-determined results that you select when you create the form; It can’t dynamically serve up a result. Or if it can I can’t see how.

    [EDIT]
    Just to add something, I’ve played around but I can’t figure out how to write code to do this. It feels like it should be easy but it’s beyond me.

    Okay, I _have_ found it now:

    Find ‘div class=”skip-link”‘ in Chrome’s Inspect Element.
    Look at the ‘a class=”assistive-text”‘ in that Div. It has extra padding that’s messing you up.

    If you uncheck the padding you’ll see the problem still isn’t fixed, BUT if you scroll down a bit further in the Matched CSS Rules, you’ll see that now another Padding has become Checked. Uncheck this again and it fixes your issue.

    You just need to do some tweaking because you actually need some of that padding for your menu.

    Thread Starter dabhandconz

    (@dabhandconz)

    Thanks, but that doesn’t actually do what I need it to.

    It will let me create two dropdowns, in the form of 2 Widgets, but the 2 aren’t related in any way, so changing the Region on the first doesn’t automatically change to the corresponding list of Districts on the other.

    Think of it like choosing State and then Cities in that State. And then you’re shown a list of book stores in the chosen City.

    Also, no, these aren’t Custom Post Types, they’re just regular old Posts. Like I said, it’s a very simple site. In theory.

    I think I found the problem. You don’t need the max-width: 2000px; on line 264 of your style sheet. Remove that and you should be fine.

    UPDATE:
    Actually, removing that line messes up the sizing in lower resolutions.

Viewing 7 replies - 1 through 7 (of 7 total)