WordPress.org

Ready to get started?Download WordPress

Forums

Ajaxify WordPress Site(AWS)
[resolved] This is a great plugin except for a few minor issues... (19 posts)

  1. echpoh
    Member
    Posted 1 year ago #

    1)
    if i click on the meta link login or register (ajaxify)

    /wp-login.php

    there will display odd wordings like

    function wp_attempt_focus(){ setTimeout( function(){ try{ d = document.getElementById('user_login'); d.focus(); d.select(); } catch(e){} }, 200); } wp_attempt_focus(); if(typeof wpOnload=='function')wpOnload();

    screenshot: http://i.imgur.com/VMXa0.png

    2)
    ajaxify.js line 206

    jQuery("#ajax-search").ajaxify(); will trigger a javascript error

    because of this, ajax search doesnt work

    fyi: #ajax-search is in the document,
    because when i run

    jQuery("#ajax-search").hide(); --- > there is no error

    that means the .ajaxify() is causing the error.

    http://wordpress.org/extend/plugins/ajaxify-wordpress-site/

  2. manishkrag
    Member
    Plugin Author

    Posted 1 year ago #

    HI echpoh,

    Thanks for considering :)

    For issue 2 I have checked in my several wordpress settings and it seems perfectly OK, also I have get feedback from several person regarding this and Search is working fine.

    I am assuming that your jQuery is not working perfectly that is why you are getting some js errors.

    NOTE: Be sure that your search form ID should be 'searchsubmit' and inputbox OD should be 's'.

    Thanks
    Manish

  3. echpoh
    Member
    Posted 1 year ago #

    What about issue #1?

    what about themes that do not have a search button such this

    http://www.wpdiarytheme.com/preview/

    Im using this theme now, perhaps you can test it out with this free theme

    and also figure out whats wrong with the jQuery (if any)

  4. manishkrag
    Member
    Plugin Author

    Posted 1 year ago #

    Here AWS not installed.

  5. echpoh
    Member
    Posted 1 year ago #

    where AWS not installed?

  6. manishkrag
    Member
    Plugin Author

    Posted 1 year ago #

    Sorry I understood wrong.

    Yes in this in this theme search will work just after intallation as this theme having search form ID 'searchsubmit' and input box ID should be 's'.

    if your theme does not have same then change in ajaxify.js file or in your theme the same.

    I'll test with this theme in my local.

    For issue 1 I'll check in in today night. :)

  7. echpoh
    Member
    Posted 1 year ago #

    have u had any try with the problem?

    today i found another problem

    we cannot use the <!--more--> tag on our post because

    the Read more link is going to have a #more hash tag apend to it, and if we click on it its not going to load anything..

    my suggestion is not to trigger ajax with just the # instead use the #!/

    like used on twitter for example
    https://twitter.com/#!/search/cocacola

  8. manishkrag
    Member
    Plugin Author

    Posted 1 year ago #

    Actually I am too much packed up with my company jobs.
    I'll look into these in weekend :)
    Thanks

  9. manishkrag
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Issue 1 is fixed,
    for you just follow the below instruction:

    In line number 65 in ajaxify.js file replace below code
    $this.find('a:internal:not(.no-ajaxy,[href^="#"])')
    By
    $this.find('a:internal:not(.no-ajaxy,[href^="#"],[href*="wp-login"],[href*="wp-admin"])')

    After adding the above code all the link having wp-admin or wp-login will reload page.

    Thanks
    :)

  10. manishkrag
    Member
    Plugin Author

    Posted 1 year ago #

    http://www.wpdiarytheme.com/preview/
    I have checked the theme code and got that in header.php file they are adding core js file using script tag which is not good. And in the same file in line number 40 wp_head(); present which should present just before the end of head tag.

    So just remove wp_head(); from line 40 and add the same just before the end of head tag in php tag, thus your problem will be solved.

    And download the latest version of the AWS then your first issue also resolve.

  11. manishkrag
    Member
    Plugin Author

    Posted 1 year ago #

    Let me know the status :)

  12. echpoh
    Member
    Posted 1 year ago #

    thanks ! wonderful, il give it a try tomoro

  13. echpoh
    Member
    Posted 1 year ago #

    Hey basically the only changes to the 1.3.3 is the ajaxify.js file?

    is so then i already have done the changes based on your instigation

    so it works great now.. but there is still 1 more thing
    for links with hash such as comment links

    http://ep.biziee.com/web-school/#comment-7

    the ajax system is tricked to load a page named "comment-7" and therefore nothing happens...

    so that's why i ask i suggested to use /#!/ to trigger ajax like what twitter does

    https://twitter.com/#!/search/cocacola

  14. manishkrag
    Member
    Plugin Author

    Posted 1 year ago #

    I have checked your site your searched functionality not ajaxified.

    Change in line 214 'sibling' to 'find'.

  15. echpoh
    Member
    Posted 1 year ago #

    thanks... byw ive made some changes regarding the effect of loading.. i find fading out completely is too dramatic.. so i have opted for a slight dim before load.. if u like it, go ahead and incorporate this in your next version

  16. echpoh
    Member
    Posted 1 year ago #

    so do u understand what im talking about with the hash thing?

  17. manishkrag
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks

    I have tried the hash bag url not working I working on this :(

  18. echpoh
    Member
    Posted 1 year ago #

    whats your IM can we get on chat? we seem to have some common interest

  19. manishkrag
    Member
    Plugin Author

    Posted 1 year ago #

    Skype: mfsi_manish

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.