Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Initial Page Generation

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

Header will be a widget in pagebuilder that uses an html file, so that it isn’t editable. If we need to tweak a single header, we can save the html to a different file, and then update the pagebuilder data to point to the new file.

Body

The body is comprised of 3 sections, that we’re calling header, body, and footer. The header here is not to be confused with the header on the top of the page.

Inject different data examples into the 3 sections of the body, based on what they choose. They get 3 choices for each section (3 headers, 3 bodies, 3 footers). They will be able to edit these in the manage-showroom page.

Social Media Footer

Will show if they have content in the icons. Just center it.

Choosing Section Options

In the manage-showroom page in sitemanager, users will be able to choose between 3 options of header, body, and footer – also known as sections 1, 2, and 3. Dragging and moving sections won’t be permitted in pageBuilder, because then these sections will be out of sync with the selections in this admin page.

Microsite Page URLs

Microsite pages will be shown by their URL in the pages table. The pages, when generated, will all be stems of the showroom URL.
eg. Showroom URL: citizen, About URL: citizen-about, etc…

Showing The Showroom Page

Perhaps /pages/ can be swapped with /members/ as a symlink, and page URLs in the pages table can be relative to members/ for cleaner URLs. Showroom pages will have to be created in the pages table just like microsite pages.

  • No labels