header link


Author Message
Steven Nestler

Posted: 5/26/2010
Quote message 

I just started with Artisteer, and I'm excited about the possibilities; but I see there is a learning curve.
One of my questions involves the usual DNN behavior of returning to the home page when clicking on the logo.gif. To accomplish this with Artisteer, would I have to add a link to the image in the page.ascx?
Thanks,
Steven
 
Patrick

Posted: 5/27/2010
Quote message 

Hi,

I needed to do the same thing.

1. I made a new class in style.css similar to the art-logo class that comes bundled with the templates.

2. Included a separate logo.gif file in the portal root directory.

3. The following code or similar should be inserted inserted into your page.ascx file before <div class="art-logo">

______________________________________________________

<div class="art-logo-2"><a href="<%= DotNetNuke.Common.Globals.NavigateURL(Me.PortalSettings.HomeTabId) %>"><img width="100" title=Company" alt="Company Logo" height="100" border='0' src="<%= SkinPath %>images/logo.gif" /></a></div>


Good Luck!
 
Patrick

Posted: 5/27/2010
Quote message 

Woops!
Sorry- noticed a couple of slight glitches in the previous code.


<div class="art-logo-2"><a href="<%= DotNetNuke.Common.Globals.NavigateURL(Me.PortalSettings.HomeTabId) %>"><img width="100" title="Company" alt="Company Logo" height="100" border='0' src="<%= SkinPath %>logo.gif" /></a></div>




 
Steven Nestler

Posted: 5/27/2010
Quote message 

That sounds good. Thanks, Patrick.
 
Steven Nestler

Posted: 5/28/2010
Quote message 

Patrick,
Sorry, but I haven't gotten this to work.
After placing logo.gif in the root directory, I put this in style.css:
.art-logo-2
{
float:left; padding:0px 0 15px 8px;
}

I then placed this in page.ascx:
<div class="art-logo-2"><a href="<%= DotNetNuke.Common.Globals.NavigateURL(Me.PortalSettings.HomeTabId) %>"><img width="550" title="Company" alt="Company Logo" height="85" border='0' src="<%= SkinPath %>logo.gif" /></a></div>

I can't see what I've done wrong, but it doesn't work.
I'd appreciate any help with this.
Steven
 
Steven Nestler

Posted: 5/30/2010
Quote message 

:-)
Patrick,
A little tinkering, and it works! Thanks again!
Steven
 
Patrick

Posted: 6/2/2010
Quote message 

great! sorry I should have checked back on the post sooner - glad that you managed to get it figured out!