• Resolved philfirst

    (@philfirst)


    If I set the ‘Jump to Name Directory when searching’ to Yes then it jumps to the right part of the page but shows no search results

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Jeroen Peters

    (@jeroenpeters1986)

    Hi @philfirst,

    thank you for using my plugin! This ‘jump’ is only for the search results after someone inputs a search term and hits Search or clicks a letter.

    But I see what you mean now. It’s also when you pick a letter.

    Unfortunately, your theme is doing this by having sort of a “natural scroll” override, which I cannot disable from withing the Name Directory.

    Kind regards,

    Jeroen Peters

    • This reply was modified 2 years, 9 months ago by Jeroen Peters. Reason: saw the issue
    Thread Starter philfirst

    (@philfirst)

    Hi Jeroen,
    Thank you for getting back to me so quickly.

    I see, I thought the search also included selecting a letter and searching for terms with that letter.

    The problem is on my website if you select a letter the page reloads and jumps to the top https://unforgottenexmoor.firstwebpreview.co.uk/volume-one-summary
    (i’ve changed the jump to search setting back to ‘no’)

    So then you have to scroll down to see the results.

    I don’t know if there is any solution to this?

    Thanks
    Phil

    Plugin Author Jeroen Peters

    (@jeroenpeters1986)

    Hi @philfirst,

    yes I am sorry, I edited my past after I understood your problem better.

    Search and clicking on the letters both is subject to jump.
    Only, your theme unfortunately takes all links ending with #abcd and stops the page from reloading/navigating and is only scrolling the content into view.
    This is not compatible with Name Directory.
    Since this is something in your theme (and probably in a thirtd party library they use) I cannot say if it can be resolved.

    Althought all of the above, I did investigate a little, but it’s all in minified Javascript (https://unforgottenexmoor.firstwebpreview.co.uk/wp-content/themes/Divi/js/scripts.min.js?ver=4.14.6) in which I can’t see the context right. I am pretty confident I found the right piece of JS, but the tricky part is the context. Also, these minified files mostly are managed by your Divi theme, which is generated every time you edit your website. I am not sure I can find a fitting and permanent solution for this, because on update of the theme it might break again.
    But also becuase I have a few blanks (I don’t know how your theme is configured etc) I can make a good estimation on if it can be resolved, I’m sorry!

    Kind regards,

    Jeroen Peters

    Thread Starter philfirst

    (@philfirst)

    Hi Jeroen,
    Thanks so much for looking in to this!
    I think I may be able to turn off the minified Javascript settings in the theme which I think I have just done (though not sure)… I don’t know if that helps.

    This is the only plugin I have managed to find after extensively looking again that does exactly this job – so if there is any fix that would be great.

    Though understand if it is too complex to be able to fix.

    Thanks and Kind Regards
    Phil

    Plugin Author Jeroen Peters

    (@jeroenpeters1986)

    Hi @philfirst,

    I’m sorry but there is not really much I can do in this version of the plugin in combination with your theme. What I could do is create a special version for you with custom code that would also get the focus on the right place of the page. But as this is specific and custom just for you, this would be a paid assignment.
    Is this something you would consider?

    Kind regards,

    Jeroen Peters

    Thread Starter philfirst

    (@philfirst)

    Hi Jeroen,

    Thanks so much with your help with this… and thanks for the offer of doing a custom paid for version of the plugin, though I think I will just see if there is a work around or some other way I do the lists of names.

    Kind Regards
    Phil

    Plugin Author Jeroen Peters

    (@jeroenpeters1986)

    Hey @philfirst,

    not a problem of course. I see you work at a company which creates websites, you might have a skilled developer in house to fix it with my hints.
    If this is not the case, and you would like to still use my offer, you can reply here ??

    Kind regards,

    Jeroen Peters

    Thread Starter philfirst

    (@philfirst)

    Yes we have a developer who will help me out with this but appreciate the great support for your plugin and all your help ??

    Thanks
    Phil

    Plugin Author Jeroen Peters

    (@jeroenpeters1986)

    Thanks for your kind words @philfirst
    If you’ll spare a minute or two, would you consider leaving a review? This can help others find Name Directory as well.

    All the best,

    Jeroen Peters

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Jump to Name Directory when searching not working’ is closed to new replies.