Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryToken ListToken List
Previous
 
Next
New Post
12/20/2005 2:05 PM
 

The procedure is 'mostly' the same, however there's some additional options with this release.

Skins, by default, are stored in the DesktopModules\Repository\Templates folder. Each skin is in a folder with that is the same name as the skin. So, for example, the 'default' skin templates would be found in DesktopModules\Repository\Templates\default. However, this folder is not accessible via the DotNetNuke File manager, so the only way to upload a new skin or modify an existing skin would be via FTP.

In this release, the Repository Module will also look in Portals\#\RepositoryTemplates when accessing the skin template files. The Portals location takes precedence and files are combined at runtime with the files in the DesktopModules path. You do not have to copy ALL the skin files, just the ones you want to modify

So, a real-world example.  . . .

You like the default repository skin, but want to change the style of the Title from Head to MyTitleClass, and do not want to have an image thumbnail at all. Here's what you would do...assuming this is for your Portal #0 ...

1) in the Portals\0 folder, create a new folder named 'RepositoryTemplates'
2) In the new RepositoryTemplates folder, create a new folder named 'default'
3) copy the default\template.html and default\template.xml files to a local folder on your work machine
4) edit the template.xml file and change the <CssClass> setting for the [TITLE] tag to "MyTitleClass"
5) edit the template.html file and remove the [THUMBNAIL] tag from the html
6) upload the modified template.html and template.xml files via the Admin->File Manager page and place the 2 new files in the Portals\0\RepositoryTemplates\default folder.

That's it. At runtime, the module will use the 2 modified files from the Portals folder and all other skin files from the DesktopModules path.

To create a brand new skin, copy the skin folder that's closest to what you want to design in the DesktopModules\Repository\Templates folder and paste it in the same location with the name of the new skin you're building. Then you can either modify the files in your new folder directly, or create a folder in the Portals\0\RepositoryTemplates folder and place only the files you modify.

If you have any questions or problems, just ask here and we'll help you out.

 
New Post
12/20/2005 4:23 PM
 
sfabian@gooddogs.com wrote

To create a brand new skin, copy the skin folder that's closest to what you want to design in the DesktopModules\Repository\Templates folder and paste it in the same location with the name of the new skin you're building. Then you can either modify the files in your new folder directly, or create a folder in the Portals\0\RepositoryTemplates folder and place only the files you modify.

Steve, for this to work the new folder needs to exist on DesktopModules\Repository\Templates or can just be created in Portals\0\RepositoryTemplates?


Vicenç Masanas
Banyoles, Girona - Spain

Disgrafic.com    PSD to DNN
 
New Post
12/20/2005 4:34 PM
 

technically it needs to exist in \DesktopModules\Repository\Templates even if that folder is empty and all the skin files are in Portals\#\RepositoryTemplates

The reason is that the dropdownlist of available skins on the Settings page is populated with the list of folders from the DesktopModules path. We'll fix it in the next release so that the list of skins is built from the combination of folder in the 2 locations.

But for now, you need a folder in the DesktopModules section in order to be able to apply a skin to a repository module

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryToken ListToken List


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out