Hi,
For some reason, I can't find a way to create a pagetemplate holding the modules and the module settings.
I think i am doing something wrong, looking the wrong way or ...
DNN is quite new to me, I am still scratching the surface to explore its capabilities.
So please forgive me, if i am being stupid on this one...
Goal:
Creating and using a page template with a module including the module settings.
Applies to:
Does not seem to apply to:
Methods used:
- Export page, import page
- Copy page
Problem:
After creating a page with a SQL and a Document module and exporting it (with content included) I get not quite what i want.
I would like to have gotten a copy of the page with the SQL-statement included, but I get a page with just the 2 modules...
Later on i tested it with another page, containing a html module and a Media module, the html gets restored (copied) , but the images are not. (?)
Am I missing the option Include settings, is this a bug, or ...?
When I Copy the page using the Copy wizard I get the same result.
How to reproduce it / what i did...:
- Log on as Host (to be able to write sql later on...)
- Create a new page (tab)
- Add a SQL module to the page
- Apply the following settings:
- Title: [ simple foto viewer ]
- Description [ ]
- Allowed URL Parameters [ ]
- Active Data Source: [DotNetNuke Data Source]
-
Query:
SELECT dnn_Documents.Title AS [DocTitle], dnn_Documents.Description AS [DocDescr], dnn_Files.PortalID AS [PortalID], dnn_Files.Folder AS [FolderName], dnn_Files.FileName AS [FileName], dnn_Files.Size AS [FileSize], dnn_Files.Width AS [ImageWidth], dnn_Files.Height AS [ImageHeight] FROM dnn_TabModules LEFT JOIN dnn_Documents ON dnn_Documents.ModuleID = dnn_TabModules.ModuleID RIGHT JOIN dnn_Files ON dnn_Documents.URL = ('FileID=' + CAST(dnn_Files.FileID as varchar(30))) WHERE dnn_TabModules.TabID = @TabID AND dnn_TabModules.ModuleID != @ModuleID AND dnn_TabModules.Isdeleted = 0 AND dnn_Files.PortalID = @PortalID
- Html Decode [ ]
- Html Encode [ ]
- Caching [ ]
- Show Info Pane [ ]
- Show Controls [ ]
- Auto Run Report [v]
- Active Visualizer [ XSL Transformation Visualizer ]
- File location: [ Reports/Photoalbum ]
- File Name : [ Photoalbum.xsl]
- xml Namespace: []
- .Net Type : [ ]
- Add a Document Module
- Apply the following settings:
- Module title: [Manage photo's on this page]
- Give edit rights to the users who may add, edit and delete photos
- Do not add photos
- Export the page using the export button (left on top of the page, using the default DNN skin)
- Use the following options:
- Folder: [templates]
- Template name: [ Photo album ]
- Include content [v]
- Import the module as a new page
The result at point 8 is a template (xml-file) with the SQL-statement included, the result at point 9 is a page with the SQL-module telling me I should enter a SQL statement...
All steps are taken as "host".
Environment:
DotNetNuke Community Edition
|
5.1.0
|
|
ReflectionPermission, WebPermission, AspNetHostingPermission
|
SqlDataProvider
|
FileBasedCachingProvider
|
DBLoggingProvider
|
FckHtmlEditorProvider
|
DNNFriendlyUrl
|
True
|
humanfriendly
|
REQUEST_METHOD
|
True
|
Kind regards,
Luciano