Loading...
 

EditTemplatesDoc

Warning: With all new Tikiwiki installations, the Edit Templates feature removes javascript from templates such as header.tpl and some other templates that use the script tag. It also removes object and embed. If you modify the header.tpl with this built in editor, you will loose functionality in your browser. Restore the template header.tpl from the original .tar.gz or .zip file to correct

User Documentation

Editing templates is a very powerful feature but it is dangerous too. If you improperly edit a template you may break the site layout and all your pages will display incorrectly.

You might not even be able to log in!

We recommend you use this feature with extreme caution and don’t give the permission to edit templates to groups of users that are not careful. A safer way to edit templates is to copy all the files belonging to one of the prefabricated themes and then edit those copies. (See ThemesDoc for more information.)

Knowledgebase / tutorial / FAQ / How-to
If you want Tiki to be able to edit templates you must make sure that PHP can write to the the templates directory in the Tiki tree.

Basic Steps 

If enabled from the main Administration Panel (see TikiAdminSettings ) you will see a link to Edit Templates in the Admin Menu. Click it and the Edit Templates screen will display a long list of templates. Essentially, they're just the TPL files in the templates directory and its sub-directories. Select a TPL file and its code will display.

The main TPL file that controls the overall look of your Tiki is listed as templates/tiki.tpl.

Image


To edit it, you'll need to know about HTML, CSS and Smarty, the ornery template engine ( SmartyTplEditingDev ). Once you're finished, save the template and check the result by reloading a page on the site.

The Edit Templates feature can be used to make very nice changes or effects in your sites. For example, you can include a logo at the top of the page by editing the tiki.tpl template and you can change the logo on special occasions (as Google does).

TikiTeam

Who is working here generally? Link UserPage.

For more information

EditTemplatesAdmin


Page last modified on Tuesday 04 April 2006 15:46:33 GMT-0000

Upcoming Events

1)  Thu 19 Dec 2019 14:00 GMT-0000
Roundtable Meeting 2019 12

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.