Using Custom Code

In addition to (or instead of) using the Site Logo feature, you can use any custom HTML code for the header (that is, Top area).

You can add the search module to the Top area of Tiki, just like adding any other module.

By default, a new Tiki includes the following modules in the Top area:

  • logo: The default Tiki logo. You can easily add your own logo to the Top area.
  • login_box: The login and registration button and form.
    File not found.
  • quick_admin: The Quick Admin links:
    File not found.

 Tip

Use the Custom HTML <head> Content area on the Customization tab to add additional content to your Tiki's HTML <head> element, such as custom <meta> information or <script> elements:
File not found.

 Warning

If you include Smarty coding in you templates, it must validate properly, or your pages will not display. See the Troubleshooting section if your Tiki displays blank pages after updating the Custom code.

Tiki pages should validate as XHTML 1.0. If you include any markup codes in your templates, be sure it validates correctly.


This Custom Code area allows you to add content to the top of every Tiki page. This could be used for site logo, banner advertisements, or anything else.

 Note

If you add a site logo or search bar in the Custom code area, be sure to disable the Site Logo and Site Search options on the Administration: Site Identity page — there's no need to duplicate the content.

 Tip

Learn more about using custom code in Customizing Tiki Themes in Tiki Essentials.
<HR>

Copyright

This guide is based on content originally published by KeyContent.org.

This guide is Copyright (C) 2007-2013, 2019 by Rick Sapir and others under a Creative Commons Attribution-Share Alike 4.0 License. Some rights reserved.

Essentially, you are are free:

Image

to Share — to copy, distribute and transmit the work
Image

to Remix — to adapt the work


Under the following conditions:

Image
Attribution. You must attribute the work to me, as the original licencor, but not in any way that suggests that I endorse you or your use of the work.
Fair attribution includes a return link to http://tikiforsmarties.com (for online use) and mention of primary author (Rick Sapir) and original publisher (KeyContent.org).
Image

Share Alike. If you alter, transform, or build upon this work, you may distribute the resulting work only under the same, similar or a compatible license.


Please read http://creativecommons.org/licenses/by-sa/3.0/legalcode for the full license.

Tiki®, TikiWiki® and the Tiki logo are registered trademarks of the Tiki Software Community Association, used with permission.