Totally Zenned
- Join Date:
- Jan 2004
- Location:
- N of San Antonio TX
- Posts:
- 9,861
- Plugin Contributions:
- 18
Social Contact Footer
This establishes a support thread for the Social Contact Folder 1.0.0 encapsulated mod.
Social Contact Footer — social-media icons and a blog link in your storefront footer, with an optional newsletter signup underneath.
Runs on Zen Cart v1.5.8 through v3.0.0 and PHP 7.4 through 8.5 from a single codebase. No template file is edited or overridden, and nothing is dropped into your admin/ or includes/ directories.
Storefront
-
Twenty networks. Each icon stays hidden until you supply a link, so a fresh install adds nothing visible.
-
You enter only the distinguishing part of an address — YourPageName, not https://www.facebook.com/YourPageName — because a short fragment is far harder to get wrong. A full address still works where a profile doesn't fit the pattern.
-
The contact icon needs no entry at all: your store already knows its own Contact Us page and owner address.
-
On-site links are first-class throughout — a page name, a store folder or a relative path is preferred over a full URL, since those survive a domain change and an http-to-https move.
-
Blog line with the wording built from your store name. Nothing to type.
-
Separate desktop and mobile icon sizes, four badge shapes, brand/monochrome/inherited colour, alignment, display order, link target, optional block background.
-
Real stylesheet, not inline styles — drop your own copy into your template's css/ folder and yours is used instead.
-
Off on a fresh install, so a half-configured block never goes live while you're still setting it up. Plugin Manager says "Mod Not Turned On" until you switch it on.
Newsletter -
Double opt-in, not optional. Nothing is sent, no customer account touched, no owner notice until the confirmation link is clicked.
-
Neither mail format is pre-selected, and that isn't configurable — pre-selecting one isn't lawful in the US. Enforced in the markup and again server-side.
-
The Subscribe button doesn't appear until an address is entered and a format chosen, done as progressive enhancement so a visitor without JavaScript still gets a working form.
-
The visible radio indicator is drawn by the stylesheet, because Zen Cart templates commonly hide native radios — the real input is still there for submission, focus and screen readers.
-
Honeypot plus dwell-time spam trap.
-
Confirmed subscribers are mirrored onto matching customer accounts, and two audiences are registered in the Newsletter Manager so subscribers without an account are reachable too — stock audience queries read the customers table alone and can't see them.
-
Every message carries a permanent unsubscribe link and asks the reader to whitelist your sending address.
Admin — Tools → Footer Newsletter Subscribers -
Filter, search, change status, delete, export CSV including each subscriber's unsubscribe URL.
-
CSV import for addresses collected on paper, with a printable sign-up sheet included. Imported people are created pending and sent the same confirmation request the footer form sends — there's no way to bulk-import an already-subscribed person.
-
Invite Registration — invite confirmed subscribers with no account to create one. They get a password and a single link that activates the account and lands on the login page; the account is unusable until they follow it. A re-send is offered while it's still pending.
-
Self-contained Read Me and a GitHub link as buttons in the Plugin Manager panel, both working before you install.
-
Idempotent installer: your settings are never reset by an upgrade, retired settings are cleaned up, and your subscriber table survives an uninstall unless you opt out.
This mod is GPL-2.0 and all the images are simplified original drawings, not the official brand logos. That's done to avoid licensing and copyright infringement.
GitHub and download links will be added soon.
Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com