0

I got a drupal 8 home page wich works fine but all my content on that page is in the same textbox like this image here:

Example from what i got now

How can I make it so I can seperate this content and still show it under each other on the home page? This makes it way easier to edit and add new content to the page instead of editing this huge textbox of html code I got now.

I just want it so you can just press the "add content" button and it adds a new html section to the page where you can create a image slider or something and this stacks up under the content that allready has been added.

If i press the add content now it creates a new node/# page wich I dont want. I just want the content on the home page if i press the add content button there.

  • You would need to write that functionality yourself, there's nothing built in to assist with such a non-standard requirement – Clive Nov 11 '14 at 9:55
  • How should i start writing this myself? I have no idea where to start – Stefan Nov 11 '14 at 9:56
  • I can only really say start with the docs - what you want to do is not how Drupal was built, fields are defined, not arbitrary. You could create a new multiple field of text areas and add it to a node type, along with inline editing that might work. But it will be text, you can't define a slideshow in it - for that you would need a different field type. But a custom entity type might be more appropriate, too many variables for me to say – Clive Nov 11 '14 at 10:08
1

Just create "promoted to the front page" nodes and keep node as your front page. The "add content" button you wanted is the node/add page. This has always worked with Drupal stretching back many years.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.