Blog Sections Open

Filtering Ditto Output by Tag TVs Without Relying on Generated Query Strings

Tag-based listing pages are easier to maintain when the page itself defines the filter target instead of expecting users to arrive through generated `?tags=` URLs.

When a site already has predefined landing pages for certain tag combinations, it is not always helpful to depend on auto-generated query-string tag pages. In those cases the tag filter should be part of the page definition itself.

Why this helps

  • landing pages stay stable and linkable
  • SEO is easier to control
  • the filtering logic becomes explicit in the page call

The main trick is to make sure the stored tag values and the filter syntax actually match. If Ditto returns no documents, check the stored TV format before assuming the listing tool is broken.

Newer post

Keeping the Shopkeeper Cart Visible Even When It Is Empty

How to keep the cart block visible at all times instead of hiding it until products are added.

Older post

Getting the Current Page Alias Through the Evolution CMS API

How to access the current resource alias from a snippet when you need it in custom API-driven logic.