Page 1 of 1

More than 1 Text Block?

Posted: Mon Jan 08, 2018 8:39 pm
by tremors834
Is there a way to add more than 1 of the same block?
Specifically, I am trying to add a 2nd simple text block with different text from the 1st.

Re: More than 1 Text Block?

Posted: Mon Jan 08, 2018 8:52 pm
by Johnny
Alas, no, you cannot repeat any block. You could try adding a second 'text' block folder and renaming 'textA' and rename the files within it in a similar fashion. I've done this before with another block and it worked. In most cases though this will not work and will cause your home page to go wrong.

Re: More than 1 Text Block?

Posted: Mon Jan 08, 2018 10:26 pm
by Jachym
Depends which one.
Sometimes renaming will do, in more complicated blocks you would also need to modify the Javascript otherwise they will both crash.
In case of Text block renaming should work.

Rename the folder to text2 and then also rename textBlock to text2Block and text2BlockConfig and inside the "config" change the namespace to text2

Re: More than 1 Text Block?

Posted: Tue Jan 09, 2018 4:21 pm
by tremors834
Looks to have worked like a charm, THANKS!!