This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

forums7529
forums7529

Could someone please confirm whether it's possible to add Components to Static Pages and if so, please explain how this should be done ?

Many thanks.

daftspunky
daftspunky

Snippets are the Components of Static Pages. See the documentation for more information.

forums7529
forums7529

Ah, thanks Samuel. I'm still learning this awesome system.

draylegend
draylegend

I have similar situation.

How can I add [account] component of RainLab plugin into static page?

I've created a snippet with this component,than added to static page, but it doesn't work. The error is: Ajax handler onRegister not found.

Please, help me solve this problem.

Thx in advance!

Andy Kay
Andy Kay

daftspunk said:

Snippets are the Components of Static Pages. See the documentation for more information.

Can you (or anyone) link to the Static Page documentation page where it gives details of snippets please? I'm struggling to find it. The only page I can find relating to anything static is the 'Content Blocks' docs page, but there's no mention of Snippets on that page.

Miguel Debruyne
Miguel Debruyne

Andy Kay said:

daftspunk said:

Snippets are the Components of Static Pages. See the documentation for more information.

Can you (or anyone) link to the Static Page documentation page where it gives details of snippets please? I'm struggling to find it. The only page I can find relating to anything static is the 'Content Blocks' docs page, but there's no mention of Snippets on that page.

The docs are not that great for how-to's https://github.com/rainlab/pages-plugin#snippets

But you can find a lot of more in depth articles / tutorials on the October CMS blog https://octobercms.com/blog/post/introducing-snippets

1-6 of 6

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.