Calling Developers!
We are reenergizing our code contribution process! Learn More

how to add new config in spryker backoffice & store that in db, then print it to frontend?

sunil Software Engineer Posts: 2 🧑🏻‍🚀 - Cadet

Hi, I have added navigation in spryker backoffice and in that added a label and a input tag and save button to store the data into the database

in config/zed/navigation.xml

<label>Hello World</label>
<title>Hello World</title>

in src/zed/HelloWorld/Presentation/hello/index.twig

{% extends '@Gui/Layout/layout.twig' %}
{% block content %}
    <div>{{ 'Hello World' | trans }}</div>
                <input  />
            <input type="submit" value="{{ 'Save' | trans }}"/>
{% endblock %}

i am able to print the navigation and the form inside back office right now after clicking save it don't do anything , what changes do i need to do in code to store it in database and the print it to frontend, is their any reference that i can follow