izar
  •  izar
  • 55.4% (Neutral)
  • YAF Camper Topic Starter
2012-08-01T10:00:34Z
Hi.

I have to chanche some code on the Yaf forum. but I cant find.

This is the html generated. Where can I find that part?

Im searching into ascx and sorce files but cant find it


( marked in yellow)


imagen1

Imagen 2

thanks
Sponsor
tha_watcha
2012-08-01T11:03:07Z
I think in that old version this part of html code was rendered in the dna controls in the source code. But if you want to change the css settings you could do that from the theme.css for example...

.adminMenuAccordian {display:none}

.YafMenuItem a {position:relative}
UserPostedImage
izar
  •  izar
  • 55.4% (Neutral)
  • YAF Camper Topic Starter
2012-08-01T11:25:47Z
What I need is to remove these style atributtes from html and put them on the css file

When you say DNA controls source what are you refering to?


thanks
tha_watcha
2012-08-01T11:33:50Z
Originally Posted by: izar 

What I need is to remove these style atributtes from html and put them on the css file

When you say DNA controls source what are you refering to?


thanks



Ok the display:none is set in the DNA.JQuery\Accordion\Accordion.cs...

this.Style.Add("display", "none");

and the position:relative in the DNA.JQuery\Accordion\NavView.cs...

writer.WriteAttribute("style", "position:relative;");

You need the source Version of yaf to do this and Visual Studio to Recompile the DNA.UI.JQuery.dll
UserPostedImage
izar
  •  izar
  • 55.4% (Neutral)
  • YAF Camper Topic Starter
2012-08-01T11:57:09Z
I think Im usin 1.9.4 source version , and there I cant find

DNA.JQuery\Accordion\Accordion.cs. and

DNA.JQuery\Accordion\NavView.cs...
tha_watcha
2012-08-01T12:04:59Z
Originally Posted by: izar 

I think Im usin 1.9.4 source version , and there I cant find

DNA.JQuery\Accordion\Accordion.cs. and

DNA.JQuery\Accordion\NavView.cs...



They are included in 1.95 only i think. You can download this Version and compile the dna dlls only, in theory they should work also in 1.94. Make a Backup of the 3 dlls (DNA.dll, DNA.UI.jquery.dll and jquerynet.dll) before you do that.

UserPostedImage

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved