Leaderboard

Rank Member Pts

Welcome to DNNDev University

DNNDev University LogoJust like a university without the grades and student loan. Think of it more as a merging of the student union and open classrooms. Ask questions, get answers, learn, teach, make friends and contacts.

Find Out More

 

Here's What's Happening on Campus

Steve Krantzman

Steve Krantzmananswered the question Adding hidden comments in a template

Jeff, It sounds like you want to document what a parameter is used for, inside the template. Why not just add an html comment tag next to the parameter? http://www.dnndev.com/fiddle/fid/782 Steve

4 days ago

Jeff M.

Jeff M.asked the question: Adding hidden comments in a template

Hello.. I have a template which has parameters for the listdatasource. For one of the parameters, I'd like to add a comment at the end so the person editing the template would see this and give them guidance as to what the parameter does. Is there a …

4 days ago

Jeff M.

Jeff M.answered the question Open a command window

have you thought about getting ping via javascript? Maybe have the IP or server name field in a form and have a template display the results? https://github.com/jdfreder/pingjs http://jsfiddle.net/GSSCD/203/

2 weeks ago

Jeff M.

Jeff M.voted on Hiding "NoItemsTemplate" until first search

<p>I provide this solution under the assumption that your search is being done in the <ItemTemplate> section of the XMod Template. There may be a better way, but I accomplished this by having my search results returned as output parameters in a ListDataSource Stored Procedure for my XMod Template. Then I use a Select control in the NoItemsTemplate to show a message on how to perform a search (when page loads - Case statement), and then another message if the search returns no result ...

2 weeks ago

Steve Krantzman

Steve Krantzmananswered the question Hiding "NoItemsTemplate" until first search

I provide this solution under the assumption that your search is being done in the <ItemTemplate> section of the XMod Template. There may be a better way, but I accomplished this by having my search results returned as output parameters in a …

2 weeks ago

Jeff M.

Jeff M.asked the question: Hiding "NoItemsTemplate" until first search

Hello.. Is there a way to hide the "NoItemsTemplate" field on a template until a search is entered? I have a XMP form and a XMP Template on a page. Search items are entered in the form to be returned in the template. At first page visit, the …

2 weeks ago

Jeff M.

Jeff M.answered the question Passing string parameter to SELECT statement using WHERE IN

Sorry I missed this, but I've built a dynamic SQL statement within a stored procedure. I forget the true reasoning behind it, but I believe it was the same type of issue you're having; passing variables kept causing errors, etc. Here's a sample (it's …
Jen Sharp also answered the question Jen Sharp also answered the question

2 weeks ago

jeffwest1

jeffwest1created the topic: Dynamically load images

Within Xmod you can set an image url to show images on a page, however, I am looking to dynamically do this. I have the directory paths of images linked to sites in a database table, there are no two sets of images that are called the same, nor are there …

2 weeks ago

  • NewestOldestView All Comments7 comment(s)
  • Steve KrantzmanJeff,

    Been there,,, it sucks to inherit someone else's mess, and worse when there is little to no documentation.

    "I need to build a import for adding new images..." Import could mean many things, but if you are looking for a file upload interface for XMod Pro, Check out Xile ( http://reflectmediagroup.com/Products/XMod-Pro-Plugins/Details/prodid/7 ). It is a jQuery File Upload con ...2 weeks ago
  • jeffwest1Thanks again Steve.

    I had looked at this, and some other options for this, before, but company have not agreed any costs in terms of buying anything to add to the current provision, although I am trying to change that, so for now I am going to have to do some stuff manually ;-(

    Thanks for all your help.

    Regards

    Jeff
    1 week ago
  • Steve KrantzmanJeff,

    I totally understand that. I work for a non profit so my IT budget is very slim. Thankfully it is not too difficult to incorporate Javascript into XMP. There is a fairly large offering of free jQuery plugins that are available to solve all kinds of needs. As a matter of fact, you can use BlueImp's jQuery File Upload plugin https://github.com/blueimp/jQuery-File-Upload , which is the backbone of Xile. Sam ...1 week ago
Roel Broersma

Roel Broersmacreated the topic: Parameter in ControlDataSource does not work with [[Form:..] Token

Hello, I am doing a test and found the following; I have a template on which is an edit button. When clicking the EDIT button, it displays the EDIT form. The Edit form has a <SelectCommand> with a <parameter value='[[Form:product_id]]' and …

2 weeks ago

Adam

Adamearned the privilege Edit own topic or reply

Earned the Edit own topic or reply privilege!
jeffwest1ken wiebe Brownand 123 others also earned the privilege jeffwest1and 125 others also earned the privilege

3 weeks ago