I have created a dynamic page in DNN. So I want to know that from where can I find this page in code side when I close my running application.
For example I have created a module which I can find under DesktopModule.
DNN does not create a file on the disk for each page if that is what you are looking for. All the data for a page is in the database in the Tabs and related tables.
Related
I have clients using the DNN CMS (Evoq Content 7.3.2) system and are questioning a specific area in the "Hyperlink Manager". There are two checkboxes (View image):
Track the number of times this link is clicked
Log the user, date and time for each click
If checked, where do we go to view these analytics?
I found resources online that mention we have to create an API for it, but are there any out-of-the-box solutions for this?
After some more researching, I solved my own problem and I wanted to share this with anyone who was looking for an answer to this.
For versions DNN 7.3.2 and lower, the Telerik RadTextEditor includes the feature as mentioned above. To view the analytics with an out-of-the-box method, simply return back to the link and open the "Hyperlink Manager" then navigate to the new tab called "Tracking".
Alternatively, I found developers can implement a control in a custom module called UrlControl. Refer to this link for more information: Link tracking information in html editor (DNN 7.1.2)
In DNN 8+, this feature no longer exists on the front-end UI. I'm not 100% sure if it's still usable or if this information gets migrated when upgrading from 7 to 8, though.
We are setting up different sites as portals in DNN. Some content will be shared across the different portals.
I'm using the following method to render 2sxc data in a page
http://2sxc.org/en/blog/post/using-2sxc-in-webforms-custom-webapi-or-other-razor-hosts-300
However, now i want get the same data in another page of a different portal.
Can any one help with the code so i just put in the source portal id and it can be rendered in a different portal?
Yes, this can be done :)
There's an App Data DataSource, where you can specifiy the portal and app-id (in 2sxc 8.5+). Use this in a visual query or in your code.
http://2sxc.org/en/Docs-Manuals/Feature/feature/9266
I've a copy of DotNetNuke website on my local machine in which I've added few pages and created new modules.
I've to move these new pages to production so have copied the pages to respective folders. I know there are few database entries that are also to be made on production database to recognize these pages and modules on production.
Please tell me how I can register these pages on production website
I searched on Google but may be I'm not getting the right keywords to search. Currently I've to restore my local db to production to run those pages. I'm using version 7 of DNN
This isn't something that DNN handles very well, publishing from a local environment to production.
The most common way (Besides backup/restore of the database) is to use page Templates. You can "Export" a page in DNN, that will generate an XML document with the modules and content referenced into the portals/#/ folder (where # is the portal id)
You can upload that file to your production site (same path) and then create a new page based on that page template.
Your question implies that you are creating .aspx files and copying those to the production server. That really isn't the way that DNN works, and you probably are creating a real mess.
How did you create the pages on your local site? Did you use the DNN functionality to create new pages, add modules to those pages, etc.? Or, did you do something else?
Use the built-in funtionality to create pages on your local installation and, as Chris
To add modules - Go to your web site in production, login as super user, and install the module, then go to the page in the web site and add it. The same as you would do with 3rd party module. This will properly add the info to db.
To add pages - You could do it within the code, using the
To create DNN page (the tab):
TabController tbc = new TabController();
//...populating the page's info
tbc.AddTab(destinationTabInfo);
To create ascx control as global (meaning doesn't belong to any module) ModuleControl.
var moduleControl = new ModuleControlInfo
{
... populate the fields
};
ModuleControlController.AddModuleControl(moduleControl);
I am using a CMS (DotNetNuke) for creating a web application. I am newbe for dotnetnuke.
I searched on net for add or create multiple container for a single page and also installed some package from dotnetnuke site. But there is a issue for add or create a container in a page.
I want to use three container for top, middle and lower container.
Can any one help me out to this.
Note : I am using dotNetNuke 7.0 version on my end.
I assume by "container" you are referring to Panes, locations where you place a module on a page?
I would recommend you look at the source code for some open source skins, including my own https://multifunction.codeplex.com/ that will likely help you understand how Panes are managed.
i need to remove sitemap.aspx from the site.
In dnn 6,there is a sitemap.aspx page that simply shows an xml sitemap.i cannot edit/remove that file.so i need to remove that page and recreate it with a simple html sitemap.
NOTE:the page name should be sitemap.aspx
Sitemap.aspx isn't a physical page you can delete.
You can, however, rename it to something else. It's in your web.config file, under the 'handlers' section. Just look for sitemap.aspx, and change it to something else, like 'searchenginesitemap.aspx'. Don't forget to update your robots.txt file to point to the new sitemap name, or go to the various webmaster console pages in search engines and advise them of the new location.
The sitemap.aspx is used to create the xml sitemap for search engines. By changing this you break this functionality and limit the search-ability of your site.
That being said, in Host Settings->Advance Settings you could setup a new Friendly Url that would match .*/sitemap.aspx to another url/page on your site.
I have long stopped using DNN's native sitemap.aspx... ITS BUGGY!... and here is how i found out.
I generated my own "CLEAN" sitemap.xml using a free 3rd party tool. And uploaded it to the root of my DNN website.... re-submitted the the domainname.com/sitemap.xml to Google via web master tools and as a result we now get a 1ST PAGE and TOP 10 RANKING.
Mostly in the top 5... where as before using DNN's native sitemap.aspx we would get random errors which was pretty ANNOYING. Plus we got very bad Google Page Rank, But those were just my findings of better results. Note:I also place the location of the sitemap within the robots.txt file...
Although i will admit that it is extremely ANNOYING that you cannot just edit the DNN Sitemap url. This creates an issue if you've built the the site on a test server and then migrate over to production... your DNN Sitemap url only reads the firs portal alias from when you first developed the site.
Anyway, this was my findings... others may vary... just sharing.