This project is read-only.

Where is the data of a widget stored in the backend?

Jul 12, 2013 at 1:23 AM
Edited Jul 12, 2013 at 1:28 AM
I created a text widget. I can't seem to find where it is stored. I use SQL with my blog and have opened several tables, I don't see it anywhere. I have a table for my blogroll and my posts, but where will I find widget settings?

The reason I ask is that I'm trying to add a BUTTON element in a text widget HTML. I'm using <input class="search_btn" type="submit" formaction = "<MY URL>">
But the editor keeps removing the formaction code. Formaction is a valid attribute for input but the editor doesn't accept it.
So I figured I could edit the widget settings manually on the backend.
Jul 12, 2013 at 11:06 AM
Edited Jul 12, 2013 at 11:20 AM
Don't use SQL myself, but still might be worth looking in App_Data/datastore/widgets.

Do you need to use the HTML5 formaction attribute, "form action" works (tested this by pasting the w3schools example code into text widget in HTML mode). The editor strips out any attributes or tags it doesn't recognize or considers potentially harmful, but you can configure it to suit your needs.

The file you would be looking to edit is tinyMCE.ascx in the admin folder.

Edit, probably the edit.ascx file in the widgets/TextBox folder.