YAFLogo

HotFrost
  • HotFrost
  • 54.8% (Neutral)
  • YAF Forumling Topic Starter
16 years ago
Hello everybody,

can anyone tell me where in the forum the themes folder path is specified??

i have installed the forum in my existing application, but there is no styling/images right now. And i done quite a research.

the forum is installed in the following path:

http://localhost/forums/[all forums folders, including 'themes' folder]

thanks for any advise!

HF

Sponsor
HotFrost
  • HotFrost
  • 54.8% (Neutral)
  • YAF Forumling Topic Starter
16 years ago
answering my own question:

YAF.Classes.Utils.Context.cs -> public static class YafForumInfo

check if _path is constructed correctly.

also in the appsettings, for root key, DO NOT USE '~'.. not '~/forums/', but '/forums/

Thank you, all!

test2005
16 years ago
The "~" in .Net specifies the root URL. In your case, using ~ would be the same as "http://localhost".

If you used "~/forums/" that is the same as specifying "http://localhost/forums/".

Using "/forums/" will attach that to whatever the current path context is.

For example, if you used "/forums/" in a page located in "http://localhost/myfiles/cool_files" then the full path would be "http://localhost/myfiles/cool_files/forums/". If you used "~/forums/" from the same page, the full path would be "http://localhost/forums/".

:)


.....the man in black fled across the desert..........and the gunslinger followed.....