Products

Solutions

Learn More

Partners

Community

Blog

About

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsSkinsSkins[Help] Add custom "partial" / "placeholder" sections from skin template and modules[Help] Add custom "partial" / "placeholder" sections from skin template and modules
Previous
 
Next
New Post
6/22/2016 3:22 AM
 

 

Hi to all professional DNN Developers,

This is my first question post. I am very new to DNN so I directly start using DNN8. I have some question and would like to know if possible to do that and how I could able to do that. Not sure I could get and hope to get the solutions answers here:

In my "skins > Gravity" folder, I use "2-Col.ascx" as my example:

 

If you see the yellow box that I highlighted, that's the "partial/placeholder" I want to put in. Currently I want to have 2 placeholder.

Next, assume I created the page. Then I drag the module into the content pane. Example below, I drag the HTML (just an example):

After dragged the module, I click on the cog icon, then click on "Develop". 
Example picture below show the content I want to insert as "partial/placeholder" content:


Highlighted in red box is the "partial/placeholder" contents I want to insert.

After I insert, those 2 "partial/placeholder"s this will be injected in the section (skin's template) like the first example yellow box section.

I also can drag and add more modules, then specific that "partial/placeholder", the content will be added and append (will add if more) in the first example yellow box section.

Can possible to do something like this? Please correct me or tell me how the "DNN way" so that I can do something like I explained?

Many thanks!

 

 
New Post
6/22/2016 7:49 AM
 
Chan Chee Chiew wrote:

 

Hi to all professional DNN Developers,

This is my first question post. I am very new to DNN so I directly start using DNN8. I have some question and would like to know if possible to do that and how I could able to do that. Not sure I could get and hope to get the solutions answers here:

In my "skins > Gravity" folder, I use "2-Col.ascx" as my example:

 

If you see the yellow box that I highlighted, that's the "partial/placeholder" I want to put in. Currently I want to have 2 placeholder.

Next, assume I created the page. Then I drag the module into the content pane. Example below, I drag the HTML (just an example):

After dragged the module, I click on the cog icon, then click on "Develop". 
Example picture below show the content I want to insert as "partial/placeholder" content:


Highlighted in red box is the "partial/placeholder" contents I want to insert.

After I insert, those 2 "partial/placeholder"s this will be injected in the section (skin's template) like the first example yellow box section.

I also can drag and add more modules, then specific that "partial/placeholder", the content will be added and append (will add if more) in the first example yellow box section.

Can possible to do something like this? Please correct me or tell me how the "DNN way" so that I can do something like I explained?

Many thanks!

 

This does not sound like the DNN way at all ;-)
When you edit the skins ascx you will edit it for all pages , so this is not the way to do this.
You normally have one or more panes and use modules to add content.
Whats inside these block you want to inject

 
New Post
6/22/2016 6:05 PM
 
Hi,

Basically, I want certain element or scripts to the bottom of content.

Some elements I want it to be at the bottom of all content example such as modal pop-up window. If placing  it at same section, the other content will overlap my modal pop-up instead.

Also, I want to put all JavaScript at the bottom of all content.

Can tell me how does the DNN way work so that I can achieve that?

Thanks.

 

 
New Post
10/12/2016 2:50 AM
 
Chan Chee Chiew wrote:
Hi,

Basically, I want certain element or scripts to the bottom of content.

Some elements I want it to be at the bottom of all content example such as modal pop-up window. If placing  it at same section, the other content will overlap my modal pop-up instead.

Also, I want to put all JavaScript at the bottom of all content.

Can tell me how does the DNN way work so that I can achieve that?

Thanks.

 

 

<%@ Register TagPrefix="dnn" Namespace="DotNetNuke.Web.Client.ClientResourceManagement" Assembly="DotNetNuke.Web.Client" %>
<dnn:DnnJsInclude runat="server" FilePath="file.js" ForceProvider="DnnFormBottomProvider" />
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsSkinsSkins[Help] Add custom "partial" / "placeholder" sections from skin template and modules[Help] Add custom "partial" / "placeholder" sections from skin template and modules


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
DNN Launch Webinar
VIEW ON-DEMAND
DNN Launch Webinar
VIEW ON-DEMAND
DNN Launch Webinar
VIEW ON-DEMAND