User Login    
 + Register
  • Main navigation
Login
Username:

Password:


Lost Password?

Register now!
Documentation
Who's Online
116 user(s) are online (6 user(s) are browsing XoopsWiki)

Members: 2
Guests: 114

trabis, tzvook, more...
[Main Page]

Glossary T

From XOOPS Project

Main Page | Recent changes | Edit this page | Page history | Switch to MediaWiki mode

Printable version | Disclaimers | Privacy policy
Category: Glossary

Contents

Source Reference Jen Langford

Glossary A * Glossary B * Glossary C * Glossary D * Glossary E * Glossary F * Glossary G * Glossary H * Glossary I * Glossary J * Glossary K * Glossary L * Glossary M * Glossary N * Glossary O * Glossary P * Glossary Q * Glossary R * Glossary S * Glossary T * Glossary U * Glossary V * Glossary W * Glossary X * Glossary Y * Glossary Z


Tar.gz/.tar file

Template

Templates can display data (as well as sort, position, and conditional display...)
Templates are used to separate the process of displaying data from retrival and manipulation.
This allows non programmers to easily format data for presentation, without modifying underlying code, by simply modifying the template file.
See: Source Tutorial

Template overriding

Templates overriding : a small Tutorial (Posted by alain01 on 2006/9/23)

Template Set Manager

See: Source Tutorial

XOOPS comes with its own templates (module system, 26 files), for example:
- system_redirect.html (Redirection page)
- system_siteclosed.html (Closed site page)
- system_block_login.html (Login block)
- system_block_online.html (User on line block)
- system_block_comments.html (Comments block)...

Every recent module also uses templates (pages and blocks).

Example :
News module (15 templates) for example:
- news_archive.html (archives page)
- news_block_new.html (New news block)
- news_block_top.html (better read news block)...

To browse these templates, go to admin system / templates and click on list on the module that you want to see, on the default template set.
1) http://xoops-end-user.com/xoopshelper/help/TemplateSetManager.htm (Default)
2) http://xoops-end-user.com/xoopshelper/help/tplsets.htm (List)
Powered by XOOPS 2.0.18 RC © 2001-2007 The XOOPS Project

system_block_search.html

Shows search form block (Version 2.0.18 RC)

<form style="margin-top: 0px;" action="<{$xoops_url}>/search.php" method="get"> 

  <input type="text" name="query" size="14" /><input type="hidden" name="action" 

value="results" /><br /><input type="submit" value="<{$block.lang_search}>" />
</form>
<a href="<{$xoops_url}>/search.php"><{$block.lang_advsearch}></a>

http://xoops-end-user.com/xoopshelper/help/099.htm (Version 2.0.16)

<form style="margin-top: 0px;" action="<{$xoops_url}>/search.php" method="get">

  <input type="text" name="query" size="14" /><input type="hidden" name="action" 

value="results" /><br /><input type="submit" value="<{$block.lang_search}>" />
</form>
<a href="<{$xoops_url}>/search.php"><{$block.lang_advsearch}></a>

system_block_mainmenu.html

Description Shows the main navigation menu of the site (Version 2.0.18 RC)

<table cellspacing="0">
  <tr>
    <td id="mainmenu">
      <a class="menuTop" href="<{$xoops_url}>/"><{$block.lang_home}></a>
      <!-- start module menu loop -->
      <{foreach item=module from=$block.modules}>
      <a class="menuMain" href="<{$xoops_url}>/modules/<{$module.directory}>/"><{$module.name}></a>
        <{foreach item=sublink from=$module.sublinks}>
          <a class="menuSub" href="<{$sublink.url}>"><{$sublink.name}></a>
        <{/foreach}>
      <{/foreach}>
      <!-- end module menu loop -->
    </td>
  </tr>
</table>

http://xoops-end-user.com/xoopshelper/help/101.htm (Version 2.0.16)

<table cellspacing="0">
  <tr>
    <td id="mainmenu">
      <a class="menuTop" href="<{$xoops_url}>/"><{$block.lang_home}></a>
      <!-- start module menu loop -->
      <{foreach item=module from=$block.modules}>
      <a class="menuMain" href="<{$xoops_url}>/modules/<{$module.directory}>/"><{$module.name}></a>
        <{foreach item=sublink from=$module.sublinks}>
          <a class="menuSub" href="<{$sublink.url}>"><{$sublink.name}></a>
        <{/foreach}>
      <{/foreach}>
      <!-- end module menu loop -->
    </td>
  </tr>
</table>

system_block_online.html

Description Displays users/guests currently online

<{$block.online_total}><br /><br /><{$block.lang_members}>: < 

{$block.online_members}><br /><{$block.lang_guests}>: <{$block.online_guests}

><br /><br /><{$block.online_names}> <a href="javascript:openWithSelfMain('<

{$xoops_url}>/misc.php?action=showpopups&type=online','Online',420,350);"><

{$block.lang_more}></a>

http://xoops-end-user.com/xoopshelper/help/103.htm

system_block_newusers.html

Description Shows most recent users

<table cellspacing="1" class="outer">
  <{foreach item=user from=$block.users}>
    <tr class="<{cycle values="even,odd"}>" valign="middle">
      <td align="center">
      <{if $user.avatar != ""}>
      <img src="<{$user.avatar}>" alt="" width="32" /><br />
      <{/if}>
      <a href="<{$xoops_url}>/userinfo.php?uid=<{$user.id}>"><{$user.name}></a>
      </td>
      <td align="center"><{$user.joindate}></td>
    </tr>
  <{/foreach}>
</table>

http://xoops-end-user.com/xoopshelper/help/105.htm

system_block_notification.html

Description Shows notification options

<form action="<{$block.target_page}>" method="post">
<table class="outer">
  <{foreach item=category from=$block.categories}>
  <{foreach name=inner item=event from=$category.events}>
  <{if $smarty.foreach.inner.first}>
  <tr>
    <td class="head" colspan="2"><{$category.title}></td>
  </tr>
  <{/if}>
  <tr>
    <td class="odd"><{counter assign=index}><input type="hidden" name="not_list

[<{$index}>][params]" value="<{$category.name}>,<{$category.itemid}>,<

{$event.name}>" /><input type="checkbox" name="not_list[<{$index}>][status]" 

value="1" <{if $event.subscribed}>checked="checked"<{/if}> /></td>
    <td class="odd"><{$event.caption}></td>
  </tr>
  <{/foreach}>
  <{/foreach}>
  <tr>
    <td class="foot" colspan="2"><input type="hidden" name="not_redirect" 

value="<{$block.redirect_script}>"><input type="hidden" value="<

{$block.notification_token}>" name="XOOPS_TOKEN_REQUEST" /><input 

type="submit" name="not_submit" value="<{$block.submit_button}>" /></td>
  </tr>
</table>
</form>

http://xoops-end-user.com/xoopshelper/help/107.htm

system_block_themes.html

Description Shows theme selection box

<div style="text-align: center;">
<form action="index.php" method="post">
<{$block.theme_select}>
</form>
</div>

http://xoops-end-user.com/xoopshelper/help/108.htm

system_block_comments.html

Description Shows most recent comments

<table width="100%" cellspacing="1" class="outer">
  <{foreach item=comment from=$block.comments}>
  <tr class="<{cycle values="even,odd"}>">
    <td align="center"><img src="<{$xoops_url}>/images/subject/<{$comment.icon}

>" alt="" /></td>
    <td><{$comment.title}></td>
    <td align="center"><{$comment.module}></td>
    <td align="center"><{$comment.poster}></td>
    <td align="right"><{$comment.time}></td>
  </tr>
  <{/foreach}>
</table>

http://xoops-end-user.com/xoopshelper/help/106.htm

system_block_topusers.html

Description Top posters

<table cellspacing="1" class="outer">
  <{foreach item=user from=$block.users}>
  <tr class="<{cycle values="even,odd"}>" valign="middle">
    <td><{$user.rank}></td>
    <td align="center">
      <{if $user.avatar != ""}>
      <img src="<{$user.avatar}>" alt="" width="32" /><br />
      <{/if}>
      <a href="<{$xoops_url}>/userinfo.php?uid=<{$user.id}>"><{$user.name}></a>
    </td>
    <td align="center"><{$user.posts}></td>
  </tr>
  <{/foreach}>
</table>

http://xoops-end-user.com/xoopshelper/help/104.htm

system_block_siteinfo.html

Description Shows basic info about the site and a link to Recommend Us pop up window

<table class="outer" cellspacing="0">

  <{if $block.showgroups == true}>

  <!-- start group loop -->
  <{foreach item=group from=$block.groups}>
  <tr>
    <th colspan="2"><{$group.name}></th>
  </tr>

  <!-- start group member loop -->
  <{foreach item=user from=$group.users}>
  <tr>
    <td class="even" valign="middle" align="center"><img src="<{$user.avatar}

>" alt="" width="32" /><br /><a href="<{$xoops_url}>/userinfo.php?uid=<

{$user.id}>"><{$user.name}></a></td><td class="odd" width="20%" align="right" 

valign="middle"><{$user.msglink}></td>
  </tr>
  <{/foreach}>
  <!-- end group member loop -->

  <{/foreach}>
  <!-- end group loop -->
  <{/if}>
</table>

<br />

<div style="margin: 3px; text-align:center;">
  <img src="<{$block.logourl}>" alt="" border="0" /><br /><{$block.recommendlink}>
</div>

http://xoops-end-user.com/xoopshelper/help/102.htm

system_block_waiting.html

Description Shows contents waiting for approval

<ul>
  <{foreach item=module from=$block.modules}>
  <li><a href="<{$module.adminlink}>"><{$module.lang_linkname}></a>: <{$module.pendingnum}></li>
  <{/foreach}>
</ul>

http://xoops-end-user.com/xoopshelper/help/100.htm

system_block_login.html

Description Shows login form

<form style="margin-top: 0px;" action="<{$xoops_url}>/user.php" method="post">

    <{$block.lang_username}><br />
    <input type="text" name="uname" size="12" value="<{$block.unamevalue}>" 

maxlength="25" /><br />
    <{$block.lang_password}><br />
    <input type="password" name="pass" size="12" maxlength="32" /><br />

    <!-- <input type="checkbox" name="rememberme" value="On" class 

="formButton" /><{$block.lang_rememberme}><br /> //-->

    <input type="hidden" name="xoops_redirect" value="<{$xoops_requesturi}>" />


    <input type="hidden" name="op" value="login" />

    <input type="submit" value="<{$block.lang_login}>" /><br />
    <{$block.sslloginlink}>
</form>
<a href="<{$xoops_url}>/user.php#lost"><{$block.lang_lostpass}></a>
<br /><br />
<a href="<{$xoops_url}>/register.php"><{$block.lang_registernow}></a>

http://xoops-end-user.com/xoopshelper/help/098.htm

system_block_user.html

Description Shows user block

<table cellspacing="0">
  <tr>
    <td id="usermenu">
      <{if $xoops_isadmin}>
        <a class="menuTop" href="<{$xoops_url}>/admin.php"><

{$block.lang_adminmenu}></a>
	    <a href="<{$xoops_url}>/user.php"><{$block.lang_youraccount}></a>
      <{else}>
		<a class="menuTop" href="<{$xoops_url}>/user.php"><

{$block.lang_youraccount}></a>
      <{/if}>
      <a href="<{$xoops_url}>/edituser.php"><{$block.lang_editaccount}></a>
      <a href="<{$xoops_url}>/notifications.php"><{$block.lang_notifications}></a>
      <{if $block.new_messages > 0}>
        <a class="highlight" href="<{$xoops_url}>/viewpmsg.php"><

{$block.lang_inbox}> (<span style="color:#ff0000; font-weight: bold;"><

{$block.new_messages}></span>)</a>
      <{else}>
        <a href="<{$xoops_url}>/viewpmsg.php"><{$block.lang_inbox}></a>

      <{/if}>
      <a href="<{$xoops_url}>/user.php?op=logout"><{$block.lang_logout}></a>
    </td>
  </tr>
</table>


http://xoops-end-user.com/xoopshelper/help/017.htm

Retrieved from "http://www.xoops.org/modules/mediawiki/index.php/Glossary_T"

This page has been accessed 1,267 times. This page was last modified 03:45, 28 December 2007. Content is available under XOOPS Project.


Local Support Sites
Powered by
XOOPS Code hosted on SourceForge

Powered by PHP



Powered by MySQL

Powered by Smarty

OSI certified

All content on this site is subject to the Creative Commons License
Developers for Hire