|
|
 Rank: YAF Forumling
Joined: 8/15/2008 Posts: 5
|
I have 1.9.3 installed in a seperate folder (<root>/Forums) - aspnet 3.5 + iis7 (classic app pool). Specifically, I'd like to put the Active Discussiona and Forum Stats on the master page, or on the <root>/Default.aspx page. Is that possible? I've tried dragging the related controls onto the <root>/Default.aspx page, but I get a variety of errors. Without using the primary YAF:Forum control it appears that some "foundation" code is missing from the individual YAF controls. Is there away around this?
Thanks!
|
|
|
 Rank: YAF MVP

Joined: 2/12/2005 Posts: 923 Location: Italy
|
Each of the YAF controls has it's own namesspace. If you "import" (sorry, VB programmer!) the proper namespace, it should work fine. .....the man in black fled across the desert..........and the gunslinger followed.....
|
|
|
 Rank: YAF Forumling
Joined: 8/15/2008 Posts: 5
|
Thanks for the help! I tried "using" (sorry, c# programmer  ) all the YAF namespaces I could find. I seem to keep getting the "Object reference not set to an instance of an object." error on the PageContext object. I'm getting it in the LocalizedLabel class. Thanks again!
|
|
|
 Rank: YAF MVP

Joined: 2/12/2005 Posts: 923 Location: Italy
|
Do you have everything inside the same app directory? .....the man in black fled across the desert..........and the gunslinger followed.....
|
|
|
 Rank: YAF Forumling
Joined: 8/15/2008 Posts: 5
|
I believe so.
<root folder> -/App_Code - Some YAF Classes here - as described in setup docs -/Bin - Some YAF dlls here - as described in setup docs -/Forums - YAF Content. The forums work correctly, so I believe the install is correct (installed in subfolder of site...). -/cfg files - as described in the setup docs -/Default.aspx - trying to use controls here
Any more ideas?
Thanks!
|
|
|
 Rank: YAF Forumling
Joined: 8/15/2008 Posts: 5
|
HELP! Any more ideas I can try/look at? Thanks!
|
|
|
 Rank: YAF MVP

Joined: 2/12/2005 Posts: 923 Location: Italy
|
Does the site compile? If so, make sure you copy the YAF.DLL into the test site. If not, look at the stack trace. It should pint you to where the error is. It may be something as simple as a typo! .....the man in black fled across the desert..........and the gunslinger followed.....
|
|
|
 Rank: YAF Head Dude

Joined: 10/10/2004 Posts: 2,961 Location: Honolulu, HI
|
Yeah... what you are trying currently won't work -- I will need to come up with a method around this problem... no sure how just yet. Give it till RC1. "When you are grateful, fear disappears and abundance appears”." 
|
|
|
| Users browsing this topic |
|
Guest
|
YAFPro Theme Created by Jaben Cargman (Tiny Gecko)Powered by YAF 1.9.3 RC2 |
YAF © 2003-2008, Yet Another Forum.NETThis page was generated in 0.102 seconds.