Results 1 to 8 of 8
  1. #1
    Join Date
    Jun 2014
    Location
    UK
    Posts
    14
    Plugin Contributions
    0

    Default altering footer links (NOT the EZ links)

    Please can someone tell me how to add links to my 4 column footer menu (pink boutique template) I know how to hide links but I am unable to add any links (in the footer_menu_defines file). I know how to add links using the EZ settings but I want certain links under the other titles (for example "Contact Us" under the first column (named "Quick Links")

    Click image for larger version. 

Name:	zcforumhelp.png 
Views:	97 
Size:	25.9 KB 
ID:	14277
    Attached Images Attached Images  
    Last edited by Cameron14; 12 Jul 2014 at 07:03 PM.

  2. #2
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: altering footer links (NOT the EZ links)

    Quote Originally Posted by Cameron14 View Post
    Please can someone tell me how to add links to my 4 column footer menu (pink boutique template) I know how to hide links but I am unable to add any links (in the footer_menu_defines file). I know how to add links using the EZ settings but I want certain links under the other titles (for example "Contact Us" under the first column (named "Quick Links")

    Click image for larger version. 

Name:	zcforumhelp.png 
Views:	97 
Size:	25.9 KB 
ID:	14277
    Allow me to introduce you to the developer's tool kit. It is a handy tool found on the admin page under the tools menu option. I personally tend to go over the top with my search and just use the lowest row of options in most cases. Anyways, working along the row that is applicable from where you want to get information type in say a key word or exact combination like "quick links" (without the quotes) and select whatever is next in the row and then eventually the search button.

    In this case you are likely to receive at least one record that looks something like: define('ALL_CAP_WORDS','Quick Links');

    And it may be that is the only thing returned. Well, from there you now would have the location of the language define for that text, you also have the variable (constant) name that is used to express that value. So now you use that information (ALL_CAP_WORDS) to then find where it is presented or manipulated.

    Now, some such words "Quick Links" are generated by combining two words, for example, technically the Quick Links header should be "aware" of how many items are under it. If the answer is zero, then it really shouldn't be displayed at all, but the other three columns would have to be adjusted or be able to handle that if it were the case. If the answer is one, then it should be titled Quick Link, which could be generated either as a single phrase, or as a combination of Quick and Link. In a multi-language environment such as ZC, it is more likely that the two versions would each be a constant of their own, rather than combining two such constants in this situation of going from plural to singular. Anyways, the reason to state that is, the phrase Quick Links may not match a definition, but Quick may and Links may and they may both show up in the same file.

    So, hopefully from this, you can now go fishing and feed yourself rather than just have a bite of a meal, though don't be afraid to come back and ask more.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Jun 2014
    Location
    UK
    Posts
    14
    Plugin Contributions
    0

    Default Re: altering footer links (NOT the EZ links)

    Thank you for your response! I had used the developers tool kit and it threw up only the one file. I managed to get this one sorted in the end. I had to go further down in the same file and add/remove " . LINK TITLE . "

  4. #4
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: altering footer links (NOT the EZ links)

    Quote Originally Posted by Cameron14 View Post
    Thank you for your response! I had used the developers tool kit and it threw up only the one file. I managed to get this one sorted in the end. I had to go further down in the same file and add/remove " . LINK TITLE . "
    Hopefully the file that was modified was either a templated version or copied from the "default" directory to your template's directory.

    I haven't gone to look for the same code to be able to advise in what directory the changed file should go. If you identify the path to the file and your template's directory name, can help further.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    Jun 2014
    Location
    UK
    Posts
    14
    Plugin Contributions
    0

    Default Re: altering footer links (NOT the EZ links)

    I'm familiar with the custom template overrides folders. can you confirm for me though if all files in the includes side of the directory can be dealt with in this way? I'm sure I read somewhere that wasn't the case

  6. #6
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: altering footer links (NOT the EZ links)

    You could install Flexible Footer Columns and never have to edit any files except the CSS on install to match your current theme.

    Quote Originally Posted by Cameron14 View Post
    I'm familiar with the custom template overrides folders. can you confirm for me though if all files in the includes side of the directory can be dealt with in this way? I'm sure I read somewhere that wasn't the case

  7. #7
    Join Date
    Jun 2014
    Location
    UK
    Posts
    14
    Plugin Contributions
    0

    Default Re: altering footer links (NOT the EZ links)

    I wish I had seen that before I started (and finally figured out) this :)

  8. #8
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: altering footer links (NOT the EZ links)

    Quote Originally Posted by Cameron14 View Post
    I'm familiar with the custom template overrides folders. can you confirm for me though if all files in the includes side of the directory can be dealt with in this way? I'm sure I read somewhere that wasn't the case
    As I recall, all files in the includes folder that are in default ZC folders will be searched to include the type of file that is expected there.

    There are threads related to the issue, though may ask the same question a different way.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. v150 Adding links to footer 'Important Links' box
    By gwyllion in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 15 Jul 2012, 05:29 PM
  2. Custom Links In Footer-Space Under Logo- And Links To Sidebar
    By Kaniki in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 27 Sep 2010, 04:48 PM
  3. Altering Product Listing Links
    By dekerf in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 17 Mar 2009, 09:09 PM
  4. Changing navigation menu links and footer links
    By JoshNelson in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 6 Mar 2009, 06:05 PM
  5. Links in the Footer
    By ben harry in forum General Questions
    Replies: 4
    Last Post: 26 Dec 2008, 12:14 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR