Appendix A. XOOPS Cheatsheets
XOOPS Resources
This appendix features handy tables and examples with XOOPS commands you will frequently use. A more detailed PDF, ideal for portability, is available on the book’s website (http://oreilly.com/catalog/9781449308964/), as well as at http://insraq.me/book/. Please report any bugs to me at ruoysun@gmail.com.
Tag | Example output | Purpose |
<{$xoops_charset}> | UTF-8 | Output the character set |
<{$xoops_langcode}> | en | Output content language |
<{$xoops_meta_keywords}> | N/A | Output the meta keyword list |
<{$xoops_meta_description}> | N/A | Output the meta description |
<{$meta_copyright}> | N/A | Output the meta tag copyright |
<{$meta_robots}> | index, follow | Output the W3C robot meta tag |
<{$meta_rating}> | general | Output the meta tag rating |
Tag | Comment |
<{$xoops_sitename}> | Site name |
<{$xoops_slogan}> | Site slogan |
<{$xoops_pagetitle}> | Current page title |
<{$xoops_theme}> | Theme folder name |
<{$xoops_url}> [a] | Site URL without the “/” |
<{$xoops_banner}> | Site banner |
<{$xoops_contents}> | Module contents |
<{$xoops_footer}> | XOOPS footer |
[a] This tag can be replaced by
|
Tag | Comment |
<{$xoops_isadmin}> | If the user is an admin? |
<{$xoops_isuser}> | If the visitor is a user? |
<{$xoops_userid}> | User ID (integer) |
<{$xoops_uname}> | Username |
Tag/code | Link |
<{xoAppUrl
backend.php}> | XOOPS/backend.php |
<{xoImgUrl
style.css}> | XOOPS/theme/yourtheme/style.css |
<{xoImgUrl ... |
Get Designing for XOOPS now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.