Loading...
 
Architecture / Installation

Architecture / Installation


Re: Wrapping the "center section" of a tiki page

posts: 4656 Japan

> I am familiar with how to disable the "header", "left", "right" and "footer" sections of a "tiki" page.
>
> Is there a "general php" file or files (not the .tpl templates) for the center section of the various tiki features, e.g., for the "articles" files, 'blog" files, etc. so that I can readily wrap the said "general php" file for each tiki type page with my own "pageheader" and "pagefooter" that are unique templates for the various directoriess and subdirectories of my website?

The .tpl file (along with the php file that supplies its logic) is what lays out the center column content. It seems to me your best course is to turn off the topbar, side columns, and/or bottom bar for any Tiki features (sections) where you don't want them on, and add your own page headers and so on by modifying the relevant Tiki template file. I've done this making my own themes/page layouts, and there hasn't been any problem, although my modifications are fairly straightforward. (See zukakakina.com.)

The feature's tpl file also calls tiki.tpl and the associated setup and header files. I suppose that if you try to load the center column without these files, the preliminaries — user perms and prefs, session, etc. — won't be taken care of and there will be fatal errors.

If you have problems, it'd be good to report what specifically you are trying to do.

-- Gary



There are no comments at this time.