Forums / All Other Contributions/Addons / Flexible Footer Menu Multilingual [Support Thread]

Flexible Footer Menu Multilingual [Support Thread]

Views: 40,125

Results 121 to 132 of 132
4 Jun 2023, 6:22 PM
#121
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,852
Plugin Contributions:
18

Flexible Footer Menu Multilingual [Support Thread]

It's not a good idea to mix "formats" when doing templates. Just as boostrap has it's own slider, there are many footers available as well.

Head on over to https://mdbootstrap.com/docs/standard/navigation/footer/examples-and-customization/ and find something that flips your switch.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

4 Jun 2023, 6:48 PM
#122
mikeyg avatar

mikeyg

Totally Zenned

Join Date:
May 2005
Posts:
515
Plugin Contributions:
0

Re: Flexible Footer Menu Multilingual [Support Thread]

dbltoe

Thank you for the link... does this get hard coded or can it be driven from the database. The nice thing about the flexible footer was that it is database driven and so changes are simple if for example my partner wants to change something without having to go into the php files. I want to tackle sliders and things next on the front page and again was going to use the code from the Westminster new as I could not see how to do it from the bootstrap settings. I clearly need to do a bit more learning/research.

4 Jun 2023, 7:02 PM
#123
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,852
Plugin Contributions:
18

Re: Flexible Footer Menu Multilingual [Support Thread]

I didn't look through all of them but, the folks managing bootstrap are a lot more current than just HTML and CSS.

That said, most code is easily "massaged" to use links, iframes, videos, or database information.

For instance, with the Four column footer, most of the Contact items are already ZC variables in the database.```

<div class="col-md-3 col-lg-3 col-xl-3 mx-auto mt-3"> <h6 class="text-uppercase mb-4 font-weight-bold"> Company name </h6> <p> Here you can use rows and columns to organize your footer content. Lorem ipsum dolor sit amet, consectetur adipisicing elit. </p> </div> ```could be changed to ``` <div class="col-md-3 col-lg-3 col-xl-3 mx-auto mt-3"> <h6 class="text-uppercase mb-4 font-weight-bold"> <?php echo $STORE_NAME; ?> </h6> <p> Here you can use rows and columns to organize your footer content. Lorem ipsum dolor sit amet, consectetur adipisicing elit. </p> </div> ```

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

5 Jun 2023, 2:00 PM
#124
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,114
Plugin Contributions:
56

Re: Flexible Footer Menu Multilingual [Support Thread]

MikeyG:

dbltoe

Thank you for the link... does this get hard coded or can it be driven from the database. The nice thing about the flexible footer was that it is database driven and so changes are simple if for example my partner wants to change something without having to go into the php files. I want to tackle sliders and things next on the front page and again was going to use the code from the Westminster new as I could not see how to do it from the bootstrap settings. I clearly need to do a bit more learning/research.
Bootstrap 4 Front Page Slider: https://github.com/lat9/bs4_home_slider

3 Jul 2023, 4:04 PM
#125
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,875
Plugin Contributions:
7

Re: Flexible Footer Menu Multilingual [Support Thread]

Is there a current alternative to this add-on in 2023?

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

15 Aug 2023, 8:02 PM
#126
IDEASLady avatar

IDEASLady

Totally Zenned

Join Date:
Aug 2005
Location:
Trujillo Alto, Puerto Rico
Posts:
1,446
Plugin Contributions:
3

Re: Flexible Footer Menu Multilingual [Support Thread]

I'm updating a store from v1.5.5f to v1.5.8a, the current site has FFMM installed, so I'm bringing that data. The new footer looks OK and it seems to be working correctly. Although, I'm having 2 issues:

  • the CKEditor doesn't show up on the page
  • It doesn't let me insert new items
    All the items from the current DB are/were showing up in the new store, and I can edit them accordingly and FFMM will accept the changes; BUT it won't insert anything new, even if is just text.

These are the errors in my log:

[15-Aug-2023 15:53:14 America/Puerto_Rico] Request URI: /new_shop/*admin*/index.php?cmd=flexible_footer_menu&page=&action=update, IP address: 24.55.69.103, Language id 1
#1  AdminRequestSanitizer->filterProductUrlRegex() called at [/home1/mystore/public_html/new_shop/*admin*/includes/classes/AdminRequestSanitizer.php:301]
#2  AdminRequestSanitizer->processBuiltIn() called at [/home1/mystore/public_html/new_shop/*admin*/includes/classes/AdminRequestSanitizer.php:212]
#3  AdminRequestSanitizer->runSpecificSanitizer() called at [/home1/mystore/public_html/new_shop/*admin*/includes/classes/AdminRequestSanitizer.php:190]
#4  AdminRequestSanitizer->runSanitizers() called at [/home1/mystore/public_html/new_shop/*admin*/includes/init_includes/init_sanitize.php:307]
#5  require_once(/home1/mystore/public_html/new_shop/*admin*/includes/init_includes/init_sanitize.php) called at [/home1/mystore/public_html/new_shop/includes/autoload_func.php:40]
#6  require(/home1/mystore/public_html/new_shop/includes/autoload_func.php) called at [/home1/mystore/public_html/new_shop/*admin*/includes/application_top.php:42]
#7  require(/home1/mystore/public_html/new_shop/*admin*/includes/application_top.php) called at [/home1/mystore/public_html/new_shop/*admin*/flexible_footer_menu.php:15]
#8  require(/home1/mystore/public_html/new_shop/*admin*/flexible_footer_menu.php) called at [/home1/mystore/public_html/new_shop/*admin*/index.php:11]
--> PHP Warning: Invalid argument supplied for foreach() in /home1/mystore/public_html/new_shop/*admin*/includes/classes/AdminRequestSanitizer.php on line 515.

The module used was the recent version posted on GitHub.

Can someone help me with this issue?

IDEASLady
IDEAS Creative Studio

Your image... our business!

2 Sep 2023, 7:34 PM
#127
valencia avatar

valencia

New Zenner

Join Date:
Jul 2010
Location:
England
Posts:
17
Plugin Contributions:
0

Re: Flexible Footer Menu Multilingual [Support Thread]

I'm updating a store from v1.5.7d to v1.5.8a, the current site has FFMM installed and all the database info carries over to the new site just fine.
My problem is also like yours as the data in the footer can be modified but unable to create new data. I also have the exact same PHP warning in the logs.
I have found by swapping the admin/
flexible_footer_menu.php as found on the latest GitHub release with the file from my old version rectifies the problem of being able to create new data, but I can't determine where in the file is the problem.
It also still throws exactly the same PHP Warning in admin/includes/classes/AdminRequestSanitizer.php on line 515. :unsure:

Top Quality Belgian Chocolates and Continental Confectionery.
https://www.sweetmomentsuk.co.uk

4 Sep 2023, 7:59 AM
#128
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,875
Plugin Contributions:
7

Re: Flexible Footer Menu Multilingual [Support Thread]

While your site is not bleeding edge, you need this fix for this mod:

https://github.com/zencart/zencart/issues/5849

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

6 Sep 2023, 9:30 PM
#129
valencia avatar

valencia

New Zenner

Join Date:
Jul 2010
Location:
England
Posts:
17
Plugin Contributions:
0

Re: Flexible Footer Menu Multilingual [Support Thread]

torvista:

While your site is not bleeding edge, you need this fix for this mod:

https://github.com/zencart/zencart/issues/5849

Thank you for the fix above regarding AdminRequestSanitizer.php
I have applied all the line changes 511 to 535 and it works like a dream in my 158a test site. :clap: No more errors recorded in the log files when updating Flexible Footer from the admin.

:cheers:

Top Quality Belgian Chocolates and Continental Confectionery.
https://www.sweetmomentsuk.co.uk

1 Jun 2025, 7:59 AM
#130
gernot avatar

gernot

Zen Follower

Join Date:
Feb 2017
Location:
Tokyo, Japan
Posts:
334
Plugin Contributions:
0

Re: Flexible Footer Menu Multilingual [Support Thread]

I was able to make this wonderful plugin (the current latest version v1.5 which I already had installed on my existing ZC v1.5.6c installation) work perfectly well with ZC v2.1.0.
Necessary changes:1. language file format update
2. addition of TEXT_INFO_PAGES_ID and TEXT_INFO_PAGES_ID _SELECT to language files (used in header of admin page)
3. updates and bug fixes to the module file:
4. - update the header content to new format to use admin_html_head.php
5. - fix bug where page_url was unquoted in zen_set_field_length()
6. - remove onLoad="init()" from body tag
7. - various updates to require and array statementsI also still needed the fix in ADMIN/includes/classes/AdminRequestSanitizer.php (https://github.com/zencart/zencart/issues/5849) in function filterProductUrlRegex(). The logic has since changed to the opposite, so it was changing php if (!isset($_POST[$parameterName])) to ```php
if (empty($_POST[$parameterName]))

Not sure if I should upload this as a new version, happy to try if that is helpful.

Zen Cart 1.5.6c modified for Japanese language support. Upgraded incrementally from initial 1.5.5d. Currently planning direct upgrade to 2.1.0

1 Jun 2025, 1:18 PM
#131
gernot avatar

gernot

Zen Follower

Join Date:
Feb 2017
Location:
Tokyo, Japan
Posts:
334
Plugin Contributions:
0

Re: Flexible Footer Menu Multilingual [Support Thread]

Correction: "updates and bug fixes to the module file:" should be updates to the configuration file, and also the installation file with respect to header, array and require syntax changes.

Zen Cart 1.5.6c modified for Japanese language support. Upgraded incrementally from initial 1.5.5d. Currently planning direct upgrade to 2.1.0

29 Jun 2025, 2:06 AM
#132
nldav avatar

nldav

New Zenner

Join Date:
Jan 2005
Posts:
55
Plugin Contributions:
0

Re: Flexible Footer Menu Multilingual [Support Thread]

gernot:

Not sure if I should upload this as a new version, happy to try if that is helpful.

Well eehh yes, why not?

You made quite some changes while I have no idea what you all exactly did, you only summarized it in this post? I just moved from 1.5.7d to 2.1.0 and I'm using this plugin.