• Hello

    I am using the voting system pro plugin and have found that each time the main gallery plugin updates the php that I paste into the template index.php page (for the voting to work)is removed.

    <?php echo nggv_imageVoteForm($image->pid); ?>

    How can I make it this is not removed when updating please? It is a real pain having to do this every time.

    Thank you

    https://www.ads-software.com/plugins/nextgen-gallery/

Viewing 1 replies (of 1 total)
  • Plugin Contributor photocrati

    (@photocrati)

    @yandoos – The WordPress plugin update process works by removing all of the existing files/folders/etc. of the plugin being updated and replacing them with the latest version released by the plugin author. Given this, there really is no way to not have a file be “saved” as forcing a file to be retained will, in most cases, stop the update process from completing.

    You may be better off working with the voting plugin’s author to find a better method of maintaining its functionality.

    Thanks!

    – Cais.

Viewing 1 replies (of 1 total)
  • The topic ‘How to retain template index.php after update’ is closed to new replies.