YAFLogo

LAstrom
  • LAstrom
  • 51.8% (Neutral)
  • YAF Forumling Topic Starter
2008-08-05T03:51:15Z
Hi, new to the forum here.

I am currently working on a very big project which includes content management, blogging and this beautiful forum, but there is a problem. In order to make the administration of the content manager, blog and forum easier, I have created a separate master page that wraps around the content manager and blog. This master page includes all the site-wide administrative actions. My question is if it is possible to declare a separate master page for the administrative side of the forum, but not for the user side?

Sponsor
Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer
2008-08-05T07:29:16Z
Yes, it's possible. But like a lot of things, it might take some tweaking.
UserPostedImage 
LAstrom
  • LAstrom
  • 51.8% (Neutral)
  • YAF Forumling Topic Starter
2008-08-05T07:30:32Z
Jaben wrote:

Yes, it's possible. But like a lot of things, it might take some tweaking.

Can you elaborate on how to do this?

Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer
2008-08-05T09:56:16Z
I could tell this was the next question by the way you asked the first question -- I almost answered you before you asked.

Can I elaborate? Of course. Will I? Nope.

I do not help with custom projects with YAF. The software is open source for a reason.


UserPostedImage 
LAstrom
  • LAstrom
  • 51.8% (Neutral)
  • YAF Forumling Topic Starter
2008-08-05T10:38:25Z
Since you won't help, does anybody else have a solution for me?
colossalc
2008-08-05T15:49:26Z
Quote:

My question is if it is possible to declare a separate master page for the administrative side of the forum, but not for the user side?

I might be misunderstanding you because it's trivial to specify a different master page for each page in an ASP.Net site. In fact, when you create a new page you have the option of specifying the specific master page that page will be associated with. You could even have a 1-1 relationship between pages and master pages if you wanted (would be ridiculous, but you could have it).

Did I misunderstand?

Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer
2008-08-05T16:50:41Z
YAF only has one "page" (it's a control embedded in one aspx page -- default.aspx by default) -- so it can have a masterpage -- but you'd have to change the links to point to a different aspx page for the admin. Not impossible or anything.
UserPostedImage