YAFLogo

pboudreau
  • pboudreau
  • 55.4% (Neutral)
  • YAF Forumling Topic Starter
16 years ago
I have 1.9.3 installed in a seperate folder (/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 /Default.aspx page. Is that possible? I've tried dragging the related controls onto the /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!

Sponsor
test2005
16 years ago
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.....

pboudreau
  • pboudreau
  • 55.4% (Neutral)
  • YAF Forumling Topic Starter
16 years ago
Thanks for the help!

I tried "using" (sorry, c# programmer :cheesy: ) 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!

test2005
16 years ago
Do you have everything inside the same app directory?
.....the man in black fled across the desert..........and the gunslinger followed.....

pboudreau
  • pboudreau
  • 55.4% (Neutral)
  • YAF Forumling Topic Starter
16 years ago
I believe so.

-/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!

pboudreau
  • pboudreau
  • 55.4% (Neutral)
  • YAF Forumling Topic Starter
16 years ago
HELP! 🙂

Any more ideas I can try/look at?

Thanks!

test2005
16 years ago
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.....

Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer
16 years ago
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.