Re: Ezpages Footer Columns support
Sorry, here is the code from that file:
<?php
/**
*
* @copyright Copyright 2010 Glenn Herbert
* @copyright Portions Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.gnu.org/licenses/ GNU Public License V3.0
* @version $Id: /includes/functions/extra_functions/ezpages_improved_menus_functions.php
*Ezpages Footer Columns copy of master file from Ezpages Improved Menus by Glenn Herbert (gjh42) 2010-11-20
*/
//call as active_page_class($var_linksList[$i]['id'],$var_linksList[$i]['altURL']);
function active_page_class($ezpid,$alturl) {
global $this_is_home_page;
$active = '';
if($_GET['main_page'] == 'page') {
$active = ($_GET['id'] == $ezpid)? ' class="activeEZPage"': '';
}elseif($alturl) {
$alturl = htmlspecialchars_decode(str_replace(HTTP_SERVER . DIR_WS_CATALOG,'/',$alturl));
$active = ((strstr($_SERVER['REQUEST_URI'],$alturl) and !strstr('/index.php?main_page=index',$alturl)) or ($this_is_home_page and strstr('/index.php?main_page=index',$alturl)))?' class="activeILPage"': '';
}
return $active;
}
?>
Re: Ezpages Footer Columns support
The htmlspecialchars_decode() function was introduced in PHP5.1.0, so if your server's version of PHP is older than that, it won't work.
Sorry, I don't know a way around using that function at this point. Any link that uses an & character will not work correctly in this mod without the function.
Fewer and fewer hosts are going to be using old versions of PHP, and you might ask your host to upgrade. Be aware that ZC v1.3.8a will only work up through PHP5.2.x without a patch (available in the forum), so if you have that old version, you should patch (or better upgrade) before asking your host to upgrade.
Re: Ezpages Footer Columns support
I am using zen version 1.3.9H and just logged in to check the PHP in and it says I'm using version "PHP version 5.2.14"
Is there anything else I should do? :\
Re: Ezpages Footer Columns support
ugh, n/m...now it magically works. :censored:
Thank you for the help though! :)
Re: Ezpages Footer Columns support
Re: Ezpages Footer Columns support
Why see me like this?
There is a picture below - How do I delete it?
Thanks
http://www.king-magic.com/
Re: Ezpages Footer Columns support
You are not using the Ezpages Footer Columns mod there, but the Footer Menu mod. I don't see any image below it now, anyway.
Re: Ezpages Footer Columns support
First of all I would like to say thank you to gjh42 for the simple yet very affective addon.
I am currently upgrading to 1.3.9h and everything in the mod works great. I am only having a browser issue while attempting a total of 4 columns.
In Mozilla all four columns line up side by side with no problems. In IE8 the last column lines up underneath the first column.
I have attempted to fix this in the css but I have very limited skills in css.
Any help would be greatly appreciated!
Here is a link to my temporary site. http://www.atfbilletparts.com/storeh
Re: Ezpages Footer Columns support
In your stylesheet_ezpages_footer_columns.css, find this rule and add the part in red:
.ezpagesFooterCol {float: left; padding: 0 0 0.5em 0; width: 24.9% !important; }
Note that you will have to adjust this manually if you change the number of columns.
Re: Ezpages Footer Columns support
The changes worked perfectly. It is amazing that hours of misery can be resolved in matter of seconds. Thank you for the response. Hope I can be a help someday.