Back to Multipurpose Theme with PAGE BUILDER - Success Support

office69665
office69665

I cant add snippets to static pages / homepage.

I ve tried to add builder record list to partial and generate a snippet. Also tried with FAQ Plugin. In Pages I see snippets but I cant add it to page. In console I get following error:

[Vue warn]: Error in render: "TypeError: this.lang is undefined" found in ---> <BackendComponentDocument> <Root> bundle-min.js:1:256043

[Vue warn]: Error in mounted hook: "TypeError: this.textarea is undefined" (found in <Root>) bundle-min.js:1:256043

I ve tried to reinstall static page plugin but no effect.

Thank you for you help!

Charis
Charis

office69665 said:

I cant add snippets to static pages / homepage.

I ve tried to add builder record list to partial and generate a snippet. Also tried with FAQ Plugin. In Pages I see snippets but I cant add it to page. In console I get following error:

[Vue warn]: Error in render: "TypeError: this.lang is undefined" found in ---> <BackendComponentDocument> <Root> bundle-min.js:1:256043

[Vue warn]: Error in mounted hook: "TypeError: this.textarea is undefined" (found in <Root>) bundle-min.js:1:256043

I ve tried to reinstall static page plugin but no effect.

Thank you for you help!

Hello!

If you you want to render a plugin component on static page you have to add it to one off the partials the static page uses. For example if you need to render FAQ plugin form to home page you need to insert FAQ component on one of the partials used by home page. On partials/blocks you can find those partials.

Keep in mind that the partial you choose to enter the component will contain it on every page that uses this parial. There are some plugin components that can not be used in partial, but only in pages and this has to do with the way Octobercms works. More information can be found in the Octobercms documentation.

This topic has been discussed again in the theme forum.

office69665
office69665

Hi Charis,

thank you for your reply. I ve allready created a partial with the component. New Partial vacance_list.html / added component: builder recordlist . After this I ve created a snippet from partial and now I want to add this snippet to the home page. I can see the snippets but I cant add it to the home page of theme.

Now I ve tried with a fresh installation, but same issue (without errors in console). I ve also tried adding a partial with only a string inside, as snippet - but I cant add any snippets to page sections /blocks.

So Is there any possibility to add snippets to the success theme static home page? or how I can insert this compoment to the section I want or between 2 blocks?

thank you!

office69665
office69665

Maybe same like the custom block for clear template would help me? is there any function like custom block for success theme?

https://octobercms.com/theme/support/ketikidis-clear/how-to-insert-a-custom-partial-in-between-two-sections

thx for your reply

1-4 of 4