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 ForumsRepositoryRepositoryTitle Style QuestionTitle Style Question
Previous
 
Next
New Post
11/29/2006 9:11 AM
 
Hello,
First let me say, I really enjoy this module.  I'm a newbie to all of this so please take this question at that.
Is there anyway to change the title style? 
For example on http://www.faktnet.com/DotNetNuke/DotNetNukeWebsitesDirectory/tabid/140/Default.aspx  
The Title font is different then the description.  I'm sure there is a tag that will help with this, could you point me in the direction of the page that I need to edit for this?

Best Regards

Do you use Oracle?  Then try GoldFish.Net

Get it from CNET Download.com! 

 
New Post
11/29/2006 4:55 PM
 

Sure, the Repository module is 'template' based, which means it uses external 'template' files to control the formatting of the output.

Templates are stored in the /DesktopModules/Repository/Templates folder and each template is in a sub-folder, so the 'default' template is in the default folder, etc.

Each part of the Repository is controlled by a pair of files, for example, the header is controlled by the header.html and header.xml files,  and the main display part is controlled by the template.html and template.xml files.

The .html file controls the layout and contains HTML tags and special Repository tags. The Title of a Repository item is positioned in the template.html file using the [TITLE] tag. The .xml files allow you to assign attributes to the tags that are present in the .html file, so to change the formatting of the [TITLE] tag, you would edit the [TITLE] token in the template.xml file and add or change the CssClass Setting.

The default stylesheet class for the [TITLE] tag is "Head". If you wanted to use the 'SubHead" attribute for the title, add a Setting named CssClass and set the value to SubHead. Look in the template.xml file and you'll see what I mean.

if you want to define your own special stylesheet class to use for a tag, you can add the .class definition to your portal's portal.css file, or your skin's skin.css file, or even place the definition inline by adding it to the header.html file then setting your custom class as the CssClass value for the [TITLE] tag.

 
New Post
7/7/2017 3:10 PM
 
Steve, I have a custom template located in \portals\<>\repositorytemplates\ and I'm trying to style the upload button text to red in the header.xml file because the white text doesn't go well with the background color that comes with the skin. I'm using the "tidy" skin. Anyway, here is how I'm trying to style the button within the XML and it's not working:


What am I doing wrong?
 
New Post
7/7/2017 3:16 PM
 
Steve,
I'm trying to change the text of the button for the upload to red. I have a custom template folder (defaultwithloc) in portals\<>\repositorytemplates\
Here is how I modified uploadbutton the header.xml file in that folder..



Why is it not working?
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryTitle Style QuestionTitle Style Question


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