I have tried using the web address that you provide and it doesn't pull up.
I have tried using the web address that you provide and it doesn't pull up.
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
I wanted to make sure I included ALL the changes I made to the includes/languages/english/extra_definitions/MY_TEMPLATE/footer_menu_defines.php file. So let me try posting my issue again with the updated information..
See this site: http : // clientmybeautyaddiction . overthehillweb . com (REMOVE SPACES FROM URL)
In the Information sidebox is a link to the Payment Policy defined page. The page link shows up just fine in the Information sidebox, but in the footer menu it behaves as if I am missing a language file. I am a little stumped as to why..
Here's what the third column code in the includes/languages/english/extra_definitions/MY_TEMPLATE/footer_menu_defines.php file looks like:
Here's the code from the Information sidebox file (includes/modules/sideboxes/custom_template/information.php):Code:/*BOF Menu Column 3 link Definitions*/ Define('TITLE_THREE', '<li class="menuTitle">Customer Service</li>'); Define('SHIPPING', '<li><a href="' . zen_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a></li>'); Define('PAYMENTPOLICY', '<li><a href="' . zen_href_link(FILENAME_PAYMENTPOLICY) . '">' . BOX_INFORMATION_PAYMENTPOLICY . '</a></li>'); Define('PRIVACY', '<li><a href="' . zen_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a></li>'); Define('CONDITIONS','<li><a href="' . zen_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a></li>'); Define('CONTACT','<li><a href="' . zen_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a></li>'); //Define('ACCOUNT', '<li><a href="' . zen_href_link(FILENAME_ACCOUNT, '', 'SSL') .'">' . HEADER_TITLE_MY_ACCOUNT . '</a></li>'); Define('ACCOUNT', ''); /*EOF Menu Column 3 link Definitions*/ /*BOF Menu Column 4 link Definitions*/ Define('TITLE_FOUR', '<li class="menuTitle">Important Links</li>'); /*The actual links are determined by "footer links" set in EZ-Pages *EOF Menu Column 4 link Definitions */ /*BOF Footer Menu Definitions*/ Define('QUICKLINKS', '<dd class="first"> <ul>' . TITLE_ONE . HOME . FEATURED . SPECIALS . NEWPRODUCTS . ALLPRODUCTS . '</ul></dd>'); Define('INFORMATION', '<dd class="second"> <ul>' . TITLE_TWO . ABOUT . SITEMAP . GVFAQ . COUPON . UNSUBSCRIBE . '</ul></dd>'); Define('CUSTOMER_SERVICE', '<dd class="third"> <ul>' . TITLE_THREE . SHIPPING . PAYMENTPOLICY . PRIVACY . CONDITIONS . CONTACT . ACCOUNT . '</ul></dd>'); Define('IMPORTANT', '<dd><ul>' . TITLE_FOUR); Define('IMPORTANT_END', '</ul></dd>'); /*EOF Footer Menu Definitions*/
What gives?? What did I do wrong??Code:if (DEFINE_PAYMENTPOLICY_STATUS <= 1) { $information[] = '<a href="' . zen_href_link(FILENAME_PAYMENTPOLICY) . '">' . BOX_INFORMATION_PAYMENTPOLICY . '</a>'; }
Last edited by DivaVocals; 29 Apr 2012 at 02:16 PM.
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Well I have taken a look and I have no idea what to do. Sorry about that.
Both links work correctly, it's just the text display in the footer that is not picking up the define. Have you checked in Tools > Developers Toolkit on what files use/define that constant? I would suggest that the define is only happening when the sidebox is processed, but since that should be before the footer, and I don't see why an already-defined constant should be unset during page processing, I am also stumped on why it is happening. For a workaround, you could make a new define like FOOTER_PAYMENTPOLICY.
Weird.. Checked with the Developer's Toolkit... No other defines use that same constant.. I created a new define as you suggested, and now "FOOTER_PAYMENTPOLICY" shows instead of "Payment Policy".. I know I could just hard code the correct text in here, but this SHOULD work and I would prefer to NOT hardcode the text in if at all possible.. Call it me being anal..Wish I knew why this isn't working..
![]()
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Hi Diva I transform the about_us page into a payment policy module and use it to test this out. I use the links you provided and use the new module links in the footer. I get the same problems as you. It has something to do with the footer_menu. I have been looking at this for a while now. I will look some more tomorrow and let you know if I find a solution.
Is your site Upgraded to the current version 1.5.4 Yet?
zencart-upgrades-website-installation
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Hello, how do I remove reference to "Newsletter Unsubscribe" under Information in the Footer.
I also want to remove "Featured Products" and "Specials" from the Quick Links in the Footer.
I am using the Upscale Boutique template.
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL, Domain, and MagicThumb with semi-annual and longer hosting
Bookmarks