Issue
A customer may have installed a container at a site level, but can't apply it to a page after upgrading to DNN 9.1.1+
- When the customer search for the UI option on the Page level (
Page > Settings > Advanced > Appearance
) and try to select the container from the local (site level) containers, the option is not there. - When the customer tries to do the same on the Global level for Pages, the option is available for selecting the Page container from the Global containers.
- When the customer tries to apply the container on a module level, the option is available by going to
Module > Settings > Module Container
Environment
DNN 9.1.1+
Root cause
This feature is not supported in 9.1.1 or later versions through the UI, you can't apply site level containers to pages using the UI.
Workaround
You can force the system on a Database level to use the container on a particular page (tab), in order to do that, follow these instructions:
- Update the container associated with the page.
- Run the following SQL script:
update tabs set ContainerSrc = '[L]containers/<@theme_name>/<@container_name>.ascx' where TabID = '@tab_id'
where:-
@theme_name is the theme of the container.
- @container_name is the name of the container.
- @tab_id is the tab_if found in step 3.
Note: [L] indicates that the system will be looking for that file on the portal level, it won't try to look for the respective file on the global level.
-
- Access the page and confirm that the container was applied successfully.
Content Author
Hamid Waqas
Comments
0 comments
Please sign in to leave a comment.