User Login    
 + Register
  • Main navigation
Login
Username:

Password:

Remember me



Lost Password?

Register now!
Who's Online
78 user(s) are online (8 user(s) are browsing XoopsWiki)

Members: 1
Guests: 77

status_tech, more...
[Main Page]

DevWiki ConstantsInTemplates

From XOOPS Project

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

Printable version | Disclaimers | Privacy policy
Category: DevWiki

DevWiki Index

Constants in Templates

A few posts I've made today made me thought that some funcs aren't worth anything if people don't know about them. So this one may be useful to some of you (I haven't seen this used until now).

All PHP defined constants are directly accessible in smarty templates, by using:

<{$smarty.const.DEFINENAME}>

So no need to assign them manually, as some core modules do.

Skalpa

DevWiki Index

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

This page has been accessed 884 times. This page was last modified 04:29, 30 December 2007. Content is available under XOOPS Project.


Developers for Hire
Developers for Hire
Local Support Sites
Make a donation
Please select an amount to donate


Do you want your username revealed with your donation?
Yes - List me as a Generous Donor
No - List my donation as from an Anonymous Donor


Powered by
XOOPS Code hosted on SourceForge

Powered by PHP

PHP 5

Powered by MySQL

Powered by Smarty

OSI certified

GPL

All content on this site is subject to the Creative Commons License
Top Tags
Theme (5) news (2) security (2) sport (1) Arabic (1) wiki (1) Christmas (1) jQuery (1) tag (1) module (1) SEO (1) comments (1)
Advertisement