talal Posts:31
 |
| 06/07/2007 11:20 AM |
|
What is URLParams used for? In the documentation it says: "Includes the specified value in the navigation links of the moduleÈ But still do not understand how it is used. Any elaboration...or samples please |
|
TaLaL |
|
|
host Posts:93
 |
| 06/07/2007 2:15 PM |
|
| I think that tag was depricated. |
|
|
|
|
talal Posts:31
 |
| 06/07/2007 2:21 PM |
|
it was in the documentation. so what is the new tag to use? again the bigger picture here is to craete something similar to the DEMO where i have different modules interacking with each other. Thus my questions. |
|
TaLaL |
|
|
host Posts:93
 |
| 06/07/2007 2:27 PM |
|
| The documentation is being updated. That tag was a precursor to the AddLink/EditLink/SelectLink tags. |
|
|
|
|
talal Posts:31
 |
| 06/07/2007 2:38 PM |
|
| can i 'append' or modify the link itself? because i looked into these tags and i did not see that, it will allow modification to the text/image but not to the URL itself |
|
TaLaL |
|
|
host Posts:93
 |
| 06/07/2007 3:05 PM |
|
Basically you can manually create the links. WHen you see OrgID or whatever you used as a response variable, it's the ItemID of the record. The selectlink basically does this: href= THEURL?ContactID={fldItemID} So you could just add any parameters you wanted to, by writing the link manually. |
|
|
|
|
talal Posts:31
 |
| 06/07/2007 8:21 PM |
|
please provide example. i am not sure what do you mean by "add any parameters you wanted to, by writing the link manually" |
|
TaLaL |
|
|
brianc Posts:29
 |
| 06/25/2007 2:12 AM |
|
In the Demo you have online, it uses URLParams. Is the Demo not using the latest version or the screen shots of the templates not correct? It says URLParmas #Employees which I guess nobody understands. I created a module, added all three to a page and the edit/add works. When I click the select, nothing happens on the other two.. View still says Select a ..to get started. The Display doesnt have a temaplate area so I am not sure what it is for really. Are there any other current examples becuase right now I don't really understand. Do I have to create other modules to display the data like the Demo does? This is really not described anywhere.. what to do. Thanks. |
|
|
|
|
brianc Posts:29
 |
| 06/25/2007 2:18 AM |
|
| Also, what is {Application} ?? I do not see it in any docs. |
|
|
|
|
brianc Posts:29
 |
| 06/25/2007 2:21 AM |
|
Thirdly, http://www.socani.org/DNNModuleBuilder/ScreenShots/tabid/62/DemosId/2/SortBy/Title/Default.aspx It shows Response variable as EmpId yet there are no fields called EmpId .. where does it get the value?? |
|
|
|
|
SoCanI Posts:47
 |
| 06/25/2007 7:00 AM |
|
#Employees is the HTML way of creating a bookmark. The URLparams was adding this to the querysting to cause postbacks to scroll down to the module via the bookmark. Did you place a {SelectLink} in your main module? When you click that link the other 2 modules will respond. The demo modules were not built using current MB. We will rebuild them after the next release, hopefully in the next couple of days. Where did you see {Application}? The response variable is actually the ItemID field aliased. Can't have 5 modules on the page all responding to ItemID so a unique response variable is created for each module. |
|
|
|
|
brianc Posts:29
 |
| 06/25/2007 7:51 AM |
|
I chose the default template Grid (Selectable). I chose Table with Fields for the Display template. There are no settings for the View form, correct? Nothing happens on those two. Does the Response Variable need to be anything particular? I used ItemId. ( I thought in most cases it would be ItemId). To make something like the demo, do I have to create new modules, define fields, etc. again .. so they will actually be different zips (or projects)? |
|
|
|
|
host Posts:93
 |
| 06/25/2007 7:59 AM |
|
If you used ItemID in your module (under Module Options in Module Builder) then the {SelectLink} should add ItemID/1 (or whatever the ItemID is) to the querystring. Try something else (maybe leave as default) for the response variable. I've never used ItemID and perhaps there's some conflict. |
|
|
|
|
brianc Posts:29
 |
| 06/25/2007 9:20 AM |
|
it had the default first, that didnt work.. I dont think it added to the url either... the edit works though .. and I didnt change anything at all in the templates.. just loaded up what I mentioned.. (could it have anything to do with being logged in as host and the module is admin view only?) |
|
|
|
|
brianc Posts:29
 |
| 06/25/2007 9:21 AM |
|
| actually.. (from memory) when I moused over the select link, it did show in the status bar .. but when I clicked it, the url did not show that... hmmm |
|
|
|
|
SoCanI Posts:47
 |
| 06/25/2007 11:02 AM |
|
| Try setting the cache time to 0 on all modules. Module Settings --> Page Settings --> Cache Time |
|
|
|
|
brianc Posts:29
 |
| 06/25/2007 12:13 PM |
|
if i put this in the url http://localhost/test/tabid/96/ItemId/1/Default.aspx it goes to this http://localhost/test/tabid/96/List/1/Default.aspx seems something is rewriting the url ... |
|
|
|
|
brianc Posts:29
 |
| 06/25/2007 12:14 PM |
|
| all cache were 0 |
|
|
|
|
brianc Posts:29
 |
| 06/25/2007 3:14 PM |
|
I uninstalled everything, reinstalled.. used the default templates.. same thing.. Are there any samples anywhere.. that I can load up .. demo is gone once you register... |
|
|
|
|
SoCanI Posts:47
 |
| 06/25/2007 3:26 PM |
|
THis is really perplexing. We've not had anyone else with this sort of problem. Is this live or local? Do you have any other modules installed? There are a few modules out there that mess with URL rewriting. DO you have any of those? Can you send the .zip files so that we can take a look at them? Send them to support socani org please. |
|
|
|
|