Loading...
 
Skip to main content

Custom Share Module 0.1dev

Features / Usability

Features / Usability


Re: Forcing word case

posts: 215

There might be other ways to do it, but you could use the Smarty plugin with "eval" and the Smarty Variable Modifiers "lower" or "upper".

The smarty function has to be enabled in "Plugins". And Smarty eval does not work in all versions of Tiki, so it depends on the version you are using if it will work or not.
When you code the plugin, you will get the message "incorrect parameter" if it does not work in your Tiki version (it does not work in Tiki 9.11svn, but it works in 12.4svn, 14.1svn, and 15.0svn).

This would display the page name in lower case:

Copy to clipboard
{smarty name="eval" var="{$page|lower}"}

 

 

Tom

There are no comments at this time.