Loading...
 
Themes

Themes


Tiki page templates layout

Hello everybody,

I'm trying to change the layout of my tiki pages, and noticed that there are several templates involved. Since this is a major change, I'd need to ensure that I'll make the changes correctly.

I've found a topic/article here few weeks ago explaining the tiki layout distribution, but I've been unable to find it again. Does anybody know where/which is it?

I apologize for the topic duplication. Thanks in advance,

Japan

For typical CSS divs and some td selectors, see MoreNeatLayoutSchema. I didn't look closely to see if it's still up to date, though. I don't think it includes new additions related to column-flipping.

As far as the templates go, basically, tiki.tpl displays the whole page. At the top it calls tiki-top_bar.tpl for, at minimum, the "This is Tiki..." line and the calendar link, and tiki_bot-bar.tpl for the bottom bar, which includes the page-bottom icons and stats.

For the middle of the page, tiki.tpl indicates the left and right columns and the center column. This section of tiki.tpl is kinda nutty-looking because of the flip-columns code, etc. But below that stuff you can see the left and right column tds — each of which has an if statement and section for looping through the modules — and the center td, which loads $mid, which varies according to the Tiki content to be displayed. For wiki pages, tiki-show_page.tpl gets the call for the centercolumn. For other sections, the .tpl file called is generally named the same as the corresponding .php file whose URL you see. Exceptions are mainly related to admin pages.

-- Gary - zukakakina.com, themes.tw.o

Thanks, Garybiggrin

That's exactly what I was looking for.


.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting