The Page Localization Module lets you translate the names and titles of the pages in your portal. The translated values are saved in the database, and easy editable. Rendering of the localized page names is being done by multi language enabled skin objects, which are part of this module package. Only after you replaced the default DotNetNuke menu objects (ie. solpartmenu, breadcrumbs, links, pagetitle, treeview) will the localized page names be visible.
The following skinobjects are installed during the installation of the module: MLNAV, MLMENU, MLTREEVIEW, MLPAGETITLE, MLLINKS and MLBREADCRUMB. These skinobjects are completely compatible with the corresponding dnn skinobjects, however, some of the skinobjects have extra features. This is a list of all extra and changed attributes of the skinobjects
SkinObject | Attribute | Allowed Values | Default Value | Comments |
[MLMENU]
|
ParentID | Valid integers | empty | You can set the TabID that has to be used as parent for the menu directly with this attribute. Just pass a valid TabID, and only child tabs of that tab will be visible in the menu |
Level | "child" "same" "levelX" |
ParentID or Root | If you pass a value for Level, it takes precedence over the passed
ParentID.
You can pass a specific TabID as parent, if you use this syntax:
Now, if you pass "level1" to the skinobject, no matter what page you are on, the menu will always show with an ancestor tab of the current tab that has level 1 (ie, 101, 102. 103, 104 or 105) |
|
ShowAdmin | "True" "False" |
"True" | If you set this attribute to "False", the admin and host menu's will not be rendered. This is useful if you want to use this menu in an admin skin, and you don't want the admin menu's to disrupt your skin | |
OnlyAdmin | "True" "False" |
"False" | If you set this attribute to "True", only the admin and host menu's will be rendered. This is useful if you want to use this menu in an admin skin, and you don't want the admin menu's to disrupt your skin. This attribute will let you put the admin menu's on a different location of your page | |
[MLPAGETITLE] | Visible | "True" "False" |
"False" | This skinobject is used to change the page attributes, like title, description and keywords. As such, it is always necessary to use this skinobject, in order to see the localized values. If you also want to render the pagetitle in your page, set this attribute to "True" |
Please refer to the DNN Skinning Documentation to view the default attributes for all skinobjects, you can download the skinning documentation (as part of the documentation package) here: DotNetNuke Documentation