FAQ

Search Discussions

3,789 discussions - 13,790 posts

  • 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 ...
    Dong6699Dong6699
    Feb 23, 2008 at 4:58 pm
    Feb 23, 2008 at 4:58 pm
  • iyfxcicv
    SmaruendaSmaruenda
    Jan 17, 2008 at 6:04 pm
    Jan 17, 2008 at 6:04 pm
  • 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 ShortIan 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: smarty-discussion-subscribe@googlegroups.com smarty-developers-subscribe@googlegroups.com ...
    Monte OhrtMonte 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 OhrtMonte 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} ...
    BenBen
    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 ShortIan Short
    Oct 25, 2007 at 4:31 am
    Oct 25, 2007 at 8:33 am
  • Paul PogonyshevPaul 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 MckeonJeff 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 BogetChristoph 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 MendesNuno 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 TrutwinJosh 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-ThompsonKathleen 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 SchatzPeggy 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 SnyderKen 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 BogetChristoph 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 TrutwinJosh 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 ...
    APaellaAPaella
    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 DavisBen 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 ArnoldChris 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 MariniMassimiliano 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 ArnoldChris 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 LukiyantoWiwid 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 NogaSteve 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 KorkamesJoey 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 KendeAndras 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? ...
    EvolicEvolic
    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 MorganPeter 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 inczScott 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 Fouldsjarrad 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
    PoboxPobox
    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. OrrCole 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 BuergerDanilo 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 CiprianiFrancesco 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. BeyrentErich 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 TregoubenkoArtemy 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 RoblesyDamon 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; ...
    SylvainSylvain
    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 SchatzPeggy 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 HermsdorfJö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 info@hand CRM ...
    Marcus BointonMarcus 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! ...
    EyestormEyestorm
    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 LukiyantoWiwid 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 ...
    BootsBoots
    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 OhrtMonte 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
    T7T7
    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 SchatzPeggy 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)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 CrotchettDarren Crotchett
    Feb 12, 2007 at 6:21 pm
    Feb 12, 2007 at 6:21 pm
Group Navigation
period‹ prev | Latest | first ›
Group Overview
groupphp-smarty-general @
categoriesphp
discussions3,789
posts13,790
users1,616
websitesmarty.net

Top users

John Doe: 1556 posts Messju mohr: 711 posts Andrei Zmievski: 577 posts Bertrand DUNOGIER: 203 posts Luc: 181 posts Ivo Jansch: 180 posts Sweatjejm: 159 posts Boots: 151 posts Tom Sommer: 124 posts LIMBOURG Arnaud: 116 posts Peter Bowyer: 113 posts Norbert Röcher: 85 posts pete M: 79 posts Hoffman, Geoffrey: 78 posts Mark Rogers: 78 posts Jochem Maas: 76 posts Paul Lockaby: 75 posts Gary Loescher: 74 posts Monte Ohrt: 74 posts Juzan Jean-Michel: 70 posts
show more