Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
SteadyRain
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  Add Custom HEAD Tags
Previous Previous
 
Next Next
New Post 4/26/2008 5:30 PM
User is offline Tony
29 posts
10th Ranked


Add Custom HEAD Tags 

I see on the home page of DNN that there are several tags in the HEAD section. I see through ADMIN that Title, Description and Keywords are managed by a user adding pages.

How does an Admin or Host add optional meta tags to the skin?

Tony

 
New Post 4/26/2008 7:07 PM
User is offline Will Strohl
1333 posts
Orlando.DotNetNukeUG.Net/
6th Ranked




Re: Add Custom HEAD Tags 

Things like this work in ASCX skinning.  I think that the skinning engine will still allow this to work with HTML skins as well.  Just put this at the top of your skin file and try it out (on a test installation of course).

<script runat="server">
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
 dim objCss As New PlaceHolder
 objCss = Me.Page.FindControl("CSS")
 If Not objCss Is Nothing Then
  objCss.Controls.Add(New LiteralControl("<meta name=""yourtag"" content=""yourcontent"" />"))
 End If
End Sub
</script>

Will LinkedIn profile
StrohlSiteDesign.com | My Blog | DotNetNuke® Skins by SSD
Google Toolbar Button for DNN | Suggested DNN Upgrade Paths
ODUG Web Site
 
New Post 5/10/2008 11:22 AM
User is offline Tony
29 posts
10th Ranked


Re: Add Custom HEAD Tags 

Can anyone confirm this would be the right way to solve my favicon issue?

<link rel="SHORTCUT ICON" href="/Portals/0/favicon.ico" />

...and if so, should the ico file be in this specific directory?

TIA-Tony

 
New Post 5/11/2008 9:55 AM
User is offline Tom Kraak
331 posts
seablick.com
8th Ranked






Re: Add Custom HEAD Tags 

Additional HEAD tags can be placed into Page Settings > Advanced Settings > Page Header Tags.

You need none of that for your favicon though. Just place favicon.ico into the root of your site and you are done.


Tom Kraak
Seablick Consulting LLC
DNN OpenForce 08: Intro to SEO with DNN
 
New Post 5/11/2008 12:07 PM
User is offline Tony
29 posts
10th Ranked


Re: Add Custom HEAD Tags 

Tom:

Thank you for the response. I've been having issues all week on this. I've just discovered that in IE and Firefox, I get a blue bird ico when using the www, but not if it's left out.

http://www.stjohnrochester.us shows a blue bird (which is my ico file)

http://stjohnrochester.us shows the default DotNetNuke ico file which is NOT in the root (I deleted it)

Looking specifically for the file, http://www.stjohnrochester.us/favicon.ico shows the 16x16 bird. However, Looking specifically for the file, http://stjohnrochester.us/favicon.ico shows the 48x48 default DNN file, which does not exist in the root as an ico file.

Any ideas?

Tony

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  Add Custom HEAD Tags
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


MaximumASP
MaximumASP provides a wide array of web hosting plans to fit any hosting need. We also provide software and services needed to keep it running optimally.
MaximumASP.com
Mad Development: dotnetnuke design and development
We are an expert Dotnetnuke shop specializing in developing solutions that merge the requirements of design and branding, content management, ecommerce, search engine optimization and business logic.
www.MadDevelopment.com
telerik
telerik r.a.d.controls suite is the most innovative and comprehensive toolset for ASP.NET development, tailored for seamless integration with the DotNetNuke project. This integrated collection of controls allows professionals to build web-solutions with the UI richness and responsiveness of desktop applications.
dnn.telerik.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP