On the side.
|
|
|
SidebarPage TranslationContentsWhat do you think?
What do you think of this project?
Cookies must be allowed to vote "I find it very helpful, very clear in its presentation." Is Smarties helpful? Smart TweetsFor updates, follow @twbasics
Smart ReadersAdvertising |
Creating Custom ModulesWhen you added a poll to a module and included a menu in a module, you created a custom (albeit simple) module instead of selecting a pre-defined module. In addition to adding Tiki objects (such as polls and menus) to modules, you can use HTML or Smarty syntax as well.Using HTMLYou can add custom HTML to a module. This allows you to add widgets, application, and scripts from other sources. For example, you can add an automatic weather forecast (from www.weatherreports.com<script type="text/javascript" language="javascript1.2" src="http://weatherreports.com/jscript.html?width=125&height=125&theme=lred_no_search_box&location=Washington%2C%20DC&units=f"></script> <div><a href="http://www.weatherreports.com/"><small>Free Weather Reports</small</a></div>
We'll convert this HTML to wiki syntax by using the JavaScript plugin.
Including SmartyYou can include Smarty syntax in your modules to do all sorts of neat things, such as displaying Tiki variables. For example, using this code:Hello {if $user}{$user}{else}anonymous visitor{/if}!will create a module that:
|
























