#/url not working for all

  • Posted in : cvCard WP
  • isaumya
    Participant

    #/url direct access is not working for all. It is only working for few pages like about me, portfolio and resume. How to fix that?

    ahmetsali
    Keymaster

    Hi, can you give an example situation where #/url doesn’t work.

    isaumya
    Participant

    As an example, if you visit
    http://themes.pixelwars.org/cvcard-wp/#/contact – It will stops at portfolio, after that if you click on the contact button, it will not go to that page. You have to click on the previous page of portfolio (i.e. about me), then again navigate through portfolio -> contact.

    Hope this helps.

    ahmetsali
    Keymaster

    i just checked your url and it works fine on my side. But i notice the issue in some cases before. I will try to improve this functionality. Thanks for the feedback.

    isaumya
    Participant

    Have you checked the contact page? Really its working?
    But here it is not working on amy browser and even the same issue on the demo.
    I’m using Windows 8.1
    Tested in latest chrome, firefox and opera. Always the problem mentioned above, and always for the contact page only.

    isaumya
    Participant

    this is my site link: http://www.isaumya.com/#/contact
    The page slug is also “contact”
    Check if it is working fine there.

    ahmetsali
    Keymaster

    i just checked your site and it stopped at portfolio page. I will think of a a solution for this and release an update when i come up with a solution. Thanks for the feedback.

    isaumya
    Participant

    Always a pleasure bro :)

    isaumya
    Participant

    @ahmetsali: Any update/fix on this bug bro?

    ahmetsali
    Keymaster

    i can’t really test this since it doesn’t occur on my side. Can you try this and see if it fixes the problem;

    – edit js/triple.layout.js and find line : 238

    for(i=0; i<shortest_way; i++) {
    					setTimeout(function(){ navigate(dir); } , i * 400)
    				}
    				if(!normal_navigate) {
    					setTimeout(function(){ $('html').removeClass('fast-navigate'); } , shortest_way * 400)
    				} else {
    					normal_navigate = false;
    				}
    

    and change it to this;

    for(i=0; i<shortest_way; i++) {
    					setTimeout(function(){ navigate(dir); } , i * 600)
    				}
    				if(!normal_navigate) {
    					setTimeout(function(){ $('html').removeClass('fast-navigate'); } , shortest_way * 600)
    				} else {
    					normal_navigate = false;
    				}
    
    isaumya
    Participant

    This is the code present in line 238.
    I dont understand what you’r asking me to change:

    for(i=0; i<shortest_way; i++) {
    setTimeout(function(){ navigate(dir); } , i * 400)
    }

    isaumya
    Participant

    WOW!!!!!
    I dont know how you did it, but it actually fixed the issue. OMG :)
    You should make this change a permanent change in the next update.
    Thank bro :)

    ahmetsali
    Keymaster

    cool, this is the delay of between each page transition when loading from hashtag. So the lower is better. Can you check if “500” is enough or even “450”.

    isaumya
    Participant

    OK, checking bro…

    isaumya
    Participant

    it seems like 400 is working well in a private browsing window. It might have some issue with my site cookie. What do you think?

    ahmetsali
    Keymaster

    it might be, i will update it as “450” just in case, with the next update. Thanks for the feedback.

    isaumya
    Participant

    OK. Thanks bro.

    leader0403
    Participant

    Where is – edit js/triple.layout.js and find line : 238 file?

    # is attached to all URL of my site.
    For example, a top page, resume, contact, portfolio
    Original
    It is now although it is http://www.soulc.com/.
    It is http://www.soulc.com/#/home.
    Although it is http://www.soulc.com/resume, it is http://www.soulc.com/#/resume.

    Mehmet S.
    Keymaster

    Hi, this is cvCard WP forum. Your theme is BookCard WP, please jump to the right forum:

    http://www.pixelwars.org/forums/forum/wordpress-themes/bookcard-wp

    Thanks

Viewing 19 posts - 1 through 19 (of 19 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register