Welcome Guest Search | Active Topics | Log In | Register

Using alpha 1.9.3.3 - need page titles to bubble up to master page Options · View
ahsan
#1 Posted : Tuesday, May 13, 2008 3:58:57 PM

Rank: YAF Forumling


Joined: 5/13/2008
Posts: 8
I have a site which consists of a "My Page" sitting as an app at one level, and then multiple other apps (incl. YAF) as apps underneath the "My Page" app, all using the SqlMembershipProvider to share credentials between the different apps in my "portal".

With the above setup, I would like to introduce a Master Page to the YAF app, which will include my own site-wide header and navigation buttons to navigate between the different apps on this portal. I understand that because these are separate individual apps, that each app would require a redundant master page but we are fine with that at this point. However, for the YAF forums in particular, I am having trouble getting the individual page title properties to bubble up to my Master page. I don't even know where to begin looking for where the page title is set within YAF.
ahsan
#2 Posted : Tuesday, May 13, 2008 4:14:51 PM

Rank: YAF Forumling


Joined: 5/13/2008
Posts: 8
Well I stumbled upon the solution by simply putting an id="YafHead" on the <head runat="server"> control of the Master page. The YAF code figured it out from there. NICE.
bedazzled
#3 Posted : Monday, June 16, 2008 9:48:19 PM

Rank: YAF Forumling


Joined: 6/16/2008
Posts: 2
Location: Germany
Hello,
I don't understand how you put YAF in you masterpage template just using id="YafHead" in <head> tag of your masterpage.

So, can anybody suggest me how to put YAF in masterpage? I have forum and masterpage file as one application.

Thanks for advance!
bedazzled
#4 Posted : Wednesday, June 18, 2008 12:25:26 PM

Rank: YAF Forumling


Joined: 6/16/2008
Posts: 2
Location: Germany
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.3 RC1 | YAF © 2003-2008, Yet Another Forum.NET
This page was generated in 0.078 seconds.

SourceForge.net Logo Powered by ASP.NET v2.0 411ASP.NET