TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,972
  • Latest: Lineo
Stats
  • Total Posts: 196,140
  • Total Topics: 21,346
  • Online today: 1,074
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 284
  • Total: 284

Two or more different starting pages in TP?

Started by agridoc, January 06, 2006, 07:50:46 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

agridoc

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.
  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF

bloc

#1
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.

agridoc

#2
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.
  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF

This website is proudly hosted on Crocweb Cloud Website Hosting.