Details
Available tags
ItemPublisher:Global.PageId
Returns the ID
of the current page in the list.
@GetInteger("ItemPublisher:Global.PageId")
ItemPublisher:Global.PagingPosition
Returns the number of the current page according to paging position.
@GetInteger("ItemPublisher:Global.PagingPosition")
ItemPublisher:Global.ParagraphId
Returns the ID
of the paragraph.
@GetInteger("ItemPublisher:Global.ParagraphId")
ItemPublisher:Item.[ItemFieldSystemName]
Return the content of the item field.
@GetObject("ItemPublisher:Item.[ItemFieldSystemName]")
ItemPublisher:Item.[ItemFieldSystemName].Control
Returns the html code snippet for the input field for the item type field if Allow editing of items is enabled in Item Publisher module settings. Example of the value:
<input type="text" class="std item-field " name="[Item field system name]" maxlength="255" value="[Item field default text]" />
@GetString("ItemPublisher:Item.[ItemFieldSystemName].Control")
ItemPublisher:Item.[ItemFieldSystemName].IsRequired
Returns True
if the item field is marked as required.
@GetBoolean("ItemPublisher:Item.[ItemFieldSystemName].IsRequired")
ItemPublisher:Item.[ItemFieldSystemName].Name
Returns the name of the item field.
@GetString("ItemPublisher:Item.[ItemFieldSystemName].Name")
ItemPublisher:Item.[ItemFieldSystemName].SystemName
Returns the system name of the item field.
@GetString("ItemPublisher:Item.[ItemFieldSystemName].SystemName")
ItemPublisher:Item.[ItemFieldSystemName].Type
Returns the type of the item field.
@GetString("ItemPublisher:Item.[ItemFieldSystemName].Type")
ItemPublisher:Item.[ItemFieldSystemName].Value
Returns the content of the item field.
@GetString("ItemPublisher:Item.[ItemFieldSystemName].Value")
ItemPublisher:Item.CanEdit
Returns True
if "Allow editing of items" is enabled in paragraph settings for the module.
@GetBoolean("ItemPublisher:Item.CanEdit")
ItemPublisher:Item.DetailsUrl
Returns the url to the page with the details about the item, e.g. /Default.aspx?ID=14863&itemId=Address:129.
@GetString("ItemPublisher:Item.DetailsUrl")
ItemPublisher:Item.DetailsUrl.PID
Returns the url to the page with the details about the item in the following form:
/Default.aspx?ID=[Page ID]8&PID=[Paragraph ID]&itemId=[Item type system name]:[Item id]
@GetString("ItemPublisher:Item.DetailsUrl.PID")
ItemPublisher:Item.EditUrl
Returns the url to the page where you can edit the item in the following form:
/Default.aspx?ID=[Page ID]8&PID=[Paragraph ID]
&cmd=edit&itemId=[Item type system name]:[Item id]
@GetString("ItemPublisher:Item.EditUrl")
ItemPublisher:Item.Field.First
Returns True if the item field is the first in the list.
@GetBoolean("ItemPublisher:Item.Field.First")
ItemPublisher:Item.Field.Id
Returns the ID
of the item field.
@GetString("ItemPublisher:Item.Field.Id")
ItemPublisher:Item.Field.Last
Returns True if the item field is the last in the list.
@GetBoolean("ItemPublisher:Item.Field.Last")
ItemPublisher:Item.Field.PageId
Returns the ID
of the page where the item type with the item field is created.
@GetInteger("ItemPublisher:Item.Field.PageId")
ItemPublisher:Item.Fields.Any
Returns True if there exist any item fields with the selected item type and in the selected website/page.
@GetBoolean("ItemPublisher:Item.Fields.Any")
ItemPublisher:Item.PageName
Returns the name of the page that is based on the selected item type.
@GetString("ItemPublisher:Item.PageName")
ItemPublisher:Item.SystemName
Returns the system name of item type used by Item publisher.
@GetObject("ItemPublisher:Item.SystemName")
ItemPublisher:Item.Url
Returns the link to the page, that is based on item in the following form:
/Default.aspx?Id=[Current item based page id]
@GetGetString("ItemPublisher:Item.Url")
Available loops
ItemPublisher:Item.[ItemFieldSystemName].Options
The ItemPublisher:Item.[ItemFieldSystemName].Options
loop lets you display various information about the options for the fields of type List.
@foreach (LoopItem item in GetLoop("ItemPublisher:Item.[ItemFieldSystemName].Options")){ <p>@item.GetValue("TagName")</p> }
ItemPublisher:Item.Fields
The ItemPublisher:Item.Fields
loop lets you display various information about the item fields.
@foreach (LoopItem item in GetLoop("ItemPublisher:Item.Fields")){ <p>@item.GetValue("TagName")</p> }
ItemPublisher:Item.Groups
The ItemPublisher:Item.Groups
loop lets you display various information about the groups in the item type.
@foreach (LoopItem item in GetLoop("ItemPublisher:Item.Groups")){ <p>@item.GetValue("TagName")</p> }