Suggest: documentation update

From: Date: Tue, 27 Jun 2006 08:59:48 +0000
Subject: Suggest: documentation update
Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-2888@lists.php.net to get a copy of this message
The page : http://smarty.php.net/manual/en/language.modifier.default.php This is the one that talks about |default: I was doing a web page & wanted to normally use one variable but occasionally another, I found that it is possible for the default to be a variable, this might make a nice extra example: To sometimes have a different title in the browser toolbar: <HEAD><TITLE>{$tooltitle|default:$title|escape:"html"}</TITLE></HEAD> <BODY> <H1>{$title|escape:"html"}</H1> ... -- Alain Williams Parliament Hill Computers Ltd. Linux Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 http://www.phcomp.co.uk/ #include <std_disclaimer.h>

« previous php.smarty.dev (#2888) next »