Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Pages should be generated using a button on the manage-showrooms page in sitemanager. Once the Plumb Club admin who is setting up the member has added enough details, the pages can be created with the member’s customerID as the groupID, and using stems from the showroomURL field for all 4 pages. showroomURL, showroomURL + ‘-about’, showroomURL + ‘-products’, showroomURL + ‘-media’.

CSS Injection

CSS will be injected using a pageBeforePrintHeader() hook. The page itself looks up the memberShowroom data and stores it in its extraData property where it can be seen by the hook. The hook will call memberShowrooms::injectTemplateCSS() to read property and inject appropriate CSS.

Static Header

Keep headers static among each of the 3 pages within in each template choice

...