Modals

Modal opening article - can we load intro article?

7 months 4 days ago #78069

gavin hookham's Avatar gavin hookham

Hi there

I am using modal extension here: oxfordshire-website-design.co.uk/MATS-20...rogramme/day-1-xxxxx

There is a link on JOHN SMITH in first Cat blog item. It shows page heading, article title and article content.

Is there any way to not show the Menu page heading BUT do show the intro image. Ideally I need to show

JOHN SMITH
IMAGE
INTROTEXT

Any help would be great.

Thanks
Gavin

7 months 4 days ago #78072

Peter van Westen's Avatar Peter van Westen Admin

Modals doe not control the content inside. That is down to the page (url) you are opening.
You can control what titles and such are visible via the menu item and article settings.

If you want to fully customise the content inside the modal window, you can look into alternate layouts (template overrides).
Or use Articles Anywhere to create your own layout.

This could work, for instance:

{modal content="my-article-modal"}Click me{/modal}
{modalcontent my-article-modal}

{article My Article}
John Smith
[intro-image]
[text]
{/article}

{/modalcontent}

See: www.regularlabs.com/extensions/articlesanywhere

7 months 4 days ago #78073

gavin hookham's Avatar gavin hookham

Thanks Peter!