Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Peter Cort Larsen 418 posts 1015 karma points
    Oct 29, 2020 @ 07:50
    Peter Cort Larsen
    0

    Default element type not showing

    Hi,

    I have a strange issue and i cant figure out what the problem is.

    When adding a block, the default element type dosnet appear after adding the block. Instead i get a add content link which opens a dialog where i can choose between available element types.

    At some point it worked, but now it dosnt. This image shows that i need to click 'Add content' enter image description here

    I should get this option enter image description here

    Can you point me in the direction to where the problem is?

    And thanks for at great product. Its so sweet

  • Daniël Knippers 153 posts 1116 karma points MVP 2x c-trib
    Oct 29, 2020 @ 07:57
    Daniël Knippers
    0

    Hi Peter,

    Sounds like the datatype settings may need some changes. Can you have a look at Settings > DataTypes > (your content block data type)?

    1. At "Element Types" it should only have selected a single element type
    2. "Min items" should be set to 1
    3. "Max items" should be set to 1.
    4. Hide Label can be checked to hide "Elementer" in your image, but this is just what you prefer.

    Let me know if that works :)

  • Peter Cort Larsen 418 posts 1015 karma points
    Oct 29, 2020 @ 08:22
    Peter Cort Larsen
    0

    HI,

    Yes, if my datatype has these settings, i get the default element type. But how to add all the other element types then?

    enter image description here

    Thought is should be something like this

    enter image description here

  • Daniël Knippers 153 posts 1116 karma points MVP 2x c-trib
    Oct 29, 2020 @ 08:28
    Daniël Knippers
    100

    Unfortunately every block needs to be put in their own data type. So you cannot use only 1 data type for all blocks.

    I agree it would be easier if it is possible for ContentBlocks to use that 1 datatype which has all the blocks listed but I haven't looked into that yet.

  • Peter Cort Larsen 418 posts 1015 karma points
    Oct 29, 2020 @ 08:32
    Peter Cort Larsen
    0

    Ok, Thats fine, i just didnt get how it was connected. But i get it now. Thanks for the quick response.

Please Sign in or register to post replies

Write your reply to:

Draft