In Empire CMS, ViewClick already sends the correct Content-Type (text/javascript). But as soon as you add add_header X-Content-Type-Options "nosniff" always; to your Nginx config, the live click count…
The default look of Empire CMS's list-style pagination ([!--show.listpage--]) didn't do what I needed, so I adjusted it myself. Edit class/t_functions.php and replace lines 100–169 (that's for version…
Add the code below to your post template. It shows the original file name and saves the download under that name instead of the random string. By default, attachments downloaded from the template come…
I was building a special event page using the "flexible multi-image gallery plugin for Empire CMS" approach, and the morepic gallery needed a lot of photos — more than 300. With the default configurat…
Unzip the archive linked at the end of this post, then upload the codesnippet folder to: ./eadmin/admin/ecmseditor/infoeditor/plugins/ (if you've renamed the eadmin and admin folders, put it in your r…
Here's how to generate a sitemap.xml automatically in Empire CMS, step by step. 1. Log in to the admin panel, usually at http://yourdomain.com/e/admin/, and use Empire CMS's custom page feature. 2. In…
![ecms class][1] Empire CMS can style top-level categories differently from the subcategory you're currently in. In real projects I kept running into sites with many top-level and second-level categor…
The Empire CMS forum was shut down under restrictions, and a lot of the technical threads are gone for good. I never got into the habit of writing things down as I went, which I'm paying for now. Here…
/ to search · Esc to close · ↵ to open first result