Advanced Module Manager

Match on root and one query but nothing else after?

3 weeks 1 hour ago #77804

Brian Peat's Avatar Brian Peat

I've got a wonky component that insists on adding a query to my page only from the breadcrumb link and it's causing my map to remove itself. The map is using AMM, and I've added this:

/training/classes/?$
as a reg ex match. That keeps the map from loading on the child pages, but since the breadcrumb thing is adding a string, it causes this:
training/classes?layout=timeline

So I need to figure out how to match on both of these and NO other children urls:
/training/classes/
training/classes?layout=timeline

Help! :)

3 weeks 1 hour ago #77805

Peter van Westen's Avatar Peter van Westen Admin

Try:

/training/classes/?(\?layout=timeline|$)