Results 1 to 10 of 535

Hybrid View

  1. #1
    Join Date
    Jun 2009
    Posts
    617
    Plugin Contributions
    0

    Idea or Suggestion Re: Footer Menu Support Thread

    Quote Originally Posted by clydejones View Post
    In that case, you're going to have to roll up your sleeves and work on the footer_menu_defines.php file.

    each of the columns is defined in its own section.

    I'll use column three for this example. All these links use Zen Cart pages.

    PHP Code:
    /*BOF Menu Column 3 link Definitions*/
    Define('TITLE_THREE''<li class="menuTitle">Customer Service</li>');
    Define('CONTACT','<li><a href="' zen_href_link(FILENAME_CONTACT_US) . '">' BOX_INFORMATION_CONTACT '</a></li>');
    Define('SHIPPING''<li><a href="' zen_href_link(FILENAME_SHIPPING) . '">' BOX_INFORMATION_SHIPPING '</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('ACCOUNT''<li><a href="' zen_href_link(FILENAME_ACCOUNT'''SSL') .'">' HEADER_TITLE_MY_ACCOUNT '</a></li>');
    /*EOF Menu Column 3 link Definitions*/ 
    You can change the define statements to your liking:
    change the constant If you wish.
    Since I'm not sure whether you will be using internal or external links, I'll use external links.

    Define('CONDITIONS','<li><a href=" http://your_link.com">this is my link</a></li>');

    Now You'll need to make sure that you include any changes to the constants appear in the "footer menu defines

    Define('CUSTOMER_SERVICE', '<dd class="third">
    <ul>' . TITLE_THREE . CONTACT . SHIPPING . PRIVACY . CONDITIONS . ACCOUNT . '</ul></dd>');
    Hi Clyde,

    Thanks for the reply. I just finished making about 15 footer links via EZPages, all INTERNAL LINKS. Man that was easy, love Zen Cart!

    How would I go about setting up footer_menu_defines.php to have columns 2,3,4 be EZ Pages INTERNAL links at about 5 links a column.

    Again your help is very much appreciated.
    Thank you,
    autoace

  2. #2
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Footer Menu Support Thread

    Quote Originally Posted by autoace View Post
    Hi Clyde,

    Thanks for the reply. I just finished making about 15 footer links via EZPages, all INTERNAL LINKS. Man that was easy, love Zen Cart!

    How would I go about setting up footer_menu_defines.php to have columns 2,3,4 be EZ Pages INTERNAL links at about 5 links a column.

    Again your help is very much appreciated.
    You can't. columns 2 and 3 will have to be edited with your internal links.

    just follow the pattern in the define statements

    Column 4 can be left as ez pages links

  3. #3
    Join Date
    Jun 2009
    Posts
    617
    Plugin Contributions
    0

    Idea or Suggestion Re: Footer Menu Support Thread

    Quote Originally Posted by clydejones View Post
    You can't. columns 2 and 3 will have to be edited with your internal links.

    just follow the pattern in the define statements

    Column 4 can be left as ez pages links
    Ok, Clyde, thanks for the great info. Doing as advised I constructed define statements for my internal links leaving column 4 alone.

    I basically just reorganized column 1 and then made define statements for columns 2 and 3.

    Can you take a look at my code and tell me if there is anything wrong with it (errors in logic or syntax). The following is my customized file:

    I spaced the define statements out to make them easier to read

    /*BOF Menu Column 1 link Definitions*/
    Define('TITLE_ONE', '<li class="menuTitle">Company</li>'); //table heading

    Define('ABOUT', '<li><a href="' . zen_href_link(FILENAME_ABOUT_US) . '">' . BOX_INFORMATION_ABOUT_US . '</a></li>');

    Define('CONTACT','<li><a href="' . zen_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a></li>');

    Define('CONDITIONS','<li><a href="' . zen_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a></li>');

    Define('PRIVACY', '<li><a href="' . zen_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a></li>');

    Define('SITEMAP', '<li><a href="' . zen_href_link(FILENAME_SITE_MAP) . '">' . BOX_INFORMATION_SITE_MAP . '</a></li>');
    /*EOF Menu Column 1 link Definitions*/

    /*BOF Menu Column 2 link Definitions*/
    Define('TITLE_TWO', '<li class="menuTitle">Account Information</li>'); //table heading possible error below

    Define('LOGIN', '<li><a href="' . zen_href_link(FILENAME_LOGIN, '', 'SSL') .'">' . HEADER_TITLE_LOGIN . '</a></li>');

    Define('ACCOUNT', '<li><a href="' . zen_href_link(FILENAME_ACCOUNT, '', 'SSL') .'">' . HEADER_TITLE_MY_ACCOUNT . '</a></li>');

    Define('ADDRESSBOOK', '<li><a href="' . zen_href_link(FILENAME_ADDRESS_BOOK, '', 'SSL') .'">' . HEADER_TITLE_ADDRESS_BOOK . '</a></li>');

    Define('ACCOUNTHISTORY', '<li><a href="' . zen_href_link(FILENAME_ACCOUNT_HISTORY, '', 'SSL') .'">' . HEADER_TITLE_ACCOUNT_HISTORY . '</a></li>');

    Define('UNSUBSCRIBE', '<li><a href="' . zen_href_link(FILENAME_UNSUBSCRIBE) . '">' . BOX_INFORMATION_UNSUBSCRIBE . '</a></li>');

    Define('ACCOUNTNOTIFICATIONS', '<li><a href="' . zen_href_link(FILENAME_ACCOUNT_NOTIFICATIONS, '', 'SSL') .'">' . HEADER_TITLE_ACCOUNT_NOTIFICATIONS . '</a></li>');
    /*EOF Menu Column 2 link Definitions*/

    /*BOF Menu Column 3 link Definitions*/
    Define('TITLE_THREE', '<li class="menuTitle">Shopping Links</li>'); //table heading

    Define('ADVANCEDSEARCH', '<li><a href="' . zen_href_link(FILENAME_ADVANCED_SEARCH) . '">' . BOX_INFORMATION_ADVANCED_SEARCH . '</a></li>');

    Define('SHOPPINGCART', '<li><a href="' . zen_href_link(FILENAME_SHOPPING_CART, '', 'SSL') .'">' . HEADER_TITLE_SHOPPING_CART . '</a></li>');

    Define('NEWPRODUCTS', '<li><a href="' . zen_href_link(FILENAME_PRODUCTS_NEW) . '">' . BOX_HEADING_WHATS_NEW . '</a></li>');

    Define('SPECIALS', '<li><a href="' . zen_href_link(FILENAME_SPECIALS) . '">' . BOX_HEADING_SPECIALS . '</a></li>');

    Define('FEATURED','<li><a href="' . zen_href_link(FILENAME_FEATURED_PRODUCTS) . '">' . TABLE_HEADING_FEATURED_PRODUCTS . '</a></li>');

    Define('ALLPRODUCTS', '<li><a href="' . zen_href_link(FILENAME_PRODUCTS_ALL) . '">' .CATEGORIES_BOX_HEADING_PRODUCTS_ALL . '</a></li>');
    /*EOF Menu Column 3 link Definitions*/

    /*BOF Menu Column 4 link Definitions*/
    Define('TITLE_FOUR', '<li class="menuTitle">Customer Support</li>');
    /*The actual links are determined by "footer links" set in EZ-Pages
    *EOF Menu Column 4 link Definitions
    */

    /*BOF Footer Menu Definitions*/ //table headings definitions
    Define('COMPANY', '<dd class="first">
    <ul>' . TITLE_ONE . HOME . FEATURED . SPECIALS . NEWPRODUCTS . ALLPRODUCTS . '</ul></dd>');
    Define('ACCOUNT_INFORMATION', '<dd class="second">
    <ul>' . TITLE_TWO . ABOUT . SITEMAP . GVFAQ . COUPON . UNSUBSCRIBE . '</ul></dd>');
    Define('SHOPPING_LINKS', '<dd class="third">
    <ul>' . TITLE_THREE . CONTACT . SHIPPING . PRIVACY . CONDITIONS . ACCOUNT . '</ul></dd>');
    Define('CUSTOMER_SUPPORT', '<dd><ul>' . TITLE_FOUR);
    Define('CUSTOMER_SUPPORT_END', '</ul></dd>');
    /*EOF Footer Menu Definitions*/

    Also do I need to leave all of the EZPages that I created last night in order for this file to work or do I delete them or .... please advise.

    Thanks for all your help!
    Thank you,
    autoace

  4. #4
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Footer Menu Support Thread

    Quote Originally Posted by autoace View Post
    Ok, Clyde, thanks for the great info. Doing as advised I constructed define statements for my internal links leaving column 4 alone.

    I basically just reorganized column 1 and then made define statements for columns 2 and 3.

    Can you take a look at my code and tell me if there is anything wrong with it (errors in logic or syntax). The following is my customized file:

    I spaced the define statements out to make them easier to read

    /*BOF Menu Column 1 link Definitions*/
    Define('TITLE_ONE', '<li class="menuTitle">Company</li>'); //table heading

    Define('ABOUT', '<li><a href="' . zen_href_link(FILENAME_ABOUT_US) . '">' . BOX_INFORMATION_ABOUT_US . '</a></li>');

    Define('CONTACT','<li><a href="' . zen_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a></li>');

    Define('CONDITIONS','<li><a href="' . zen_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a></li>');

    Define('PRIVACY', '<li><a href="' . zen_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a></li>');

    Define('SITEMAP', '<li><a href="' . zen_href_link(FILENAME_SITE_MAP) . '">' . BOX_INFORMATION_SITE_MAP . '</a></li>');
    /*EOF Menu Column 1 link Definitions*/

    /*BOF Menu Column 2 link Definitions*/
    Define('TITLE_TWO', '<li class="menuTitle">Account Information</li>'); //table heading possible error below

    Define('LOGIN', '<li><a href="' . zen_href_link(FILENAME_LOGIN, '', 'SSL') .'">' . HEADER_TITLE_LOGIN . '</a></li>');

    Define('ACCOUNT', '<li><a href="' . zen_href_link(FILENAME_ACCOUNT, '', 'SSL') .'">' . HEADER_TITLE_MY_ACCOUNT . '</a></li>');

    Define('ADDRESSBOOK', '<li><a href="' . zen_href_link(FILENAME_ADDRESS_BOOK, '', 'SSL') .'">' . HEADER_TITLE_ADDRESS_BOOK . '</a></li>');

    Define('ACCOUNTHISTORY', '<li><a href="' . zen_href_link(FILENAME_ACCOUNT_HISTORY, '', 'SSL') .'">' . HEADER_TITLE_ACCOUNT_HISTORY . '</a></li>');

    Define('UNSUBSCRIBE', '<li><a href="' . zen_href_link(FILENAME_UNSUBSCRIBE) . '">' . BOX_INFORMATION_UNSUBSCRIBE . '</a></li>');

    Define('ACCOUNTNOTIFICATIONS', '<li><a href="' . zen_href_link(FILENAME_ACCOUNT_NOTIFICATIONS, '', 'SSL') .'">' . HEADER_TITLE_ACCOUNT_NOTIFICATIONS . '</a></li>');
    /*EOF Menu Column 2 link Definitions*/

    /*BOF Menu Column 3 link Definitions*/
    Define('TITLE_THREE', '<li class="menuTitle">Shopping Links</li>'); //table heading

    Define('ADVANCEDSEARCH', '<li><a href="' . zen_href_link(FILENAME_ADVANCED_SEARCH) . '">' . BOX_INFORMATION_ADVANCED_SEARCH . '</a></li>');

    Define('SHOPPINGCART', '<li><a href="' . zen_href_link(FILENAME_SHOPPING_CART, '', 'SSL') .'">' . HEADER_TITLE_SHOPPING_CART . '</a></li>');

    Define('NEWPRODUCTS', '<li><a href="' . zen_href_link(FILENAME_PRODUCTS_NEW) . '">' . BOX_HEADING_WHATS_NEW . '</a></li>');

    Define('SPECIALS', '<li><a href="' . zen_href_link(FILENAME_SPECIALS) . '">' . BOX_HEADING_SPECIALS . '</a></li>');

    Define('FEATURED','<li><a href="' . zen_href_link(FILENAME_FEATURED_PRODUCTS) . '">' . TABLE_HEADING_FEATURED_PRODUCTS . '</a></li>');

    Define('ALLPRODUCTS', '<li><a href="' . zen_href_link(FILENAME_PRODUCTS_ALL) . '">' .CATEGORIES_BOX_HEADING_PRODUCTS_ALL . '</a></li>');
    /*EOF Menu Column 3 link Definitions*/

    /*BOF Menu Column 4 link Definitions*/
    Define('TITLE_FOUR', '<li class="menuTitle">Customer Support</li>');
    /*The actual links are determined by "footer links" set in EZ-Pages
    *EOF Menu Column 4 link Definitions
    */

    /*BOF Footer Menu Definitions*/ //table headings definitions
    Define('COMPANY', '<dd class="first">
    <ul>' . TITLE_ONE . HOME . FEATURED . SPECIALS . NEWPRODUCTS . ALLPRODUCTS . '</ul></dd>');
    Define('ACCOUNT_INFORMATION', '<dd class="second">
    <ul>' . TITLE_TWO . ABOUT . SITEMAP . GVFAQ . COUPON . UNSUBSCRIBE . '</ul></dd>');
    Define('SHOPPING_LINKS', '<dd class="third">
    <ul>' . TITLE_THREE . CONTACT . SHIPPING . PRIVACY . CONDITIONS . ACCOUNT . '</ul></dd>');
    Define('CUSTOMER_SUPPORT', '<dd><ul>' . TITLE_FOUR);
    Define('CUSTOMER_SUPPORT_END', '</ul></dd>');
    /*EOF Footer Menu Definitions*/

    Also do I need to leave all of the EZPages that I created last night in order for this file to work or do I delete them or .... please advise.

    Thanks for all your help!
    If you're not going to use the ez-pages just turn the footer off
    admin -> configuration -> ez pages settings -> EZ-Pages Display Status - FooterBar (set to 0)

    You'll also need to change this section to match your updated column definitions.

    /*BOF Footer Menu Definitions*/ //table headings definitions
    Define('COMPANY', '<dd class="first">
    <ul>' . TITLE_ONE . ABOUT . CONTACT . CONDITIONS . PRIVACY . SITEMAP . '</ul></dd>');

    Define('ACCOUNT_INFORMATION', '<dd class="second">
    <ul>' . TITLE_TWO . ABOUT . SITEMAP . GVFAQ . COUPON . UNSUBSCRIBE . '</ul></dd>');

    Define('SHOPPING_LINKS', '<dd class="third">
    <ul>' . TITLE_THREE . CONTACT . SHIPPING . PRIVACY . CONDITIONS . ACCOUNT . '</ul></dd>');

    Define('CUSTOMER_SUPPORT', '<dd><ul>' . TITLE_FOUR);
    Define('CUSTOMER_SUPPORT_END', '</ul></dd>');
    /*EOF Footer Menu Definitions*/

  5. #5
    Join Date
    Jun 2009
    Posts
    617
    Plugin Contributions
    0

    Default Re: Footer Menu Support Thread

    Quote Originally Posted by clydejones View Post
    If you're not going to use the ez-pages just turn the footer off
    admin -> configuration -> ez pages settings -> EZ-Pages Display Status - FooterBar (set to 0)

    You'll also need to change this section to match your updated column definitions.

    /*BOF Footer Menu Definitions*/ //table headings definitions
    Define('COMPANY', '<dd class="first">
    <ul>' . TITLE_ONE . ABOUT . CONTACT . CONDITIONS . PRIVACY . SITEMAP . '</ul></dd>');

    Define('ACCOUNT_INFORMATION', '<dd class="second">
    <ul>' . TITLE_TWO . ABOUT . SITEMAP . GVFAQ . COUPON . UNSUBSCRIBE . '</ul></dd>');

    Define('SHOPPING_LINKS', '<dd class="third">
    <ul>' . TITLE_THREE . CONTACT . SHIPPING . PRIVACY . CONDITIONS . ACCOUNT . '</ul></dd>');

    Define('CUSTOMER_SUPPORT', '<dd><ul>' . TITLE_FOUR);
    Define('CUSTOMER_SUPPORT_END', '</ul></dd>');
    /*EOF Footer Menu Definitions*/
    Hi Clyde,

    I got it working! Thanks for your help!
    Thank you,
    autoace

  6. #6
    Join Date
    Jun 2009
    Posts
    617
    Plugin Contributions
    0

    Idea or Suggestion Re: Footer Menu Support Thread

    Hi Clyde,

    I was looking thru this thread and found this (Post 24):


    Define('LINKS', '<li><a href="' . zen_ez_pages_link(31) . '"> Links</a></li>');

    You'll then need to add this to the following definition statement

    Define('QUICKLINKS', '<dd class="first">
    <ul>' . TITLE_ONE . HOME . FEATURED . SPECIALS . NEWPRODUCTS . ALLPRODUCTS . LINKS . '</ul></dd>');


    Is the above code what is necessary to add a link created via the EZPages in any one of the first 3 columns?
    Thank you,
    autoace

  7. #7
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Footer Menu Support Thread

    Quote Originally Posted by autoace View Post
    Hi Clyde,

    I was looking thru this thread and found this (Post 24):


    Define('LINKS', '<li><a href="' . zen_ez_pages_link(31) . '"> Links</a></li>');

    You'll then need to add this to the following definition statement

    Define('QUICKLINKS', '<dd class="first">
    <ul>' . TITLE_ONE . HOME . FEATURED . SPECIALS . NEWPRODUCTS . ALLPRODUCTS . LINKS . '</ul></dd>');


    Is the above code what is necessary to add a link created via the EZPages in any one of the first 3 columns?
    Yes, that is the correct format for ez page links

 

 

Similar Threads

  1. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 22
    Last Post: 26 Jan 2026, 06:47 AM
  2. v154 Flexible Footer Menu Multilingual [Support Thread]
    By rbarbour in forum All Other Contributions/Addons
    Replies: 131
    Last Post: 29 Jun 2025, 03:06 AM
  3. Category Tab Simple Dropdown Menu 1.3.9 Support Thread
    By dbltoe in forum All Other Contributions/Addons
    Replies: 46
    Last Post: 30 Mar 2024, 06:12 PM
  4. adding links to top menu and footer menu
    By satrina in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 7 Nov 2012, 10:17 PM
  5. Easy way to edit header/top menu, footer menu, and sidebar menu?
    By templar2 in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 30 Jun 2009, 11:14 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg