YAFLogo

Posted by: LAstrom - Tuesday, 5 August 2008 05:51:15
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?

Posted by: Jaben - Tuesday, 5 August 2008 09:29:16
Yes, it's possible. But like a lot of things, it might take some tweaking.

Posted by: LAstrom - Tuesday, 5 August 2008 09:30:32
[quote=Jaben]Yes, it's possible. But like a lot of things, it might take some tweaking.[/quote] Can you elaborate on how to do this?

Posted by: Jaben - Tuesday, 5 August 2008 11:56:16
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.

Posted by: LAstrom - Tuesday, 5 August 2008 12:38:25
Since you won't help, does anybody else have a solution for me?

Posted by: colossalc - Tuesday, 5 August 2008 17:49:26
[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?[/quote] 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?

Posted by: Jaben - Tuesday, 5 August 2008 18:50:41
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.