09-01-2017, 03:29 PM
That would be pretty easy to do.
For anyone interested, add a new column to the pages table called 'description' to save each page's description for admin users. Copy your file from to and add in a form textarea to edit the description. You can display this description by copying to `/usersc/' and add the description between each page's path and public/private listing.
Be sure to validate your textarea input on form submission. You can easily see how to do this from looking at other page's code or the Validation documentation here on the website. (We're working on updated documentation too!)
I'll see about adding it to the upcoming 4.3 release as I think this is a feature that would be helpful to many UserSpice users!
For anyone interested, add a new column to the pages table called 'description' to save each page's description for admin users. Copy your
Code:
admin_page.php
Code:
/users/
Code:
/usersc/
Code:
admin_pages.php
Be sure to validate your textarea input on form submission. You can easily see how to do this from looking at other page's code or the Validation documentation here on the website. (We're working on updated documentation too!)
I'll see about adding it to the upcoming 4.3 release as I think this is a feature that would be helpful to many UserSpice users!