DotNetNuke module position and panes - dotnetnuke

I have been using DotNetNuke for a couple of weeks but there is one thing I can't figure out. How can I find out which pane a module currently resides in. I have used mostly version 7 but I have tried version 6 too. I can't find this information anywhere.
When a page is in Edit Mode in 7.x there is an option to move a module to a different pane by hovering over the Move Icon. DNN displays a list of panes where the module can be moved when the mouse is over the Move Icon. DNN knows what pane the module is currently in because the current pane is excluded from the list. However, under the Settings for a module there is no property to tell you in which pane the module resides.
This is really important because most skins have LOTS (20+) of different panes. Usually panes are collapsible it is quite hard to tell which pane a module is in based solely on the position of the module on the page. Knowing the current pane of one module is required to get the correct layout when you add new modules.
The only thing that works is to use process of elimination. I can figure out a module's current pane if I can find which pane is NOT in the list of panes where I can move that module. This method is tedious and un-usable if you are trying to work with modules via the Page Management admin screen. Am I missing where to find this property or is not available. If it is not available then is there are better way to position items that I am missing?

Layout Mode should show you the PANE names. If you don't have Pane Names then it is possible that the Skin you are using has hidden the the name of the pane, but why they would do that I don't know.
Here's an Example of one of the Panes in my MultiFunction skin (available on codeplex) when in Layout Mode
TopPane

Related

How to make and use different page layouts?

I am new to DotNetNuke and come from a WP/Drupal background. I can't find any documentation on what I feel should just be a simple thing to do.
I need to have three different layouts, a Homepage layout which just uses a simple 12 column gird.
An InteriorA page where it uses a 9 col grid with a 3 col
Then an InteriorB page where it uses a 3-3-6-12 grid.
I dont see where I build and save these templates in code, then where to assign them to the pages I want to use them on.
Following up on the previous answer, resources available to you include the Xcillion theme that is provided with DNN installs. You will find the entire skin in /Portals/_defauilt/skins/Xcillion.
The "page layouts" are the .ascx files. The details of the layout are the "content panes" included in the .ascx files. They are the divs with IDs and the runat-server attribute.
You can define the layouts using different skin files, and then put content (modules) in the content panes that you would like to use. In other words, you can include the 3 layout possibilities in one .ascx, and place content appropriately.
The DNN Wiki has http://www.dnnsoftware.com/wiki/dotnetnuke-skins, with covers the basics of theming. You should be able to find more resources by Googling. One great resource on theme construction is DNN Hero's tutorials from DNN Creating. Start at dnnhero.com. This is a subscription service, though.
The location of these file is usually in a folder such as below:
\Portals_default\Skins
There are also skins which may be installed on a "portal" level:
These would be seen here:
\Portals\0\Skins
In here you should find a folder which is the name of the skin - And then the ASCX files for each individual skin file.

Difference between edit and site layout in DNN 9

Hi I have a very basic question in DNN 9. Can you guys explain me the difference between edit and site layout in DNN 9.
You didn't say which specific DNN 9 version you are using. I'll assume 9.2.0, which includes the Personal Bar control panel.
"Edit" mode is entered by clicking the pencil icon at the bottom of the persona bar. When you are in edit mode, you have additional options along the bottom to add modules or edit page settings. Edit mode also shows outlines (surrounded by dotted borders) of the content panes into which you can place modules. Edit mode also exposes controls that allow you to edit individual modules. You need to mouse over a module to see them.
I'm not aware of a "Site Layout" mode in DNN 9.2.0. Older versions of DNN did have a mode that shows the page along with the locations of the content panes. It doesn't show module content.

how to change DNN 7 Mega2DNN to Standard DNN menu

I has some problem, can anyone help?
how to change DNN 7 Mega2DNN to Standard DNN menu.
so it is one column going down
Thanks
The DDR Menu uses templates to conteol its behavior. Mega2DNN is one such template?
Assuming that the template is specified in your skin file, that's where you replace Mega2DNN with another template. Look at a skin file from the Gravity skin as an exmaple.
You will find a small collection of templates at http://dnnddrmenutemplates.codeplex.com/
The DNN Wike has a section on the DDR Menu, including a discussion of creating and configuring templates.
You may find it easy to modify an existing template, or you can create one from scratch. As for getting started, the ULTokens template creates a simple unordered list of links that you can style. The Superfish template creates a horizontal menu with dropdowns.
DNNCreative.com, a subscription site, has a nice tutorial

Drupal 7 "Panels"

I want to know about Drupal 7 module "Panels", and to know how to work on it, how it is useful in creating panes and customising it.
like the right top side in the below website. http://www.newsclick.in.
I would recommend you to look at this screencast:
http://dev.nodeone.se/node/770
Not just Panels but also how it works with page manager and views.
Kristoffer is correct. Looking at the right side of the website you linked, a lot of the functionality is found in views. You might use panels to handle appearance and views to address content. They work together very well. If your new to Drupal, I suggest you focus on the functionality and deal with the appearance after. Nodeone also has an excellent video series on Views called "Taming the Beast" which you will want to study before attempting to link views and panels.
Panels are mostly used to create customized layouts for multiple uses. You can create a page having different regions. It has a drag and drop content manager. Please read Panels module

dotnetnuke custom module development

Is it possible that i can i place a check in my module code seeing where my module is installed. (contentpane or rightpane or leftpane).
Basically if it is installed in the left or right pane i want to bring only 3 records to the display in my gridview and if it is installed in contentpane i want to bring all the records to the display in my gridview. is it possible? maybe can someone share any different technique by which i can achieve the above scenario in my module code.
2) how can i get the module id by only modulename in my c# code?
You have a variety of options that I think would be better than having the module try to figure out what pane it is in:
You add a setting where admins could specify the number of records to display
You could do the above and add a Pager to it so users could get to additional records
You could make your module a fixed height and set overflow:hidden or auto so users could scroll within the module.
You are looking for
PortalModuleBase.ModuleConfiguration.PaneName
Building a module in this way will couple it very tightly to a specific skin. ContentPane is the only pane name that is sure to exist. Skinners can make up any other pane names as they see fit.
[2] In your module, you can directly access ModuleID because the base class PortalModuleBase is already having that value.
and for 2 I am not sure but you can do me.parent.parent in debug mode because me.parent will be a container control and it's parent will be the pane. Casting it to pane may get it's name.
I don't know standard method to get that.

Resources