2 Attachment(s)
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")
Attachment 14277
Re: altering footer links (NOT the EZ links)
Quote:
Originally Posted by
Cameron14
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")
Attachment 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.
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 . "
Re: altering footer links (NOT the EZ links)
Quote:
Originally Posted by
Cameron14
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.
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
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
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
Re: altering footer links (NOT the EZ links)
I wish I had seen that before I started (and finally figured out) this :)
Re: altering footer links (NOT the EZ links)
Quote:
Originally Posted by
Cameron14
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.