Deleted From Unknown Dec 25 2020 06:09 PM Hi Tim, just a simple question. When do you use href_ilink/href_link vs. ilink/link. And why do you use the "native" syntax for an external link, as you are doing it in the e.g. footer: "LiteCart®". Thanks
tim Founder From Sweden Member since May 2013 tim Dec 25 2020 06:17 PM document::href_link() is the same as htmlspecialchars(document::link()). href_link is to escape special characters inside an html parameter. link() is for static or external content while ilink() is for logic and rewritten urls. There is some mention of it here: https://wiki.litecart.net/introduction LiteCart uses link() for consistency and convenience. Having a central component for it all allows easy implementation of e.g. link tracking or such.
Deleted From Unknown Dec 25 2020 06:34 PM Thanks for the quick answer, and all the best for the new year.
tim Founder From Sweden Member since May 2013 tim Dec 25 2020 11:01 PM Thank you and best wishes back to you.