Skip to content

Zenario 9.5

Compare
Choose a tag to compare
@Tribal-Systems Tribal-Systems released this 02 Oct 17:29
· 10 commits to latest-public-release since this release

This release introduces staging mode, improved performance for skins, and many more new features and changes.

Introducing Staging Mode!

Staging mode on a page lets you make a draft and share it with colleagues before it's published.

This is a great feature if you want feedback on a new content item before you publish it, while showing it to people who are not Zenario administrators.

How to use staging mode

To use it, just make a draft of a content item — either an existing content item or a v1 draft. 

Open the meta data of the content item, and look for the "Staging mode" tab. You can click "Suggest" to let Zenario suggest a staging code (a 5-letter code), or choose one yourself.

A staging code is the private code that you can send to your colleagues, who will be able to then view the draft. Staging mode only works with content items that are public (not private, password-protected pages).

Once you save, you'll see the thumbs-up icon in the admin toolbar. Copy the URL, which will include the Staging code, and send it to the people who you want to review the page. They will be able to access the page immediately.

Making a whole bunch of new pages?

That's fine. Go to each content item whose draft that you want to share, and just select "Use existing code". Then you can make a whole set of pages using the same code.

When you're done, simply publish the page (or delete the draft if it didn't work out). The staging code will be removed.

Improved performance for skins

Better print CSS files

This version of Zenario brings some SEO improvements via improved performance, achieved by reducing the site of print stylesheets (CSS):

  • They are now included along with the normal skin styles as a single download, rather than two separate downloads. This reduces the number of http requests per page as well as the total download size.
  • Zenario now includes a set of pre-written CSS rules as standard, that make most web pages look well-formatted when printed (whether to PDF or hard copy). They should look well-formatted even if the site has no specific print rules in the skin.

A print stylesheet is still formatted in a similar way to previous versions of Zenario, in the sense that a designer still needs to write the rules in the print.css file in the skin.

The print.css file will be inside the skin's editable CSS directory, which is in turn inside the zenario_custom/skins/ directory. For example, for the Zebra Designs skin (called zebra_designs), it will be in:

zenario_custom/skins/zebra_designs/editable_css/print.css

Automatic minification

Zenario now minifies the skin CSS bundle file, to reduce download time of the CSS of the site and improve SEO.

Easier admin login

It is now possible to log in to a Zenario site using admin/ (with a trailing slash), for example, example.com/admin/.

Other new features

  • The Advanced Search plugin now has the ability to search for locations.
  • The Extranet Profile form now has the facility to allow a user to delete their account.
  • The admin toolbar now has a "hide" button that allows you to remove it from view and browse your site in preview mode.

"Quality of Life" changes

  • Forms now support client-side (Ajax-based) validation on text fields.
  • We have made some updates on the WYSIWYG editors, so that full-featured ones now have a better layout, and minimal-featured ones (like for editing a content item's Summary field) now just have the essential buttons.
  • When editing the categories of a content item, there is more information beside each category name to say if it's public or private, what its public name is, and how many content items use that category.
  • When viewing the properties of an image in the Image Library, it's now much easier to see the URL to use when linking to the image.
  • When closing Gridmaker after opening it from the front end, the "Show mobile and empty slots" option will now automatically be turned on without you needing to click it.
  • We have deleted the admin permission for viewing a layout's properties. Letting all administrators view information on a layout's size/columns/slots is not a security issue and didn't need a permission.

Other miscellaneous changes

  • Advanced Search plugin is now enabled on a new site by default.
  • You can no longer use images in the summary field of a content item.
  • When in Edit mode, Zenario now shows a grey triangle when there's a link to a hidden content, instead of orange covering both hidden and draft items.
  • When a newsletter is sent via scheduled sending, it's now possible for all admins to be sent a copy.
  • Scheduled publishing has had an update, with Zenario now sending an email to confirm when relevant scheduled publishing actions occur.
  • For the Promo Menu with Images plugin, the size of images is now controlled on the plugin rather than on the menu node itself.
  • It's now possible to associate a page or an area of a site with a promotional image. The meta data module's plugin can now show the promotional image of the menu node or of its parents.
  • On the Users/Contacts dataset, the linked countries field has been improved and it's now possible to edit certain options. It can also now be exported.
  • We've changed our terminology in relation to content items from "orphaned" to "not in menu".

Security related changes

  • Version 9.5 of Zenario contains an internal rewrite to how plugins function when displayed, to improve the security and fix security vulnerabilities in a few rare/specific cases.
  • Whenever an administrator saves content in a WYSIWYG Editor, we now run what they submit through a HTML sanitiser to improve security.
  • When making an anchor link from a banner, a controlled list of characters is now applied, so that anchor links cannot contain spaces or certain special characters. This is for security, to help prevent XSS attacks.
  • We've improved security around email templates. It is no longer possible to include certain fields in email templates, e.g. that might include certain data from the users table.
  • We've decided to remove our "Domain redirects" feature. This feature used to let you redirect a domain to a content item without needing to edit your Apache virtual hosts file. However doing this without actually needing to edit the Apache virtual hosts file was only possible if a domain was using HTTP and not HTTPS, so the feature was a bit obsolete.
  • When we generate an Excel spreadsheet, we are now using the PHPSpreadsheet library, instead of the abandoned PHPExcel library.

Bug fixes

  • If someone tries to access and browse the site using the cookie-free domain, we now redirect them to the actual domain.
  • The "Repair public images" now repairs not just images at full size but images that have been resized in a WYSIWYG area.
  • Fixed a bug when trying to export a list of spare aliases used on a site from Organizer
  • On forms, consent fields are now mandatory by default, when added to a form.

Changes for hosting providers

Important: you will need to delete the old dummy admin/ directory

If you have previously downloaded Zenario, you may have a dummy admin/ directory in your CMS root directory to redirect admins to the actual admin login.

This is now down by the .htaccess file, and this dummy directory can cause conflicts or redirect loops if it is allowed to stay in the filesystem, so we recommend you delete it.

Changes for designers

Important: you will need to change your CSS!

If you are using a print.css file, you will now need a media query around your print rules, e.g. like this:

@media print {
    /* Your print rules here */
}

If you are upgrading from an earlier version of Zenario prior to 9.5, you will need to modify the print.css file to add the code shown above.

Changes to browser-specific styles

If you are using browser specific files (e.g. style_ff.css or style_webkit.css), there are some additional changes needed. You will need to edit each rule to include a browser-specific prefix, e.g. like this:

body.webkit p {
    /* Your browser-specific styles here */
}

The full list of prefixes used for each browser are as follows:

Browser-specific file Prefix needed
style_chrome.css body.chrome
style_edge.css body.edge
style_ff.css body.ff
style_ios.css body.ios
style_ipad.css body.ipad
style_iphone.css body.iphone
style_opera.css body.opera
style_safari.css body.safari
style_webkit.css body.webkit

Styling external links in the menu tree

All external hyperlinks from menu nodes now have a class "link_external".

Removed support for Internet Explorer

In February 2023 Mircosoft will be completely removing all support for Internet Explorer, including the ability to even run the program.

In version 9.5 of Zenario, we are following suit, and removing any code that was there to support Internet Explorer.

In addition, you will not even be able to log in to admin mode using Internet Explorer, and instead will see the compatibility message asking you to switch.

Changes for developers

Check your JS libraries

If you were using requireJSLib() and requireJSLibsForFEAs() in your plugins, these functions were previously called statically.

In Zenario version 9.5 we now need to track what libraries your plugin requests, as part of our improvements to our page caching system. This means that you will now need to call them as methods, e.g.:

$this->requireJSLib(...);  

or:

$this->requireJSLibsForFEAs();  

You will need to change this when you update to 9.5 to avoid a PHP error.