YAFLogo

Posted by: jtrac429 - Tuesday, 18 March 2008 05:56:59
2 questions - YAF 1.9.1.6 How can I get the search form to display on every page rather than having the link to the form in the first row of the "class" table? I'm thinking about an I-frame perhaps that points to that page but where to put that I don't know. Can the initial post in a topic be styled any differently to give the users of the forum a clearer sense that this post was first and all posts beneath are replies. As I read it now each post is using the "postheader" class. I'd like to see a different class like "initialpost" for the first one in a thread and 'postheader' the rest of the way. I work for a not for profit organization that has over forty facilities and we're trying to flatten our landscape. I think YAF is an excellent tool to facilitate conversations about protocol, equipment needs, etc. across geographic boundaries. Any help will be greatly appreciated.

Posted by: Jaben - Tuesday, 18 March 2008 23:38:07
Hello, Both are possible with a little tweeking. The first one you might want to modify the "Default.aspx" page and add a search box to that. (A form that posts to the search page.) The second one, I suggest you take a look at the /pages/posts.aspx code -- there you should find a way to change the class on the first post.

Posted by: jtrac429 - Monday, 7 April 2008 13:28:46
No luck implementing the search on all pages. Not sure how to wire the search functionality to the default.aspx page. Below is one of numerous attempts, and subsequently numerous failures. If I remove the Reference to the search page the form will allow me to input text and when I click the Search button I get to the search page but the page loads as if I just clicked the search link in the top row of links. Any help is always appreciated, in other words "Gunga Goongula" for you Caddy-Shack fans [code]<%@ Page Language="C#" AutoEventWireup="True" %> <%@ Register TagPrefix="yaf" Namespace="yaf" Assembly="yaf" %> <%@ Register TagPrefix="yc" Namespace="yaf.controls" Assembly="yaf" %> <%@ Reference Page="~/pages/search.ascx" %> This title is overwritten

[/code]

Posted by: jtrac429 - Wednesday, 28 May 2008 13:38:18
still looking for a solution to this issue. Anyone?