YAFLogo

delavega
  • delavega
  • 60.8% (Friendly)
  • YAF Forumling Topic Starter
15 years ago
I'm trying to insert the in a specific part of my site.

I notice it's in forum.ascx and has codebehing. I'd like to move it to default.aspx, to a special bar in my site.

How can I do this? Should I move the code in forum.ascx?

Many thanks!

Sponsor
Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer
15 years ago
Pagelinks is a control inside YAF.Controls.dll -- that would be the reference required.

I must say the controls were never designed to be used outside of YAF -- you sort of in new territory/on your own with them.

delavega
  • delavega
  • 60.8% (Friendly)
  • YAF Forumling Topic Starter
15 years ago
Thank you Jaben.

Maybe I explained wrong, I'd like to use it in the YAF's default.aspx (not in the default.aspx of my site)

I add to YAF's default.aspx my own site's header, and I'd like to put the Pagelinks there, in the header, but inside the YAF's default.aspx.

Not sure if it's possible. I try isolating the forum.ascx code in another control to put in the default.aspx, but it says that for example Page.Context does not exist there.

Many thanks

delavega
  • delavega
  • 60.8% (Friendly)
  • YAF Forumling Topic Starter
15 years ago
Fortunately, as I have experience with CSS, I managed to move them with the CSS position attribute set to .yafPageLink.

Anyway, for curiosity purposes, I'd like to know if it's possible what I was trying to achieve.

Many thanks!