|
|
Choosing A Webhost: |
Re: cycle? is it a bug.....: msg#00032php.smarty.devel
On Sat, Apr 30, 2005 at 05:31:52PM +0100, pete M wrote: > smarty configuration has this line > > $smarty->config_overwrite = false; > > > from the config file > > cols = #ffffff > cols = #ff00ff > cols = #000000 > > > in the template > > {cycle values=#cols# name="foo"} > > returns > #ffffff #ff00ff #000000 #ffffff #ff00ff #000000 #ffffff #ff00ff > > > For some reason it doenst work when the name value is missing so > > {cycle values=#cols#} > > returns > #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff > > is this a bug ? works for me. omitting the name attribute is the same as setting name="default". maybe you have already another cycle without name (thus named "default") in your script and both reset each other everytime they are called. > Pete > > -- > Smarty Development Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- Smarty Development Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | cycle? is it a bug....., pete M |
|---|---|
| Next by Date: | Re: cycle? is it a bug....., pete M |
| Previous by Thread: | cycle? is it a bug....., pete M |
| Next by Thread: | Re: cycle? is it a bug....., pete M |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |