There is a Settings.ascx (and ~.cs) with one text field attached to the Settings. I tried copying example at link but filled it with a "Test" dummy string because the Settings option should be provided automatically, as I understand it. Here's the code snippet from Edit.ascx.cs:
namespace DotNetNuke.Modules.MyExample
{
public partial class Edit : DotNetNuke.Entities.Modules.PortalModuleBase, IActionable
{
private string _itemID;
public ModuleActionCollection ModuleActions
{
get
{
ModuleActionCollection actions = new ModuleActionCollection
{{GetNextActionID(),
"Test",
"",
"",
"",
EditUrl(),
false,
SecurityAccessLevel.Edit,
true,
false}};
return Actions;
}
}
protected void Page_Load(object sender, EventArgs e)
{
_itemID = null;
if (Request.Params["ItemID"] != null)
_itemID = Request.Params["ItemID"].ToString();
if (_itemID != null) {
MultiView.SetActiveView(Photos);
UploadedFiles.DataBind();
return;
}
MultiView.SetActiveView(List);
if (PortalSecurity.IsInRole("Administrators")) {
LinkButton1.Enabled = true;
}
else {
LinkButton1.Text = "You must be logged in to add a Listing";
LinkButton1.Enabled = false;
}
}
...