rajani
Nuke Ace Posts:58
|
04/14/2009 12:05 AM |
|
I have developed .net project and now i want to update it with DotNetNuke.Previous project contains ajax controls.Right now i m converting each aspx page to user control and then adding it to the page in DotNetNuke.But i m not able to give link to the page which is made in DotNetNuke.How i can do this?Where the pages are getting stored in dotnetnuke?I want to give link from user control to the page in DotNetNuke which also contains another user control
|
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
04/14/2009 8:42 AM |
|
The pages in DotNetNuke are actually generated dynamically from entries in data tables. To link to another DotNetNuke page, you can use a link like http://yoursite.com/pagename.aspx. But, there probably are better ways to do this. Check out adefwebserver for a tutorial or two on navigating between pages. |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
rajani
Nuke Ace Posts:58
|
04/16/2009 12:14 AM |
|
In dotnetnuke there are 3 tabs home,admin and host.i want to add one more "tab" .How i can do this? |
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
04/16/2009 9:41 AM |
|
Logged in as Admin or Host, look at the left side of the Control Panel for Page Functions. Click the Add link. Take a look at these tutorials: |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
rajani
Nuke Ace Posts:58
|
04/17/2009 3:23 AM |
|
Thanks for previous reply. I did it. Our Project related with online shopping, contains different "web stores" and they have different url's. we were managing the the web stores by different "store id". when user hits the url, as per the url it will redirected to the different home pages and then all operations are done with the help of storeid.how i can do this in dotnetnuke 4.09.02?I want to display two different home page from dotnetnuke as per the url changes.plz help me out. |
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
04/17/2009 7:45 AM |
|
One way that you might approach this is via Ifinity's URL Master and explicitly rewrite the incoming URL. I'm assuming the "store id" is embedded in the URL?
Another approach would be to put a custom module on the home page that looks at the URL and redirects.
I'd probably go with the first approach.
If there are more details on what you are doing, please explain more. There might be other alternatives.
|
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
rajani
Nuke Ace Posts:58
|
04/18/2009 5:47 AM |
|
right now we are running our project on localhost,so given the links like " http://localhost/dnn/GtplCart/Categ...fault.aspx" this works very well.But the problem is, when we will upload the same pages in server it will not work.So what i can do ,so that there will not be the necessary to change the links when we will run our project on server ... |
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
04/18/2009 7:47 AM |
|
You should write your code to use relative links.
If the links are hard coded to include the base URL, you will have to edit that when you upload the site to a new server with a live URL.
|
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
rajani
Nuke Ace Posts:58
|
05/06/2009 12:49 AM |
|
thanks for previous reply Now i m facing problem with fileupload control.i have used it in one of the control n written the code as fileupload1.hasfile...even if i m giving filename it gives error Object instance not set to an instance of an object....i tried other options like postedfile but it is not working n gives same error...what i have to do so the error will out.i want to give path for image file from file upload control n want to save it in the database... I have taken checkbox in fieldset. On page there are 2 fieldset, one for billing address and other for shipping address,if i click the checkbox it would run javascript fuction and must fill the values from billing address to shipping address with same values.And the checkbox which i have taken is html control. i just want information copying from one fieldset to another with checkbox event.How i can do this?? |
|
|
|
|
rajani
Nuke Ace Posts:58
|
10/08/2009 8:25 AM |
|
Good Evening Sir,thanks for previous all reply. I have a problem with httpcontext object. on home page i add value of url into the httpcookie . For log out page i get this saved value from httpcontext.current.Request.Cookie method. Suppose i have saved 'localhost/DNN' into cookie then httpcontext.current.Request.Cookie gives the url as 'localhost%2fDNN' so it gives error in my code. how to solve this problem so i get both url's have equal value. please help me. |
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
10/09/2009 8:32 AM |
|
You will need to decode the URL that you get from the cookie. "%2f" is the coded value for /. .NET Framework Class Library<!----> HttpServerUtility..::.HtmlDecode Method (String)<!----> <!--Content type: Devdiv1. Transform: orcas2mtps.xslt.-->
<!----> Decodes an HTML-encoded string and returns the decoded string. <!---->
Namespace:
System.Web
Assembly:
System.Web (in System.Web.dll) |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
rajani
Nuke Ace Posts:58
|
11/10/2009 10:46 PM |
|
Good morning sir, Thanks for previous all reply.i have a question that can i add more than one parent modules in single dnn web site. |
|
|
|
|
rajani
Nuke Ace Posts:58
|
11/10/2009 10:48 PM |
|
I am using dnn 4.09.02 version. |
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
11/11/2009 5:37 AM |
|
You can have more than one parent portal, yes.
|
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
rajani
Nuke Ace Posts:58
|
11/12/2009 11:58 PM |
|
Thanku sir |
|
|
|
|
rajani
Nuke Ace Posts:58
|
11/16/2009 7:25 AM |
|
Good Evening sir, Pls tell me , does dnn skin and dnn themes both are same things?If no,how can I change the theme of dnn site. thank u. |
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
11/16/2009 4:26 PM |
|
Yes, those are the same thing. You change the "theme" by changing the skin.
|
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
rajani
Nuke Ace Posts:58
|
11/17/2009 11:04 PM |
|
Good morning sir. Thanks for previous all reply.I have downloaded free dnn skin named 'DNNFlower'. It work fine in my site.I have problem in current date.On home page it shows wrong date i.e. previous day date.If I logged as 'Admin' and 'Host' then it shows correct date. pls tell me how to solve this problem. Thanks. |
|
|
|
|
rajani
Nuke Ace Posts:58
|
11/18/2009 12:27 AM |
|
I have another question.I have added FAQ module in my dnn web site page. I have added two categories named 'shopping cart' and 'DNN' and a question-answer in each category.But it shows both questions sequentially one after another date-wise. Is it possible to see question and answer categoriwise .ie.'Shopping cart' category and all its questions ,'dnn' category all its questions? If yes,how do I set this in my module. Thank u. |
|
|
|
|
rajani
Nuke Ace Posts:58
|
12/02/2009 7:23 AM |
|
Good evening sir, Thanks for previous all reply. We are facing some problems with different browsers while viewing our site. http://amookherjee.s20.dotnetsql.com/ Please open it in IE and Mozilla Firefox to check the difference. The main difference could be seen in the left pane of our website. If you suggest us the solution then we will be thankful to you.. |
|
|
|
|