Blog Sections Open

Keeping YAMS and WebLoginPE Working Together

Multilingual authentication flows are where small assumptions turn into big failures. The original case behind this topic described YAMS and WebLoginPE producing blank output instead of a working login block. Typical Cal

Multilingual authentication flows are where small assumptions turn into big failures. The original case behind this topic described YAMS and WebLoginPE producing blank output instead of a working login block.

Typical Call

[!WebLoginPE? &lang=`(yams_id)` &type=`simple`!]

Where Problems Usually Start

  • language context is passed incorrectly
  • the login block expects one URL structure while YAMS provides another
  • cached and uncached output are mixed in the wrong place

The safest way to debug this class of issue is to reduce the login block to the smallest working case, confirm language handling, and only then reintroduce the multilingual wrappers.

Newer post

Bootstrapping the MODX API from an External PHP File

How to initialize the MODX API correctly from a standalone PHP script and why chunk calls fail when the bootstrap is incomplete.

Older post

Building a Clean HTML Sitemap from a Sitemap TV or XML Source

How to think about HTML sitemap pages when the site already has XML sitemap data or a sitemap TV-based source.