Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author AA Web Servant

    (@aasanjose)

    Hey Bob,

    Try removing the wp_dequeue_style(‘bootstrap_css’) from the thing I suggested in the FAQ, this should have the effect of blocking the javascript but allowing the CSS.

    add_action('wp_enqueue_scripts', function(){
        wp_dequeue_script('bootstrap_js');
    });

    If that doesn’t work, send me a link to your site and I’ll see if I can’t figure out what’s up.

    Thanks,
    Josh

    Thread Starter Bob

    (@compumec)

    Thanks for the help Josh.
    That code and the recommend CSS modification did the trick.
    .collapse { display: block; }

    thawbaker

    (@thawbaker)

    Just wanted to say thanks for creating this plugin. It really helped make building a new website for AA district 43 (Central PA) so easy and awesome.

    I had the exact same problem as compumec. Thanks to this thread– problem solved.

    Thanks again.

    Plugin Author AA Web Servant

    (@aasanjose)

    Hey Thawbaker, glad to hear it! Let me know if you’d like me to add a link to your site on the main plugin page or add the data to the Meeting Guide mobile apps.

    You can reach me at [email protected].

    thawbaker

    (@thawbaker)

    Sure, Josh. I’ll let you know the url once the district approves the changes and we go public.

    Hey, Josh. I’m having a new problem now. It was working before, so I’m pretty sure I broke it. ??

    The drop-down menus appear (Sunday, Monday, etc.) but cannot be selected. I noticed it today because it was displaying Sunday even though today is Tuesday. I cleared the cache and today’s day-of-the-week corrected. Thinking maybe it was a cache problem, I turned off Comet Cache altogether, but the drop downs still don’t work. I am using a child theme which should protect my local edits, which are:

    /* 12 step meeting list revisions here */
    
    add_action('wp_enqueue_scripts', function(){
        wp_dequeue_style('bootstrap_css');
        wp_dequeue_script('bootstrap_js');
    });
    
    #page::before { display: none; }
    
    #meetings table { border: 0; }
    #meetings table td, #meetings table th { border-right: 0; }
    
    .collapse { display: block; }

    WordPress 4.4.2
    Theme: CustomizrPro (child)
    Site: https://www.District43.org

    Plugin Author AA Web Servant

    (@aasanjose)

    So this appears to be a javascript error, looking at the console. The formatLInk() function appears to be receiving an empty URL somehow. It’s going to require a bit of debugging, because I don’t see any empty URLs in your data.

    Is there anywhere you’ve customized that uses the formatLink() function?

    Well, you know how sometimes after a good night’s sleep the solution to yesterday’s problem seems clearer? The last time I know for certain that the 12-Step plugin was working was before I added a link and scrolling announcement bar below the meetinglist table (I checked and there is no formatLink in it). Anyway, I tried to be careful when adding it because I’m no coder, but it’s well within reason that I accidentally added or removed some character that I shouldn’t have.

    So I woke up this morning and overwrote the archive-meetings.php in my child theme folder back to your original. The drop-downs resumed working. Then I carefully placed my edits back into that file. And they worked too.

    I appreciate your willingness to look at my site, Jose. Unfortunately this problem appears to be good ‘ol “operator error”. Sorry to trouble you! I’m planning on taking the new district-43 website live this weekend. Thanks again for all of your help!

    Todd H
    District-43 Webservant

    Plugin Author AA Web Servant

    (@aasanjose)

    ok sounds real good! let me know if you’re interested in also listing in the meeting guide app. sepia is already in there, not sure their meetings overlap with yours.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Loosing Main Navigation’ is closed to new replies.