Zen Follower
- Join Date:
- Feb 2007
- Posts:
- 104
- Plugin Contributions:
- 0
Coders--- is this ok?
I wanted to add an extra link into the Information sidebox (ZenCart v. 1.3.7) and spent several days on the boards trying to learn the methods. I did download the "About Us" module, as many posts suggested, but was scared away from using it because it required editing core files and I don't want to lose any changes on upgrade.
I also could not use the EZ-Pages sidebox, which was a method favored by many users, because it is already being utilized for something else on my site.
Long story short, I found a post where someone was adding a link to an EZ-page to his "More Information" sidebox as opposed to the "Information" box, so I edited the code I found there since the link I needed is also pointing to an EZ-Page. What I wound up with is:
$information[] = '<a href="' . zen_ez_pages_link(4) . '">Dog Clothes Sizing</a>';
which I pasted directly into my information.php file located in /includes/modules/sideboxes/MYTEMPLATE/ folder
Everything works fine. The only issue I notice is that the link url that is in the Information sidebox ends with page&id=4 while the link in the footer bar (which points to the same page) has a url ending with page&id=4&chapter=0. Is this a major issue that will get me penalized by search engines?
Also, is there anything wrong with that code I pasted into my information.php file? In particular, I wasn't sure if the $information[] part was correct, since nothing else in the information.php file starts with that.