Not logged in. · Lost password · Register
Forum: General Help and Support Plugins RSS
Help with Struct Plugin / Assignment
Avatar
jwerner #1
Member for 3 months · 3 posts
Group memberships: Members
Show profile · Link to this post
Subject: Help with Struct Plugin / Assignment
Hello,

I have the namespace features,  with a sub-namespace FeatureA, FeatureB etc.

Under every FeatureXYZ namespace there is a page start, e.g. features:FeatureA:start.

There is a sub-namespace start with pages under FeatureXYZ, too. E.g. features:FeatureA:start:PageCDE.

How can I assign a schema to only these start pages directly under features:* ?

I tested /features\:(.*)\:start/, but that seems to show the struct form on every nested sub-page under FeatureXYZ.

Thanks in advance.

Regards
Joachim Werner
Avatar
Digitalin #2
Member since Feb 2014 · 207 posts · Location: Uzès - France
Group memberships: Members
Show profile · Link to this post
Hello,

This should work (tested on regexr.com) :

/features:.*:start/ and if you need to target also features:start /features:.*:*start/

Text tested :

features:featureA:start
features:featureB:start
features:featureC:foo
features:featureD:start
features:start
features:featureA:start
features:featureA:PageCDE

As said in the config startpage doc, it should be a valid pagename and never contain a namespace, so you have to avoid features:featureA:start:PageCDE
Avatar
jwerner #3
Member for 3 months · 3 posts
Group memberships: Members
Show profile · Link to this post
Thank you!

Regards
Joachim
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-07-17, 12:43:12 (UTC +02:00)