TinyPortal
Development => Support => Topic started by: agridoc on January 06, 2006, 07:50:46 AM
Is it possible to have two or more starting pages in TP?
One might think of other purposes. The use I have in mind is a site in two languages. I can have a language selector, I have already this working with SMF but I want different menus, blocks and frontpage in TP as choises, possiblities and articles in the main site will be different.
I see your point.
If I make blocks be able to take in articles/categories, and a way to make more "bars"..not just right/left/center/front , then it would be easy to make system where criterias must be met to show either bar. Like alnaguage check..or simply guest/member etc.
I am not sure when I will start on it, but i have an idea to transform the "edit blocks" screen to have list of "bars" before the actual blocks. the way it is now, the left/right/center calls to their bars is hardcoded into the template...but in a earlier branch of TP I converted the whole template into smaller bits, and the admin could make a "TP template" in html..which called the various bits by adding {leftbar} or {stats} etc. I left it, because it seemed to be too much change from TP0.6 at that time..but some of the ideas is still appliable.
The Template solution seems very interesting. It could be put and handled as a language or theme so with something like
.../index.php?language=x&tptemplate=y one could change lanquage in the site. I like this idea very much :)
It is quite common for non English sites to have a basic or complete version in English.
It would be also an excellent solution for a custom page or pages, I have already seen such requests.
It will also add tremendous flexibility in TP.