arada
  •  arada
  • 51.8% (Neutral)
  • YAF Forumling Topic Starter
2010-07-27T09:38:26Z
Hello, I would like to insert a few line of description below the name of my forum in the main page...but i don't know how: is there any kind people out there who can help me?
many thanks in advance
Sponsor
herman_herman
2010-08-04T14:30:38Z
Hi
you mean footer or header ?
arada
  •  arada
  • 51.8% (Neutral)
  • YAF Forumling Topic Starter
2010-08-09T19:28:06Z
Hi Herman and thanks for replying. if you open http://forum.yetanotherforum.net  the place i would like to insert a few lines of description in is just below "Yet Another Forum.NET" and above the "Current time" and "Your Last visit"
i use 1.9.3


herman_herman
2010-08-09T20:37:30Z
Hi
You need to change the file "ForumWelcome.ascx" inside "controls" folder.If you want to add just a plain text then you can do it using something like Notepad otherwise you need to modify the source.For example I will change the file from this:

<%@ Control Language="C#" AutoEventWireup="true" EnableViewState="false"
    Inherits="YAF.Controls.ForumWelcome" Codebehind="ForumWelcome.ascx.cs" %>
<div class="yafForumWelcome">
    <div id="divTimeNow">
        <asp:Label ID="TimeNow" runat="server" /></div>
    <div id="divTimeLastVisit">
        <asp:Label ID="TimeLastVisit" runat="server" /></div>
    <div id="divUnreadMsgs">
        <asp:HyperLink runat="server" ID="UnreadMsgs" Visible="false" /></div>
</div>


To

<%@ Control Language="C#" AutoEventWireup="true" EnableViewState="false"
    Inherits="YAF.Controls.ForumWelcome" Codebehind="ForumWelcome.ascx.cs" %>
<div class="yafForumWelcome">
    <div id="div1">
        <asp:Label ID="Label1" runat="server" /></div>
    <div id="div2">
        <asp:Label ID="Label2" runat="server" />
        <br />
        This is my Forum!</div>
    <div id="div3">
        <asp:HyperLink runat="server" ID="HyperLink1" Visible="false" /></div>
</div>
arada
  •  arada
  • 51.8% (Neutral)
  • YAF Forumling Topic Starter
2010-08-14T08:34:01Z
It works!! thanks so much, Herman

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