I can PM you the link, I am putting together a template but it is not yet ready for public eyes - still a work in progress.
I can PM you the link, I am putting together a template but it is not yet ready for public eyes - still a work in progress.
OK, that would be fine for now:)
Sent you the link Glenn. Would like to know what you think?
Yes indeed! I look forward to being able to point to it as an example of what can be done with the mod, strictly using the built-in capabilities.
Okay, I'm feeling like a complete idiot right now. Hope you can help.
I've double checked that my files are in the correct place. My footer display status is at 1. I've added 4 "links" in my EZ-pages section and given them the following footer sort numbers (110,210,310,410) just to start.
My latest cache debug reads as follows:
[05-May-2011 18:02:14] PHP Warning: Division by zero in D:\Hosting\5876595\html\buy\includes\templates\Gaius\templates\tpl_ezpages_bar_f ooter.php on line 45
I checked the file, the line it is referring to is this:
$col_width = (int)(100/$cols);//update divs with % width
The page I am currently working with is here:
http://www.theindigopath.com/buy
As you can see, there is a red bar where the footer should be, but nothing there.
While I'm asking, I might as well ask about the EZ pages to be sure I'm setting them up correctly. I am setting them up using the Admin>Tools>EZ-Pages page. Creating a new file for each link. Is this and the following correct?
Page Title: This will be the text of the link.
Internal Link: This is the page it links to.
Header, TOC, Sidebox are off
Footer is on: 110 (sort number)
I've just started using ZenCart so I'm still trying to adjust to not having to dig through code to make any additional changes. Thanks in advance for your help!
First I'm glad I found this mod. I was having difficulty with another footer menu and this one installed smoothly.
One thing though. I tried several css codes but I'm not versed on it. My shop width is 960px. I used firebug to see if there was anything I could change but could not. Can you help please?
I can help if I can see your site, and know what it is that you want to change.
gaius - The warning indicates that there are no ez-page columns to be displayed. That should only happen if the ez-pages set for the footer don't have sort orders. If there are no ez-pages set for the footer, tpl_ezpages_bar_footer.php will skip all processing and you would not get the error.
You have Configuration > EZ-Pages Settings > EZ-Pages Display Status - FooterBar set to 1, correct?
The line you quote from tpl_ezpages_bar_footer.php is the correct custom version. Do you have /includes/modules/your_template/ezpages_bar_footer.php with your_template changed to your template name? If that file is not in the correct place, there would be no sort order info available to be used.
I just double checked the folders, everything is named properly (including your_template changed to my template's name). I've also just double checked that footerbar is set to 1. I changed it to 0, and then back to 1.
I re-uploaded /includes/modules/your_template/ezpages_bar_footer.php to the website. Now the red bar isn't there anymore, either.
New Debug says:
PHP Fatal error: Call to undefined function active_page_class() in D:\Hosting\5876595\html\buy\includes\templates\Gaius\templates\tpl_ezpages_bar_f ooter.php on line 32
Refers to the following code:
$page_query_list_footer[$rows]['altURL'] = '';
I'm off to go camping for the weekend, and will work on this more when I get back on Monday. Thank you again for your help.
If the function is undefined, you must not have ezpages_footer_columns_functions.php in the correct location, or it is corrupt.
Maybe you should re-upload all of the files, taking special care with the /Gaius/ foldernames. Then look at the files to be sure they have good content once they are on the server.
Bookmarks