Forum Replies Created

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter ebentgen

    (@ebentgen)

    I was able to get most of the site back. Now the Slider issue when I tried to activate the plugin:

    Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/troop3winchester/public_html/wordpress/wp-content/plugins/revslider/includes/operations.class.php on line 2362
    
    Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/troop3winchester/public_html/wordpress/wp-content/plugins/revslider/includes/operations.class.php on line 2366
    
    Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/troop3winchester/public_html/wordpress/wp-content/plugins/revslider/includes/output.class.php on line 3169
    
    Fatal error: Uncaught Error: [] operator not supported for strings in /home/troop3winchester/public_html/wordpress/wp-content/plugins/revslider/includes/framework/base-admin.class.php:71 Stack trace: #0 /home/troop3winchester/public_html/wordpress/wp-content/plugins/revslider/admin/revslider-admin.class.php(572): RevSliderBaseAdmin::addMetaBox('Revolution Slid...', '', Array, NULL) #1 /home/troop3winchester/public_html/wordpress/wp-content/plugins/revslider/admin/revslider-admin.class.php(73): RevSliderAdmin->addSliderMetaBox() #2 /home/troop3winchester/public_html/wordpress/wp-content/plugins/revslider/admin/revslider-admin.class.php(44): RevSliderAdmin->init() #3 /home/troop3winchester/public_html/wordpress/wp-content/plugins/revslider/revslider.php(164): RevSliderAdmin->__construct('/home/troop3win...') #4 /home/troop3winchester/public_html/wordpress/wp-admin/includes/plugin.php(2286): include_once('/home/troop3win...') #5 /home/troop3winchester/public_html/wordpress/wp-admin/plugins.php(191): plugin_sandbox_scrape('re in /home/troop3winchester/public_html/wordpress/wp-content/plugins/revslider/includes/framework/base-admin.class.php on line 71
    Thread Starter ebentgen

    (@ebentgen)

    I tried to reinstall plugins but they don’t activate and I’m thinking this is because of the change I made in myphp-wp-options where I changed the active plugins to a:0:{}

    Thread Starter ebentgen

    (@ebentgen)

    Hi Tobias,

    Sorry to bother you again but the expand/hide feature still does not work.

    In looking at the page.js on Chrome I see where there is an error. Does this mean there is an error with the coding?

    JQMIGRATE: Migrate is installed, version 1.4.1
    page.js:10 Uncaught SyntaxError: Unexpected end of input

    Here is what I have on the page.js

    /*! jQuery v1.7.1 jquery.com | jquery.org/license */
    jQuery(document).ready(function($){

    var expandhide_text = ‘<span class=”expand”>expand</span><span class=”hide”>hide</span>’;
    $(‘.slide’).hide().prev().append(expandhide_text).addClass(‘slidehidden’);

    $(‘h3’).click(function() {
    $(this).toggleClass(‘slidevisible’).toggleClass(‘slidehidden’).next().toggle();
    return false;
    });

    });

    Thank you for any assistance as I would really like to see this expand/hide work.

    Best,
    Emily

    Thread Starter ebentgen

    (@ebentgen)

    Hi Tobias,

    I was able to access sftp to upload the page.js file.

    Unfortunately, the expand hide is still not working. I’m not sure what I’m doing wrong. Here is what I have: Many thanks for your assistance.

    https://braddockstreetumc.org/small-groups/

    In wp-content
    page.js

    /*! jQuery v1.7.1 jquery.com | jquery.org/license */
    jQuery(document).ready(function($){

    var expandhide_text = ‘<span class=”expand”>expand</span><span class=”hide”>hide</span>’;
    $(‘.slide’).hide().prev().append(expandhide_text).addClass(‘slidehidden’);

    $(‘h3’).click(function() {
    $(this).toggleClass(‘slidevisible’).toggleClass(‘slidehidden’).next().toggle();
    return false;
    });

    });
    <script type=’text/javascript’ src=’/wp-includes/js/jquery/jquery.js’></script>
    <script type=’text/javascript’ src=’/wp-content/themes/Dunamis-Theme/page.js’></script>

    Custom CSS within table plugin

    h3.slidehidden .expand {
    display: inline;
    }

    h3.slidehidden .hide {
    display: none;
    }

    h3.slidevisible .expand {
    display: none;
    }

    h3.slidevisible .hide {
    display: inline;
    }

    HTML in table cell

    <h3>Reveal</h3>
    <div class=”slide”>
    God reveals himself to us through many mediums: text, film, television, and conversation are all ways in which God might reveal God’s self to us. Through the study of different mediums and good conversation, we will study God’s influence in our life and society. Come see how God is revealed through the study of our first text, Mere Christianity by C.S Lewis. Texts will be provided.
    </div>

    Small groups page – code under [table id=1/]
    <script src=”/wp-content/page.js”></script>

    Thread Starter ebentgen

    (@ebentgen)

    I can edit pages, etc…everything in the admin but I cannot access the cpanel to upload files. I can add lines to CSS in WordPress. I’m not happy with the template I have but that’s what the church bought. I will upgrade to get the cpanel option next week.

    Many thanks for all your help.
    Emily

    Thread Starter ebentgen

    (@ebentgen)

    The theme was installed before I took over the site. The Plugins I install are through WordPress within the theme…unless there is another way through wordpress to add the .js

    Best,
    Emily

    Thread Starter ebentgen

    (@ebentgen)

    Hi Tobias,

    I guess I will need to put this project on hold for now as I do not have access to the files on the web server (need to upgrade the plan). unless there is another way to post the .js file.

    Best and Happy New Year
    Emily

    Thread Starter ebentgen

    (@ebentgen)

    Hi Tobias,
    I think I have all the pieces put together but not quite sure where the .js page goes. I wasn’t sure if I add the page to the header or footer in WP or if the page is uploaded through the theme to specific folder. I have a dunamis theme and this theme works differently than other WP themes I use.

    Thanks,
    Emily

    Thread Starter ebentgen

    (@ebentgen)

    Dear Tobias,

    I understand but cannot find a page.js in my wordpress theme. Would it be under another name? I assume once I add the code I will need to upload the updated theme info to wordpress?

    Many thanks for your assistance…and yes I will buy you a cup of coffee.

    Emily

    Thread Starter ebentgen

    (@ebentgen)

    Dear Tobias,

    I have added the CSS code to the Custom CSS on the Plugin options and also the HTML code in the proper row cell but the expand/hide is not working.

    Please advise, thank you
    ebentgen

    Thread Starter ebentgen

    (@ebentgen)

    Thank you for the tip. I have since resolved the issue and my website is working as it should.

    Best
    Ebentgen

    Thread Starter ebentgen

    (@ebentgen)

    Sir,
    Does the CSS section need to be in the CSS link in the table?
    …and would there need to be something in the CSS for each cell that would have a drop down description?
    Thank you,

    h3 {padding-top:10px; border-top:dashed gray 1px; cursor:pointer;}
    h3 span {display:none;position: absolute; right: 10px; font-size: 12px; color: gray;}
    h3.slidehidden .expand {display:inline;}
    h3.slidehidden .hide {display:none;}
    h3.slidevisible .expand {display:none;}
    h3.slidevisible .hide {display:inline;}

    Thread Starter ebentgen

    (@ebentgen)

    Yes sir! Exactly! Thank you!

    Thread Starter ebentgen

    (@ebentgen)

    Many thanks James for your assistance. I’ll try out your suggestions!

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