1
loukaum
An list with the smarty variables wich can I use
  • 2017/8/2 19:32

  • loukaum

  • Just popping in

  • Posts: 93

  • Since: 2003/11/2


Is there any place with an list of smarty variables that can be used in Xoops?

I want to do something like:

le="color: #000000"><?php <{if $xoops_isuser}> <div>is user!</div> <{else}> <div>not user!</div> <{/if}>

2
Mamba
Re: An list with the smarty variables wich can I use
  • 2017/8/2 20:35

  • Mamba

  • Moderator

  • Posts: 11521

  • Since: 2004/4/23


This is just a copy of an older list from the XOOPS-Tips website:
le="color: #000000"><?php <{$xoops_charset}> Inserts the characterset info (meta tag info) e.g "iso-8859-1", "UTF-8" <{$xoops_langcode}> Content Language e.g. "DE", "EN" <{$xoops_meta_keywords}> Inserts the keyword list from the Meta/Footer settings (meta tag info) <{$xoops_meta_description}> Inserts the meta tag site description <{$meta_copyright}> Inserts the meta tag copyright text <{$meta_robots}> Inserts the W3C robot meta tag info <{$meta_rating}> Inserts the meta tag rating information <{$xoops_sitename}> Inserts the site name <{$xoops_pagetitle}> Inserts the page title <{$xoops_theme}> Theme name in directory "/themes/" e.g "default", "xt2" <{$xoops_themecss}> Inserts the style.css e.g "http://www.xoops.org/themes/default/style.css" (note, any combination of the above can be arranged to fill out meta tag info to your liking) <{$xoops_url}> Inserts the site URL e.g "http://www.xoops.org" <{$xoops_js}> Inserts XOOPS javascript code <{$xoops_banner}> Displays banners <{foreach item=block from=$xoops_lblocks}> <{$block.title}> <{$block.content}> <{/foreach}> Code snippet to display the left blocks <{if $xoops_showcblock == 1}> Tests for system settings to display center blocks <{foreach item=block from=$xoops_ccblocks}> <{$block.title}> <{$block.content}> <{/foreach}> Code snippet to show the center-center blocks <{foreach item=block from=$xoops_clblocks}> <{$block.title}> <{$block.content}> <{/foreach}> Code snippet to show the center-left blocks <{foreach item=block from=$xoops_crblocks}> <{$block.title}> <{$block.content}> <{/foreach}> Code snippet to show the center-right blocks <{$xoops_contents}> Show the news and other contents <{if $xoops_showcblock == 1}> Test for showing center blocks <{if $xoops_showrblock == 1}> Test for showing right blocks <{foreach item=block from=$xoops_rblocks}> <{$block}> <{/foreach}> Code snippet to show right blocks <{$xoops_footer}> Shows the footer <{$xoops_isadmin}> True if the visitor is Administrator <{$xoops_isuser}> True if the visitor is a logged in user <{$xoops_userid}> User ID of the member <{$xoops_uname}> Uname for the member
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

3
loukaum
Re: An list with the smarty variables wich can I use
  • 2017/8/3 11:06

  • loukaum

  • Just popping in

  • Posts: 93

  • Since: 2003/11/2


Thanks Mamba! Now I have a nice modal login working properly on this site. :)

Login

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits