This project is read-only.

Create Textbox Custom Control to display typed in text from admin

Topics: Controls
Apr 11, 2016 at 12:41 AM
Could someone post a better walkthrough for creating a custom control that ties into the admin console, other than the one here,

I want to create a simple textbox control that allows users to type in html content in the admin panel and it will appear in a sidebar on the front page. I've been reverse engineering the admin and it is unclear to me how the admin gets the data that it displays. There are these curly braces with dot notation inside of them and I'm not sure if it's javascript, c# or none of the above?

{{item.RelativeLink}} Why does this have to be so complicated? It is beginning to be more trouble than it's worth. I can see why people pay for the other proprietary CMSs, I may have to do the same. Any help is much appreciated.
Apr 16, 2016 at 9:36 PM
Hi Khambley,

The {{item.RelativeLink}} is the javascript framework AngularJS

[ AngularJS] (

To update the front end you need to know how to work with AngularJS.

Current version of BE has moved to GitHub.

So you just need a TextBox widget that is displayed only to your Users when they login.

They can update this TextBox with html content and that is then displayed on another widget for the public to view?

If that is correct then you need to do the following:
  1. Create Two Widgets UserInput Widget, UserDisplay Widget.
  2. In your rights only allow Users to be able to view the UserInput Widget, make it an Admin widget.
    Users don't need to go to Admin page, just login and the widget will appear on the website.
  3. The UserDisplay widget would be a normal widget that displays what your users had entered in and has public view.
How would you want multiple users content to appear?

As a list like the Comments Widget?

Would need to know specifically how you want the UserDisplay to show the content.

Screenshots or mockups would help :)

Seems to me to make this happen would only require the creation of two custom widgets.

The UsersInput would save the user information into datastore, an xml file or database, like the Newsletter widget stores email addresses, modify that to store HTML content.

The UserDisplay widget would then just read in the datastore content and format it if needed.

Does this seems more clearer on a direction to take?