• Hi,

    I updated the plugin and since then on my homepage, the page autoscroll to the section with the shortcode. i tried to turn off some plugins etc to see if it was caused by a conflict with another plugin but still the same problem.

    any way to fix this issue?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author e4jvikwp

    (@e4jvikwp)

    Hi,

    VikRestaurants forces an auto-scroll whenever the beginning of a shortcode is not immediately visible within the page. It is possible to safely disable the animation of the pages by inserting a new record within the configuration database table of VikRestaurants.

    Therefore you should access your database panel (such as SQL adminer or PhpMyAdmin) and launch the following SQL Insert command.

    INSERT INTO {wp}_vikrestaurants_config (param, setting) VALUES ('animatepages', 0);

    Don’t forget to replace {wp} with the real prefix used by your database.

    After launching the query, VikRestaurants should stop using the auto-scroll on all the pages.

    • This reply was modified 1 month, 2 weeks ago by e4jvikwp. Reason: Bad format used for SQL escaping backtick
    Thread Starter ropson

    (@ropson)

    Thank you for that i can see it works but comoletely disable the autoscroll even when making a booking. Is it possible to have the autoscroll only when someone is making a booking? As for a one pager website if autoscroll on at all time people only getting to see the booking module but on the other and when auto scoll of when making booking customer have to long scroll down to complete their booking.

    thanks

    Plugin Author e4jvikwp

    (@e4jvikwp)

    Unfortunately, at the moment, it is not possible to use the auto-scroll animation in some pages only. If you need to use the auto-scroll only when the booking process has started, I recommend you to publish the VikRestaurants Search widget instead of directly using the Reservation Form shortcode.

    This way the search widget won’t be affected by the auto-scroll, which will be properly used for all the next pages instead. Bear in mind that the search widget does basically the same things of the reservation form shortcode.

    Since you disabled the auto-scroll, you should re-enable it by deleting the previously inserted value. This is the SQL code that you should execute:

    DELETE FROM {wp}_vikrestaurants_config WHERE param = 'animatepages';
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.