Forum Discussion

micha80's avatar
micha80
Expert
10 years ago

Custom settings pages

Hello,

 

we want to make a custom settings area cause we don't need so much configuration options for the user. So the new concept says "remove some settings and move some settings from one panel to another". After some research I could not find a post on that in the community. Maybe I was looking for the wrong keywords. Actually I a thinking about the following solution:

 

1. Create an Endpoint for different pages and then make some custom html output for the "new" forms.

2. Create some JS functionality for validating and saving the new form values using Ajax requests.

    The Ajax-Request is submitting to another endpoint which save the values using the Rest-API

 

Is this scenario possible or not? I could not find any hints on this. How to save the new values using the Rest-API? Is this possible?

 

Many thanks,

Michael

2 Replies

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

    Hi micha80 

     

    I am assuming you are referring to the personal user preferences. In this case, you could definitely create a custom section with leverages the REST API for reading and setting these options, as you say. However this is bound to require some significant development effort. If you are looking to do this, have a look at these calls .

     

    What I would suggest however is to run trough your requirements with your Lithium manager. It could be that if you are just looking at removing extra (unused in your case) options, or re-arranging existing preferences - then this could be achieved with an engagement with Lithium Professional Services and ultimately require less effort. 

     

    Thanks,

  • micha80's avatar
    micha80
    Expert
    10 years ago

    Hi Paolo,

     

    thanks for your answer. Yes, I am speaking about personal user preferences. Good hint is to contact Lithium manager before we start.

     

    Regards,

    Michael