WordPress.org

Ready to get started?Download WordPress

Forums

WPNewCarousels
[resolved] Links not working (24 posts)

  1. danielnichols
    Member
    Posted 1 year ago #

    Hiya,

    I have the wpnewcarousels installed on my site, but I can't get the links to work.

    I'm expecting to be able to click on the image of each slide to take me to a particular page.

    Thanks!

    dan.

    http://wordpress.org/extend/plugins/wpnewcarousels/

  2. DJCopa
    Member
    Posted 1 year ago #

    Hi there - Any news on this please? Have same issue and hoping it is a blip.

    Thanks.

  3. danielnichols
    Member
    Posted 1 year ago #

    Hi,

    Links still not working and not scrolling through to the 2nd slide either.

    A bit frustrating!

  4. DJCopa
    Member
    Posted 1 year ago #

    My scrolling is OK - Here is my code, if it helps:

    [wpnewcarousel name="Front Page" height="141" width="400" effect="" startslide="" animationspeed="500" imagepausetime="2500" shownav="" hoverpause=""]

    Hope we get an answer for links - Nice plugin.

    Cheers.

  5. Arjun Jain
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    I have tested the plugin its working fine. Can you please tell me the url which you are give with image.

    Thanks
    Arjun Jain

  6. danielnichols
    Member
    Posted 1 year ago #

    Hi Arjun,

    The shortcode I have is ...

    [wpnewcarousel name="FrontPage" effect="fold" animationspeed="500" imagepausetime="2500" shownav="true" hoverpause="true"]

    The settings are ...
    Click on the image '/images/adbar-welcome.jpg'
    with the background image link to
    http://www.waltonchurch.org/about/our-vision/

    I have 2 slides set up but they don't scroll or rotate either which is annoying!

    Thanks,

    dan.

  7. Arjun Jain
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Dan,

    The background image link and background image in fine. I can't find the exact reason of not working of wpnewcarousel. This issue may be due to javascript error on website. Use firebug with consol option to find the bug or give the link of website on which you are using this plugin.

    Thanks
    Arjun Jain

  8. danielnichols
    Member
    Posted 1 year ago #

    Hiya,

    The page is http://www.waltonchurch.org/tester

    thanks!

    dan.

  9. Arjun Jain
    Member
    Plugin Author

    Posted 1 year ago #

    Hi ,

    I have found two javascript related problem in website
    1: You have entered wrong url its www.*** not http://www.*** please add "http://" with url.

    2: Please enter in F12 in chrome and click on console option and reload the page than you will find four javascript error which caused carousel failure.

    Thanks
    Arjun Jain

  10. danielnichols
    Member
    Posted 1 year ago #

    Hi Arjun,

    Thanks for your email! Your help is much appreciated!

    I have changed the links within the wp-new-carousel set-up page to be http:// rather than just www.

    I have followed your instructions within chrome and found the following, alhtough, not being a 'techy' am unsure of the errors and how to correct them.

    --------------------------
    --------------------------

    dk-ret comment preview.....

    $j = jQuery.noConflict();

    $j(document).ready(
    function() {

    // Commentpreview Plugin is written by Frank Bueltge
    // http://bueltge.de/live-kommentarvorschau-mit-jquery-und-wordpress/541/
    $j( '#comment' ).one( 'focus', function() {
    $j( '.comment-form-comment' ).prepend( '<div id="comment-live-preview"></div>' );
    });

    var $comment = '';
    $j( '#comment' ).keyup( function() {
    $comment = $j(this).val();
    $comment = $comment.replace( /\n/g, "
    " ).replace( /\n\n+/g, '

    ' ).replace( /(<\/?)script/g,"$1noscript" );
    $j( '#comment-live-preview' ).html( $comment );
    });
    }
    );

    ------------------------
    ------------------------

    and

    within script.js

    --------------------------
    --------------------------

    (function($) {

    $(function() {
    try {
    if (typeof _wpcf7 == 'undefined' || _wpcf7 === null)
    _wpcf7 = {};

    _wpcf7 = $.extend({ cached: 0 }, _wpcf7);

    $('div.wpcf7 > form').ajaxForm({
    beforeSubmit: function(formData, jqForm, options) {
    jqForm.wpcf7ClearResponseOutput();
    jqForm.find('img.ajax-loader').css({ visibility: 'visible' });
    return true;
    },
    beforeSerialize: function(jqForm, options) {
    jqForm.find('.wpcf7-use-title-as-watermark.watermark').each(function(i, n) {
    $(n).val('');
    });
    return true;
    },
    data: { '_wpcf7_is_ajax_call': 1 },
    dataType: 'json',
    success: function(data) {
    var ro = $(data.into).find('div.wpcf7-response-output');
    $(data.into).wpcf7ClearResponseOutput();

    $(data.into).find('.wpcf7-form-control').removeClass('wpcf7-not-valid');
    $(data.into).find('form.wpcf7-form').removeClass('invalid spam sent failed');

    if (data.captcha)
    $(data.into).wpcf7RefillCaptcha(data.captcha);

    if (data.quiz)
    $(data.into).wpcf7RefillQuiz(data.quiz);

    if (data.invalids) {
    $.each(data.invalids, function(i, n) {
    $(data.into).find(n.into).wpcf7NotValidTip(n.message);
    $(data.into).find(n.into).find('.wpcf7-form-control').addClass('wpcf7-not-valid');
    });

    ro.addClass('wpcf7-validation-errors');
    $(data.into).find('form.wpcf7-form').addClass('invalid');

    $(data.into).trigger('invalid.wpcf7');

    } else if (1 == data.spam) {
    ro.addClass('wpcf7-spam-blocked');
    $(data.into).find('form.wpcf7-form').addClass('spam');

    $(data.into).trigger('spam.wpcf7');

    } else if (1 == data.mailSent) {
    ro.addClass('wpcf7-mail-sent-ok');
    $(data.into).find('form.wpcf7-form').addClass('sent');

    if (data.onSentOk)
    $.each(data.onSentOk, function(i, n) { eval(n) });

    $(data.into).trigger('mailsent.wpcf7');

    } else {
    ro.addClass('wpcf7-mail-sent-ng');
    $(data.into).find('form.wpcf7-form').addClass('failed');

    $(data.into).trigger('mailfailed.wpcf7');
    }

    if (data.onSubmit)
    $.each(data.onSubmit, function(i, n) { eval(n) });

    $(data.into).trigger('submit.wpcf7');

    if (1 == data.mailSent)
    $(data.into).find('form').resetForm().clearForm();

    $(data.into).find('.wpcf7-use-title-as-watermark.watermark').each(function(i, n) {
    $(n).val($(n).attr('title'));
    });

    $(data.into).wpcf7FillResponseOutput(data.message);
    }
    });

    $('div.wpcf7 > form').each(function(i, n) {
    if (_wpcf7.cached)
    $(n).wpcf7OnloadRefill();

    $(n).wpcf7ToggleSubmit();

    $(n).find('.wpcf7-submit').wpcf7AjaxLoader();

    $(n).find('.wpcf7-acceptance').click(function() {
    $(n).wpcf7ToggleSubmit();
    });

    $(n).find('.wpcf7-exclusive-checkbox').each(function(i, n) {
    $(n).find('input:checkbox').click(function() {
    $(n).find('input:checkbox').not(this).removeAttr('checked');
    });
    });

    $(n).find('.wpcf7-use-title-as-watermark').each(function(i, n) {
    var input = $(n);
    input.val(input.attr('title'));
    input.addClass('watermark');

    input.focus(function() {
    if ($(this).hasClass('watermark'))
    $(this).val('').removeClass('watermark');
    });

    input.blur(function() {
    if ('' == $(this).val())
    $(this).val($(this).attr('title')).addClass('watermark');
    });
    });
    });

    } catch (e) {
    }
    });

    $.fn.wpcf7AjaxLoader = function() {
    return this.each(function() {
    var loader = $('<img class="ajax-loader" />')
    .attr({ src: _wpcf7.loaderUrl, alt: _wpcf7.sending })
    .css('visibility', 'hidden');

    $(this).after(loader);
    });
    };

    $.fn.wpcf7ToggleSubmit = function() {
    return this.each(function() {
    var form = $(this);
    if (this.tagName.toLowerCase() != 'form')
    form = $(this).find('form').first();

    if (form.hasClass('wpcf7-acceptance-as-validation'))
    return;

    var submit = form.find('input:submit');
    if (! submit.length) return;

    var acceptances = form.find('input:checkbox.wpcf7-acceptance');
    if (! acceptances.length) return;

    submit.removeAttr('disabled');
    acceptances.each(function(i, n) {
    n = $(n);
    if (n.hasClass('wpcf7-invert') && n.is(':checked')
    || ! n.hasClass('wpcf7-invert') && ! n.is(':checked'))
    submit.attr('disabled', 'disabled');
    });
    });
    };

    $.fn.wpcf7NotValidTip = function(message) {
    return this.each(function() {
    var into = $(this);
    into.append('<span class="wpcf7-not-valid-tip">' + message + '</span>');
    $('span.wpcf7-not-valid-tip').mouseover(function() {
    $(this).fadeOut('fast');
    });
    into.find(':input').mouseover(function() {
    into.find('.wpcf7-not-valid-tip').not(':hidden').fadeOut('fast');
    });
    into.find(':input').focus(function() {
    into.find('.wpcf7-not-valid-tip').not(':hidden').fadeOut('fast');
    });
    });
    };

    $.fn.wpcf7OnloadRefill = function() {
    return this.each(function() {
    var url = $(this).attr('action');
    if (0 < url.indexOf('#'))
    url = url.substr(0, url.indexOf('#'));

    var id = $(this).find('input[name="_wpcf7"]').val();
    var unitTag = $(this).find('input[name="_wpcf7_unit_tag"]').val();

    $.getJSON(url,
    { _wpcf7_is_ajax_call: 1, _wpcf7: id },
    function(data) {
    if (data && data.captcha)
    $('#' + unitTag).wpcf7RefillCaptcha(data.captcha);

    if (data && data.quiz)
    $('#' + unitTag).wpcf7RefillQuiz(data.quiz);
    }
    );
    });
    };

    $.fn.wpcf7RefillCaptcha = function(captcha) {
    return this.each(function() {
    var form = $(this);

    $.each(captcha, function(i, n) {
    form.find(':input[name="' + i + '"]').clearFields();
    form.find('img.wpcf7-captcha-' + i).attr('src', n);
    var match = /([0-9]+)\.(png|gif|jpeg)$/.exec(n);
    form.find('input:hidden[name="_wpcf7_captcha_challenge_' + i + '"]').attr('value', match[1]);
    });
    });
    };

    $.fn.wpcf7RefillQuiz = function(quiz) {
    return this.each(function() {
    var form = $(this);

    $.each(quiz, function(i, n) {
    form.find(':input[name="' + i + '"]').clearFields();
    form.find(':input[name="' + i + '"]').siblings('span.wpcf7-quiz-label').text(n[0]);
    form.find('input:hidden[name="_wpcf7_quiz_answer_' + i + '"]').attr('value', n[1]);
    });
    });
    };

    $.fn.wpcf7ClearResponseOutput = function() {
    return this.each(function() {
    $(this).find('div.wpcf7-response-output').hide().empty().removeClass('wpcf7-mail-sent-ok wpcf7-mail-sent-ng wpcf7-validation-errors wpcf7-spam-blocked');
    $(this).find('span.wpcf7-not-valid-tip').remove();
    $(this).find('img.ajax-loader').css({ visibility: 'hidden' });
    });
    };

    $.fn.wpcf7FillResponseOutput = function(message) {
    return this.each(function() {
    $(this).find('div.wpcf7-response-output').append(message).slideDown('fast');
    });
    };

    })(jQuery);

    -----------------------------
    ------------------------------

    How do I find and correct the errors?

    Thanks again!

    dan.

  11. Arjun Jain
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Dan,

    Disable cookie-law-info plugin this plugin create js error.

    Thanks
    Arjun Jain

  12. DJCopa
    Member
    Posted 1 year ago #

    Just to add to the help on here, mine was a JS error - Removed jquery.js file from my actual theme and all working now.

    Cheers.

  13. danielnichols
    Member
    Posted 1 year ago #

    Hiya,

    Obviously the removal of cookie-law-info can be replaced by another plugin. What is the implication for the rest of the site if I remove jquery.js?

    Thank you for all your help!

    dan.

  14. Arjun Jain
    Member
    Plugin Author

    Posted 1 year ago #

    If you remove jquery.js may be most of functionality of website will not work. Don't remove it but update it with latest version

  15. danielnichols
    Member
    Posted 1 year ago #

    Hiya,

    I have removed the cookie-law-info plugin and this seems to have allowed it to work.

    I have another plugin [slidorion name="YOUR NAME"] which seems to have a similar problem not working though.

    dan.

  16. danielnichols
    Member
    Posted 1 year ago #

    Arjun,

    Where do I find the latest version please?

    Sorry for all these questions!

    dan.

  17. Arjun Jain
    Member
    Plugin Author

    Posted 1 year ago #

  18. danielnichols
    Member
    Posted 1 year ago #

    thanks again.

    where is the path to my jquery.js file to replace it with this new one?

    dan.

  19. DJCopa
    Member
    Posted 1 year ago #

    Hi Arjun,

    Just wanted to say carousel is working perfectly for me - Forgot to update you but wanted to say thanks for your help.

    I hope Daneilnichols is all sorted as well - I found the combination of updating Java (wp-content/themes/<your theme>/js) and disabling a rogue plugin cured my issues.

    Thanks.

  20. danielnichols
    Member
    Posted 1 year ago #

    Hiya,

    The plugin now works fine! Thanks!

    However, when looking for jquery.js to update as suggested I found 6 copies of this across various plugins and folders.

    Do they all need updating!?!?

    The ability to change the order and delete slides would be a great feature in the next version if possible!

    Thanks!

  21. Arjun Jain
    Member
    Plugin Author

    Posted 1 year ago #

    No Dont change all jquery file.

  22. Arjun Jain
    Member
    Plugin Author

    Posted 1 year ago #

    next version will be release in next 7 days with complete control over carousel

  23. danielnichols
    Member
    Posted 1 year ago #

    Excellent! Thank you! I look forward to the next version.

  24. Arjun Jain
    Member
    Plugin Author

    Posted 1 year ago #

    Just wanted to let you know the next version will release on 19-11-2012 with lot of customization option.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.