Module Expand / Collapse


Author Message
Bill

Posted: 12/10/2009
Quote message 

Has anyone noticed that the module expand / collapse feature is missing?
 
maryd

Posted: 12/11/2009
Quote message 

yes, I was just about to post on the same question. I want to minimize a text/html module so that the header with a summary appears and can be maximized if a user wishes by clicking on an expand icon. This is normal for DNN modules and although I have set the module to minimized in the settings, it is not happening in sites built with artisteer templates.

any solution?
 
lschaedle

Posted: 1/14/2010
Quote message 

Add me to the list - Yes, I'd like to know more about this as well.
 
Henner

Posted: 1/20/2010
Quote message 

I added the minimize/maximize function in this way:

Export the skin into a ZIP archive
UnZip the archive
Edit the "Article.ascx" file as follows:
(If you are not sure, please work with a copy !!)
If not exists, add a directive in the head of the file below the other directives
<%@ Register TagPrefix="dnn" TagName="VISIBILITY" Src="~/admin/Containers/visibility.ascx" %>
Then find the DNN Title Tag: <dnn:TITLE id="PostTitle" runat="server" />
Below this line add:
<dnn:VISIBILITY runat="server" id="dnnVISIBILITY" minicon="images/DNN-minus.gif" maxicon="images/DNN-plus.gif" />
If not exists, add a DIV below that line, because the module may not be shown correctly (I don't know exactly why that happens, but when I added
the follwing DIV below the dnn:VISIBILITY TAG, the module was shown correctly).
<div class="title_vis">
</div>

Then save the article.ascx file and ZIP the files again into an archive to install it on your portal.
Make sure, that you have the images DNN-minus.gif and DNN-plus.gif in
a folder named "images" in the following path:
<your DNN installationfolder>\Portals\_default\Containers\<your_installed_skinname>\images
to have clickable images to minimize and maximize the module.
To get the needed images, you can copy the folder "images" from the standard skin.

Hope I forgot nothing to describe and that it will work on your skin.

regards
Henner