<li>/includes/templates/YOUR_TEMPLATE/templates/tpl_flexible_footer_menu.php</li></ol></li>

Flexible Footer Menu Multilingual v1.6:

Status: working with ZC158 and php82.
Report bugs in the GitHub Repository:
https://github.com/Zen4All-nl/Flexible-Footer-Menu-Multilingual-for-Zen-Cart/issues

Installation

The install creates two new tables in the database to store the data of the footer menu items.

  1. TEST ON A DEVELOPMENT SERVER - ALWAYS
  2. Backup both your Zen Cart installation and database — this plugin will modify both.
  3. Double-check the backup you just created. Better safe than sorry!
  4. Unzip the plugin's distribution zip-file into a temporary directory.
    The template folders have been left as "responsive_classic" to allow easy/immediate testing. Duplicate those directories to match your custom template's name and the "YOUR_ADMIN" directory to match your renamed admin folder.
  5. Your best approach for installing any new software is to use a local copy for your testing before deploying the changes to your live store.
    If you must install this directly on your live store, put your store into Maintenance Mode using your admin's Configuration->Maintenance Mode->Down for Maintenance setting, first. You'll then either copy the files to your local installation or use your FTP/SFTP program to copy the files to your hosted store.
  6. Check to see if your installation already has the following template-override file. If the file is not present, copy the file from the template_default directory; otherwise, use file-merging software to merge this plugin's changes into the file prior to copying:
    1. /includes/templates/YOUR_TEMPLATE/common/tpl_footer.php
  7. Sign into your Zen Cart admin.
  8. Copy the admin-level files to your store:
    1. /YOUR_ADMIN/ffmm_install.php
    2. /YOUR_ADMIN/flexible_footer_menu.php
    3. /YOUR_ADMIN/includes/extra_datafiles/flexible_footer_menu_database_names.php
    4. /YOUR_ADMIN/includes/extra_datafiles/flexible_footer_menu_filenames.php
    5. /YOUR_ADMIN/includes/functions/extra_functions/footer_menu_install_functions.php
    6. /YOUR_ADMIN/includes/functions/extra_functions/footer_menu_functions.php
    7. /YOUR_ADMIN/includes/languages/english/flexible_footer_menu.php
    8. /YOUR_ADMIN/includes/languages/english/extra_definitions/flexible_footer_menu.php
  9. Copy the store-side files, now that the database table has been created:
    1. /images/footer_images/facebook.png
    2. /images/footer_images/Home.png
    3. /images/footer_images/information.png
    4. /images/footer_images/instagram.png
    5. /images/footer_images/twitter.png
    6. /includes/extra_datafiles/flexible_footer_menu.php
    7. /includes/functions/extra_functions/flexible_footer_menu_functions.php
    8. /includes/modules/YOUR_TEMPLATE/flexible_footer_menu.php
    9. /includes/templates/YOUR_TEMPLATE/common/tpl_footer.php
    10. /includes/templates/YOUR_TEMPLATE/css/stylesheet_flexible_footer_menu.css
    11. /includes/templates/YOUR_TEMPLATE/templates/tpl_flexible_footer_menu.php
  10. Click the Home Link
  11. Go to Tools>Flexible Footer Menu Install
  12. Follow the Install / Upgrade or Uninstall Instructions

Changelog

Version 1.6 12-07-2023 torvista
Reviewed and updated all the files for use with ZC 1.5.8 and php 8.2,. Removed paging to show all definitions on one page.
I was intending to use it, but in the end went for a manually-coded solution.

Version 1.3 04-12-2017 Design75

  • Removed file "YOUR_ADMIN/includes/init_includes/overrides/init_sanitize.php", and replaced by "YOUR_ADMIN/includes/extra_datafiles/flexible_footer_sanitizer.php".
    This eliminate the need of editing core files.
    I also added additional fields, there are four in total:
    • col_header -> The column header
    • page_title -> The title
    • col_html_text -> The html text
    • page_url -> The url
  • Restored the "YOUR_TEMPLATE" folder names, after they ere renamed in the previous version to the writers own template name

Version 1.2 06-24-2015 Nick1973

  • added and changed includes/init_includes/overrides/init_sanitize.php -

    Around line 214/216 depending on your editor:

    $group = array('products_description', 'coupon_desc', 'file_contents', 'categories_description', 'message_html', 'banners_html_text', 'pages_html_text', 'comments', 'products_options_comment');

    Changed to:

    $group = array('products_description', 'coupon_desc', 'file_contents', 'categories_description', 'message_html', 'banners_html_text', 'pages_html_text', 'comments', 'products_options_comment', 'col_html_text');

    'col_html_text' added. This ensures rendering of HTML correctly if using CK Editor or Tiny MCE.

    As described by rbarbour here https://www.zen-cart.com/showthread.php?209715-Flexible-Footer-Columns-Menu-for-1-5-x/page7 on the 4th post.

Version 1.1 06-24-2015 Design75

  • updated includes\modules\YOUR_TEMPLATE\flexible_footer_menu.php
  • updated YOUR_ADMIN\includes\languages\english\extra_definitions\flexible_footer_menu.php
  • added YOUR_ADMIN\includes\languages\english\flexible_footer_menu.php