Discussions

Tag Filter:
I have an issue when using the <xmod:Format /> element for two fields in a template. It's formatting the first, but not showing any data for the second. They are both Numeric fields. The source is thus: <td>£<xmod:Format Type="Numeric" Value='[[PropCurrentPrice]]' Pattern="c" /></td> <td>£<xmod:Format Type="Numeric" Value='[[PropOriginalPrice]]' Pattern="c" /></td> Also, it's not outputting a curr
Hi, I must do a lot of templates and forms for my web page. The design will be the same for all of them. Normally I use "New Template" and "New Form" in Control Panel. That's OK. But then I must change the the templates and forms to add some HTML/CSS statements and style rules. Is there a way that I do that with some sort of a Template and then when I use "New Template" and "New Form" the XMP use
I am trying to understand how to pass parameters from an xmod:EditButton to a Control Data Source in an Edit form. I have tried numerous tokens on the EditForm but no luck. Any help is appreciated. Template Button: <xmod:EditButton Text="Edit" CssClass="btn btn-success btn-xs"> <Parameter Name="ContractId" Value='[[ContractId]]' /> <Parameter Name="SiteId" DataType"int32" Value='[[SiteId]]' /> <
I remember the old XML XMod could render item templates either vertical or horizontal. Is it possible to render the item template horizontal? There was mention of this in the following thread a year ago, but no one responded. http://dnndev.com/community/discuss/bootstrap-row-and-items-in-template Regards
3 things: 1. I need to get the row # within the ItemTemplate. 2. Is there a way to display a <FirstItemTemplate> within the basic <Template> section, instead of only in the <xmod:Each> tag? 3. Is there an easy IF statement available within the <ItemTemplate> section? I see the IfEmpty and IfNotEmpty tags. You can see I'm trying to be able to determine the first element of data within a template's
I have a record that is linked to an images table with multiple images for the 1 record. Trying to work out how to display the additional images in the detail view. Thanks in advance Todd
Hi, Trying to get a template to only show records relating to logged in user. Have a column in the table called userid. here is my template that is not retruning anything despite there being a couple of records in the table. <ListDataSource CommandText="SELECT [id], [Name], [Category], [SubCategory], [Supplier], [PurchaseDate], [Image1] FROM tablev5 where [UserID] = UserID"> <Parameter name="UserI
Good Day first of all i like to explain the scenario i have list of "audios" into xmod template. on tab called /playlist. also a like button working with feed per each audio row, and in this feed i make a redirection to main list. /playlist when it is done. so if i on the page number 5 when the redirection occurs it got me at first page of all list.. i like to know if i can pass the page number on
Getting this error when I tried to place a xmod:datalist inside an xmod:template. Maybe I can't do this - new to xMod Pro so I'm doing a lot of things I'm not allowed to do it seems. What I need to do is the following: I have a list of report categories to display. Under each of those categories, I need to display all of the reports pertaining to each. I would like to be able to apply different fo
Good Day i´m using a xmod form (A) to store a basic item in an cart table, but at the same tabID (page) i got other xmod template (B) with the cart count. i like to know how to refresh the cart xmod template via Ajax when the form show´s the AddSuccessTemplate. Can anyone help me to reach this? Template = <xmod:Template runat="server" id="shopCart" UsePaging="True" Ajax="True"> Form = <AddSuccessT