Welcome Guest Search | Active Topics | Members | Log In | Register

header customization in YAF
jezzykiss Offline
#1 Posted : Tuesday, September 08, 2009 6:05:41 PM(UTC)
Rank: YAF Forumling

Joined: 9/8/2009(UTC)
Posts: 1
Location: US

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Hi

Iam trying to customize the header part of YAF

when we run in browser the first is

Welcome Guest Search | Active Topics | Log In | Register


and second you

Forum>TestForum


I want this second to be moved separately and place whereever I want.
May I know which code part does this ?
chriscoe71 Offline
#2 Posted : Sunday, October 25, 2009 5:40:16 PM(UTC)

Rank: Advanced Member

Medals: Medal of Open Source Contributer: Given to someone who gets open source and gives back to the community.

Joined: 3/2/2009(UTC)
Posts: 49
Location: by the beach...

Thanks: 5 times
Was thanked: 9 time(s) in 7 post(s)
jezzykiss wrote:
Hi

Iam trying to customize the header part of YAF

when we run in browser the first is

Welcome Guest Search | Active Topics | Log In | Register


and second you

Forum>TestForum


I want this second to be moved separately and place whereever I want.
May I know which code part does this ?


I'm not sure if you have received an answer on this yet.

The header is in YAF.Controls > Header.cs

The breadcrumb is in YAF.Controls > PageLinks.cs

It looks like you can use the PageLink Control.
Code:

<YAF:PageLinks runat="server" ID="PageLinks" />


However, you will have to populate it in the code behind.

As an example, look in the pages folder on the root of the web application at the forum.ascx and forum.ascx.cs files.

Hope that helps.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.4 RC4 | YAF © 2003-2010, Yet Another Forum.NET
This page was generated in 0.172 seconds.