Search Discussions
-
Greetings! Are you looking for the best quality natural plant extract products at great prices and with speedy and reliable delivery? If so, you are having a good day because ShanShan Biotechnology ...
Dong6699
Feb 23, 2008 at 4:58 pm
Feb 23, 2008 at 4:58 pm -
iyfxcicv
Smaruenda
Jan 17, 2008 at 6:04 pm
Jan 17, 2008 at 6:04 pm -
0
11% de la gente de su edad no están satisfechas con sus ingresos. ¿Cómo cambiar eso?
bSmaruyam
Jan 14, 2008 at 7:01 am
Jan 14, 2008 at 7:01 am -
Hi all I have developed a PHP browser-based installer for Smarty, which you can read about at http://www.medianna.eu/htdocs/warlock/warlock.en.php. This installer does more than just installing the ...
Ian Short
Jan 9, 2008 at 7:39 pm
Jan 9, 2008 at 7:39 pm -
Sorry about the confusion. You can subscribe to the new lists with any email address by sending an email to: [email protected] [email protected] ...
Monte Ohrt
Jan 4, 2008 at 2:18 pm
Jan 4, 2008 at 2:18 pm -
Hello to everyone! You probably noticed the smarty.php.net site has been moved to www.smarty.net. This is a long time coming, I've been wanting to host the smarty site locally and this part of that ...
Monte Ohrt
Jan 4, 2008 at 6:22 am
Jan 4, 2008 at 10:47 am -
Hi folks, sorry for the maybe misleading subject. My problem is, I want to display a variable in a template, that's value is assigned later in the template, e.g. {$mytext} {include file="test.tpl} ...
Ben
Nov 1, 2007 at 11:31 am
Dec 18, 2007 at 7:36 pm -
Does anyone else see the following test case failure when running the Smarty Unit test on package Smarty-2.6.18.tar.gz? ...
Ian Short
Oct 25, 2007 at 4:31 am
Oct 25, 2007 at 8:33 am -
Paul Pogonyshev
Oct 23, 2007 at 7:39 pm
Oct 23, 2007 at 7:39 pm -
I have a website that uses smarty that I've inherited. I just moved it to a new server with PHP5 (up from PHP4 on the old server). I upgraded smarty to the latest thinking there may be an issue ...
Jeff Mckeon
Oct 19, 2007 at 6:25 pm
Dec 18, 2007 at 7:30 pm -
If I have an array that looks like this: Array ( [Salary] = Array ( [0-50K] = Array ( [filterType] = range [fieldLabel] = 0-50K [fieldName] = SALARY [lowerValue] = 0 [upperValue] = 50 [inclusive] = ...
Christoph Boget
Oct 15, 2007 at 8:25 pm
Oct 16, 2007 at 1:09 pm -
hi, I have a config file with several values like: menu_test1 = 'test1' menu_test2 = 'test2' menu_test3 = 'test3' and I'm passing a variable to the template like: assign('page' = 'test1'); and I want ...
Nuno Mendes
Oct 10, 2007 at 11:22 am
Oct 10, 2007 at 11:22 am -
I created a smarty function called {link_to_template} that creates a URL designed to go inside a <a href="" - for example: <a href="{link_to_template param1=xyz}" Blah</a This creates a cache php ...
Josh Trutwin
Oct 10, 2007 at 3:44 am
Oct 12, 2007 at 8:03 pm -
I am little confused about the optimum settings for force_compile and caching in a production environment as described in this paragraph: From the manual- [force_compile] forces Smarty to (re)compile ...
Kathleen Krause-Thompson
Oct 5, 2007 at 2:47 pm
Oct 5, 2007 at 2:47 pm -
hello, in my template I have an input field which contains the date a shelf expires. <input type="text" name="{$shelf_expire.name}" value="{$shelf_expire_value}" class="bg{$shelf_expire.farbe}" ...
Peggy Schatz
Oct 4, 2007 at 12:51 pm
Oct 5, 2007 at 7:49 am -
parameters can be assigned to the include file using {include} to avoid overwriting--example below. - ken main.tpl: {include file="recurse.tpl" parents=$tree level=0} recurse.tpl {foreach ...
Ken Snyder
Sep 1, 2007 at 3:32 am
Sep 1, 2007 at 3:32 am -
I know you can set up nested {foreach} blocks in the template but that only works if you know that the array you are working with has a predefined number of levels. Is there a way to set up a block ...
Christoph Boget
Aug 31, 2007 at 12:21 pm
Aug 31, 2007 at 12:21 pm -
From the docs: "All assigned variable values are restored after the scope of the included template is left. This means you can use all variables from the including template inside the included ...
Josh Trutwin
Aug 23, 2007 at 5:39 pm
Aug 23, 2007 at 5:46 pm -
I've a problem with the cat modifier I would to append a string only if the "main" string is not empty... {$string|cat:" - "} don't work then I modified the plugin link as following.... some ...
APaella
Aug 22, 2007 at 10:14 am
Aug 22, 2007 at 10:14 am -
How can put curly braces inside of a function argument? Is it not possible? everything I've tried doesn't seem to work: {myfunc test="foo {bar}"} {myfunc test='foo {bar}'} {myfunc test="foo ...
Ben Davis
Aug 21, 2007 at 5:58 pm
Aug 22, 2007 at 4:17 pm -
I use a lightbox effect on my G2 site (which uses Smarty). When this lightbox effect is called, i want to display only certain stuff. How would i write this using smarty? Thanks for any help Chris
Chris Arnold
Aug 21, 2007 at 1:54 pm
Aug 21, 2007 at 9:43 pm -
Hi all, I need some suggest, advice, information that help me in a right way: I want to build a site that have different type of users, like for example "admin" and "normal user". I've a form for the ...
Massimiliano Marini
Aug 20, 2007 at 2:41 pm
Aug 20, 2007 at 2:41 pm -
Hello all! I am using Gallery2 which uses the smarty engine. I have a gallery and a lightbox on this gallery. I have added the class for the lightbox in the G2 template so the pic's load in a ...
Chris Arnold
Aug 14, 2007 at 2:55 am
Aug 14, 2007 at 7:36 pm -
Hi, I have URL like: user.php?option=add_success&id=lucky I want output like this: User lucky successfully added I confuse how to buld that with config file and tpl file. I must use config file, ...
Wiwid Lukiyanto
Aug 8, 2007 at 11:54 pm
Aug 8, 2007 at 11:54 pm -
If you are looking for the way to save on your meds, then this information is for you. Buy medications in Canada. They are manufactured according to the same strict pharmaceutical standards as ...
Steve Noga
Jul 31, 2007 at 10:01 am
Jul 31, 2007 at 10:01 am -
Hi Smarty team, just wanted to start by saying that you've all built a great piece of software. It's fantastic. I had a little conundrum which is not really killing me but it leaves just a niggling ...
Joey Korkames
Jul 17, 2007 at 6:31 pm
Jul 17, 2007 at 6:31 pm -
Hello, I changed my quickform templates from static {{$form.phone.label}} to dynamic. This works great as it saves time while making forms... TPL: <form {{$form.attributes}} {{foreach ...
Andras Kende
Jul 16, 2007 at 6:07 am
Jul 16, 2007 at 6:07 am -
Dear Smarty Developers, I have been looking for information about Smarty future: - are you going to make it compatible with E_STRICT environment? - are you going to rewrite it in PHP6 when it comes? ...
Evolic
Jul 16, 2007 at 12:27 am
Jul 16, 2007 at 12:27 am -
How that php4 is being retired.. bless her cotton socks .. me loved her 2... Is it time now for a complete revamp: eg - A pure php5 implementation ala smarty5 maybe.. with core engine, ie parsing and ...
Peter Morgan
Jul 13, 2007 at 10:18 pm
Jul 13, 2007 at 10:18 pm -
*Hi All* *I am getting the following error* *Fatal error*: Smarty error: [in myaccount.tpl line 22]: [plugin] unknown tag - 'html_options' (core.load_plugins.php, line 118) in */blah ...
Scott incz
Jul 5, 2007 at 9:04 am
Jul 9, 2007 at 8:56 am -
[] The script then performs the typical housecleaning operations, closing both the recordset and the connection. There was no double entendre in either of our minds. It really stank in there. Do not ...
jarrad Foulds
Jul 4, 2007 at 9:46 am
Jul 4, 2007 at 12:38 pm -
Hello, it seems that the Smarty cache creates .html files. Is it possible to instruct it to cache .xml files? I need this to cache RSS feeds. Thanks, Iv
Pobox
Jun 28, 2007 at 1:12 pm
Jul 1, 2007 at 9:56 am -
Girls lie when they say "size doesn't matter" that's just to make us feel better, The truth is they want their partner to have a huge one, and they will keep searching until they find it! Now you can ...
Cole M. Orr
Jun 28, 2007 at 1:21 am
Jun 28, 2007 at 1:21 am -
http://smarty.php.net/manual/en/api.clear.cache.php $cache_id is the second parameter. Francesco Cipriani schrieb:
Danilo Buerger
May 29, 2007 at 4:48 pm
May 29, 2007 at 4:48 pm -
Hello, I'm using smarty 2.6.18, I've just upgraded from smarty 2.5 (...). I'm using clear_cache to clear cache groups, it did work with smarty 2.5 but now it doesn't work anymore. Smarty's config and ...
Francesco Cipriani
May 29, 2007 at 4:31 pm
May 31, 2007 at 1:04 pm -
I have an Image object that I have assigned by ref to my template. So far so good, until I try to pass an array as an argument to one of the object's methods: {$Image- resize($data.Inventory.image1, ...
Erich C. Beyrent
May 18, 2007 at 2:24 pm
May 18, 2007 at 2:54 pm -
Hello everyone. I just tried to use this nice feature of smarty: http://smarty.php.net/manual/en/variable.default.modifiers.php I think that auto-escaping of all values when outputting them is a ...
Artemy Tregoubenko
May 14, 2007 at 9:30 am
May 14, 2007 at 11:08 am -
This one is shoe in to Double by end of week Huge Volume spike, many people are already in the know Ground floor to the future, in the next big soda co Fire Mountain Beverage Company SYM-F B V G 2 ...
Damon Roblesy
Apr 23, 2007 at 5:30 am
Apr 23, 2007 at 5:30 am -
Hello, I have a probleme with an array like that: $array[1]['mother_id'] = 0; $array[1]['father_id'] = 0; $array[1]['name'] = foo; $array[2]['mother_id'] = 0; $array[2]['father_id'] = 0; ...
Sylvain
Apr 19, 2007 at 5:30 pm
Apr 20, 2007 at 3:15 pm -
Hello, I've got quite strange results whith the following routine: foreach ($result as $key = $val) { echo "$key = $val<br "; $smarty- assign($key . '_value',$val); $smarty- assign($key . ...
Peggy Schatz
Apr 10, 2007 at 10:03 am
Apr 10, 2007 at 10:03 am -
The drupal programmers use a lot array keys that start with '#' (e.g. $field['#value'], $field['#weight'], $field['#description'], ...). How can I access such array elements from within a smarty ...
Jörg Hermsdorf
Apr 5, 2007 at 9:15 am
Apr 5, 2007 at 9:17 pm -
I can't access http://smarty.php.net/ from UK or US clients. Something up? Marcus -- Marcus Bointon Synchromedia Limited: Creators of http://www.smartmessages.net/ UK resellers of [email protected] CRM ...
Marcus Bointon
Apr 3, 2007 at 10:26 am
Apr 3, 2007 at 11:45 am -
Hi everybody, is Smarty able to write all errors concerning templates, functions and so on into a logfile? I can't believe that I can find errors only by watching the website. Thanks for your help! ...
Eyestorm
Apr 1, 2007 at 1:08 pm
Apr 2, 2007 at 9:05 am -
Hi, I'm Wiwid, new member on here. I have the problem about eval function on smarty. Maybe someone can help me? OK, I explain the code: ...
Wiwid Lukiyanto
Mar 14, 2007 at 12:01 am
Mar 16, 2007 at 10:13 am -
This release addresses a bug introduced in 2.6.17 regarding detection of non-cached blocks. Please upgrade from 2.6.17 if you have that version. NEWS/Changelog: http://smarty.php.net/misc/NEWS ...
Boots
Mar 8, 2007 at 6:46 pm
Mar 8, 2007 at 6:46 pm -
This release addresses several small fixes and enhancements. It also addresses a compiler bug (thanks for finding this, danilo!) that allowed the creation of PHP tags in secure templates. No examples ...
Monte Ohrt
Mar 6, 2007 at 4:17 am
Mar 6, 2007 at 4:17 am -
Hi, I have a character problem. Maybe smarty mistake. http://www.otomobililan.net/index.php There are corrupted Turkish characters. What can I do? Thank you
T7
Feb 22, 2007 at 1:00 am
Feb 22, 2007 at 1:00 am -
Hello again ;o) how would one relate to an existing database connection (PEAR::MDB2) within a plugin or modifier function? The database connection is included as 'standard_db.inc.php' in ...
Peggy Schatz
Feb 13, 2007 at 11:08 am
Feb 13, 2007 at 11:08 am -
Hello, i'm new to Smarty, and i have several questions (of course! :) I have a website composed of three main "frames" (they are html code in 3 different <div tags, so that it looks like traditional ...
STenyaK (Bruno Gonzalez)
Feb 12, 2007 at 10:19 pm
Feb 12, 2007 at 10:19 pm -
I am having a problem implementing Pear::Auth with Smarty. My login is working to the extent that I can put in valid information and it will let me through. But, after providing valid credentials, ...
Darren Crotchett
Feb 12, 2007 at 6:21 pm
Feb 12, 2007 at 6:21 pm
Group Overview
group | php-smarty-general |
categories | php |
discussions | 3,789 |
posts | 13,790 |
users | 1,616 |
website | smarty.net |
Top users
Archives
- February 2008 (1)
- January 2008 (8)
- November 2007 (1)
- October 2007 (30)
- September 2007 (1)
- August 2007 (23)
- July 2007 (11)
- June 2007 (8)
- May 2007 (11)
- April 2007 (14)
- March 2007 (6)
- February 2007 (14)
- January 2007 (10)
- December 2006 (55)
- November 2006 (67)
- October 2006 (53)
- September 2006 (14)
- August 2006 (3)
- July 2006 (4)
- June 2006 (10)
- May 2006 (53)
- April 2006 (24)
- March 2006 (39)
- February 2006 (49)
- January 2006 (82)
- December 2005 (29)
- November 2005 (47)
- October 2005 (65)
- September 2005 (66)
- August 2005 (94)
- July 2005 (151)
- June 2005 (109)
- May 2005 (89)
- April 2005 (180)
- March 2005 (101)
- February 2005 (71)
- January 2005 (120)
- December 2004 (79)
- November 2004 (72)
- October 2004 (97)
- September 2004 (93)
- August 2004 (93)
- July 2004 (141)
- June 2004 (93)
- May 2004 (79)
- April 2004 (152)
- March 2004 (156)
- February 2004 (121)
- January 2004 (144)
- December 2003 (162)
- November 2003 (117)
- October 2003 (202)
- September 2003 (126)
- August 2003 (155)
- July 2003 (206)
- June 2003 (171)
- May 2003 (195)
- April 2003 (410)
- March 2003 (711)
- February 2003 (863)
- January 2003 (474)
- December 2002 (369)
- November 2002 (306)
- October 2002 (243)
- September 2002 (162)
- August 2002 (357)
- July 2002 (423)
- June 2002 (625)
- May 2002 (549)
- April 2002 (526)
- March 2002 (513)
- February 2002 (264)
- January 2002 (174)
- December 2001 (362)
- November 2001 (324)
- October 2001 (194)
- September 2001 (169)
- August 2001 (106)
- July 2001 (202)
- June 2001 (242)
- May 2001 (204)
- April 2001 (145)
- March 2001 (261)
- February 2001 (215)
- January 2001 (28)