Topic: How to edit punbb template ?

Ex :
Insert a logo in header ?
change the color of templates ?
change charset ?

Sorry for my English ! big_smile

Re: How to edit punbb template ?

Leader wrote:

Insert a logo in header ?

Look at the file include/templates/main.tpl

Leader wrote:

change the color of templates ?

Create a new style. Look in the the directory style/

Leader wrote:

change charset ?

This you have to edit the language files for. You will find the character encoding at the top of the file lang/****/****_common.php where "****" is your disired language.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

3

Re: How to edit punbb template ?

Hi....mmm...i cant put a logo in headre yet...what should i do?!

4

Re: How to edit punbb template ?

i mean...i know how to go the include/tamplates/main.tpl
i can edit this,but i donw know where to put the URL of the logo..
wait,this is the code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html dir="{pun_content_direction}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={pun_char_encoding}">
{pun_head}
</head>
<body{pun_body}>

<table class="punmain" cellspacing="1" cellpadding="4">
    <tr class="punhead">
        <td class="punhead">
            <span class="punheadline">{pun_title}</span><br>
            {pun_desc}
        </td>
    </tr>
    <tr>
        <td class="puncon1">
            {pun_navlinks}<br><br>
            {pun_status}
        </td>
    </tr>
</table>

{pun_main}

{pun_footer}

</body>
</html>

and the URL of the logo is:
http://img7.imagetown.net/3593916.jpg
so who can put the URL of the logo in the code so i can put the code in noatpad and upload?? pleasee help me!please!

Re: How to edit punbb template ?

Just put it anywhere and see how it looks. Make a backup of main.tpl if you like.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

6

Re: How to edit punbb template ?

allright,t10x man smile

Re: How to edit punbb template ?

Dear Leader,

Its too tought to edit any template using HTML OR Notepad based coding.

But if you use Dreamweaver, you will have much easiness.

Thanks & best regards,


ALI
Mr. IT
AliSoft.Net
Contact # 92-0300-5239065
Email: ali@alisoft.net
http://www.alisoft.net

Mr. IT
0092-300-5239065
AliSoft .Net
http://www.alisoft.net

8

Re: How to edit punbb template ?

i did it! =]