Module Repeat on selected pages - dotnetnuke

How to repeat HTML module with content on selected pages?
Not on all pages
I know there is an option to display module on all pages under module setting.

Use the "Add Existing Module" function to handle this.
For this First of all add HTML module on page.
To add that HTML module on another page use Add Existing Module instead of Add New Module.
You can choose page from drop down on which you added HTML module.
Then add to new page. Content will also be placed.

Related

How to edit Default.Page.Template Content in DotNetNuke?

How to change home page content in DNN while creating a site itself.
I need to change different page. I created a new page and created Template. And I replaced inside Templates folder named (Default. page. template). But it is not working out. Provide me a better solution.
Probably the easiest way to do this is to create a site using the default template, edit that site to create your own site, and then save that as a site template (suitable named). You can then use that site template to create sites with the page structure that you want.
The default page template (I believe) is used when you create new pages using the the Pages UI. I don't believe that the default page template is used by the default site template.
If you have created a page and would like to apply a specific page template to the new page retroactively. To do this, go to the page that you want to change and append ?ctl=ImportTab to the url. That will bring up a dialog that allows you to change the emplate for a page with lots of options. It

Editing the body tags on specific Joomla articles

I need to add Call tracking for a Marketing campaign on my site that is currently housed in Joomla. It requires a certain script to be added inside the <body> tag only on designated pages.
I know I can add the script tag to the template but that would make it apply to every page. I am still new to Joomla, so can you tell me if there's a way to apply the script below to only the pages we want to track calls from? It needs to go before the </body> tag.
<script type="text/javascript" src="//cdn.callrail.com/companies/808848127/e001797b95eaf41026e7/12/swap.js"></script>
The easiest way to add a script to selected pages is to use an extension such as the professional version of the EasyScript plugin, the Flexi Custom Code module or similar.
It looks like you could also do this with Blank Module which is free. Publish the module to a non-display module position such as "debug" or similar and enable the module only on the required pages by selecting these under the Menu Assignment tab.

Installed DNN Module - Not showing in dropdown to give link

I had an link in my DNN site Menu - pointing to aspx page of my installed module.
I replaced this link with an external link.
And now i wish to change back to old one - aspx from module. BUT am not getting that listed in the dropdown
How to get that back or I missed anything ? I could found the module still in that EXTENSIONS.
Please suggest
Rigin
I think you may be a little confused,
Modules are placed on pages, (One or mor module generally makes up a page.
Menu links refer to pages,
To add a module to a menu it must be on a page.
Once you have placed you module on a page you can select it from the select a web page drop down
A dnn module got 2 pages a view page and a settings page. So you must be sure that your module start's with the correct page.
So what you want is not possible the way you want it.
Best way for you is to control the page in your module. You can control this with for example a user controls(ascx). See image for a default module view.

Remove Default Modules to ContentPane

I have limited knowledge on DNN, I designed new skin,container for pages and I can able to create pages with new skin.
But While create new page, there are few modules are automatically added to "contentPane" place holder.
Do you have any information about how to remove these automatically added modules to contentpane? (FYI, I am using latest DNN version)
There are two ways that modules are automatically added:
By default, the HTML module is added to every page. When you create the page, there is an option that shows the HTML modules selected. Before you create the page, just delete that module from the list.
There is a module option in DNN that says, "Add this module to EVERY page". You need to find out which modules are getting added and change that setting in that module.

How can i add new ascx page to the dotnetnuke module?

I want to create a webservice to my module . Mainly there are three pages in dot netnuke module . 1)edit 2) setting 3)view pages . how can i add one more page to the dotnenuke module saying webservice . i wan to get this page in manage button as edit and setting page comes .
You can add additional ASCX files to your project, but you then need to "Register" them with DotNetNuke, you can do this manually via the module definition on the HOST EXTENSIONS page, or you can update the .DNN manifest file to include the new ASCX registration.
To link to them using the MANAGE button (actions menu) you need to add a new ACTION item calling the URL to that ASCX file.

Resources