Forum Discussion

micha80's avatar
micha80
Expert
10 years ago

Create a custom admin area

Hi all,

 

I have a question on creating a custom admin area and wanted to discuss with you wether I am on the right way or is there a better solution. I have created a custom component and this should be configurable using an form so moderators don't have to work in code they don't understand. So my first approach is to do the following 3 steps:

 

1. Create a custom page.

2. Create a custom component which is used on the custom page and will render and validate the form.

3. The custom component is saving the settings.

 

Step 1 and 2 a no problem but I don't know what is the best method to save such individual values. Are there any custom variables I can create in the backend and modify using a custom component?

 

I am thankfull for any hints on this!

 

Regards,

Michael

2 Replies

  • JeffY's avatar
    JeffY
    Lithium Alumni (Retired)
    10 years ago

    Hi Michael -- The Lithium platform supports custom settings scoped to both the community and boards and custom user profile fields.  You'll need to contact our Professional Services team, though, to create these settings for you (we're in the process of making this self service).  Once defined, you can read/write these fields using the community REST API:  http://community.lithium.com/t5/Community-API/bd-p/developers-rest-api?branch=Settings

     

     

  • micha80's avatar
    micha80
    Expert
    10 years ago

    Hi JeffY,

     

    thanks for your reply. I will contact the Professional Services team.

     

     

    Regards,

    Michael