Firefox PHP

putting some static content left to the main phorum table

Posted by fourfive 
putting some static content left to the main phorum table
December 25, 2011 03:15AM
Hi,
i'd need to customize the look of my phorum install so that some static content shows up left to the main phorum table.
something like <table><tr><td>my content</td><td>here comes the main forum table</td></tr></table>.
It should not affect the header section which has already been altered.

Any means to do so using templates?

Also, it is not clear to me how far the internatinalization goes. How to switch languages? I do not need anything special, just the common switch because my customers do not quite understand "Forum lists", "post new topic" or akin.

Thanks in advance
Re: putting some static content left to the main phorum table
December 25, 2011 05:21AM
put the following part of your code in header.tpl

Language: HTML
<table><tr><td>my content</td><td>


and the following in footer.tpl

Language: HTML
</td></tr></table>


Localization is done with the language files in include/lang/*.php, edit those to your liking and switch to different languages through the forum admin, you can either set a language per forum or in the default settings.


Thomas Seifert
Re: putting some static content left to the main phorum table
December 25, 2011 10:26PM
Many thanks Thomas, this is it, the solution works. I understand, the additional formatting is done by adding items to css.tpl
to accomodate the style used by the including site.

Now, to the i18n: are there any preformatted lang files or shall i go into translating the stuff by hand?

Greetings.
Re: putting some static content left to the main phorum table
December 25, 2011 10:45PM
OK, forget the previous post on i18n and sorry for not having RTFMF.
Found it,
Phorum rocks...
Re: putting some static content left to the main phorum table
December 26, 2011 05:32AM
you are welcome :).


Thomas Seifert
Sorry, only registered users may post in this forum.

Click here to login