You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the context of a blueprint, there seems to be now way to determine the page type of a page.
Before 1.7 you could tell the type of page by using $blueprint->getFilename(). This would return the type like default or modular or modular/jumbotron etc. But in 1.7 every page has the filename blueprints://flex-objects/pages.yaml, no matter what type of page it is. Therefore you can't extend specific blueprints, you can only extend the global pages blueprint. You can't add new fields only for pages of type 'modular'.
The text was updated successfully, but these errors were encountered:
rcheetah
changed the title
Flex Pages. No way to determine page type from plugin?
Flex Pages: No way to determine page type from plugin?
Jan 19, 2021
rcheetah
changed the title
Flex Pages: No way to determine page type from plugin?
Flex Pages: No way to determine page type from blueprint?
Jan 19, 2021
In the context of a blueprint, there seems to be now way to determine the page type of a page.
Before 1.7 you could tell the type of page by using $blueprint->getFilename(). This would return the type like
default
ormodular
ormodular/jumbotron
etc. But in 1.7 every page has the filenameblueprints://flex-objects/pages.yaml
, no matter what type of page it is. Therefore you can't extend specific blueprints, you can only extend the global pages blueprint. You can't add new fields only for pages of type 'modular'.The text was updated successfully, but these errors were encountered: