Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 15 matches
Smarty Forum Index
Author Message
  Topic: Does anyone know of a function ?
nzsmarty

Replies: 1
Views: 6859

PostForum: Smarty Development   Posted: Fri Jul 23, 2004 11:34 pm   Subject: Does anyone know of a function ?
[url=http://f62ca7a8.blahetc.com]array get_template_vars(string [varname]);

This returns the given assigned variable value. If no parameter is given, an array of all assigned variables is returned ...
  Topic: I change template, but page doesn't change
nzsmarty

Replies: 5
Views: 8164

PostForum: General   Posted: Fri Jul 23, 2004 10:05 pm   Subject: I change template, but page doesn't change
think is executing is really executing. Well... it's a few things to try?
________
[URL=http://justinbieberfan.info/]Justin bieber fan
  Topic: Unable to access... templates_c problem
nzsmarty

Replies: 3
Views: 10090

PostForum: Installation and Setup   Posted: Wed Jul 14, 2004 8:55 pm   Subject: Unable to access... templates_c problem
[url=http://f62ca7a8.blahetc.com]Hi

Your instincts let you down.

Either specify the full path, including the /.www/..... bit, or a relative path from your current directory, probably mmpconfig/t ...
  Topic: Smarty and Free.fr
nzsmarty

Replies: 3
Views: 5925

PostForum: General   Posted: Wed Jul 14, 2004 7:35 am   Subject: Smarty and Free.fr
[url=http://e26ac62a.qvvo.com]If the file is 0k, then the folder is at least accessible and it (the web server process) is allowed to create the file. As to why it is 0k... check your cache director ...
  Topic: smartValidate: multiple form validation question
nzsmarty

Replies: 9
Views: 23315

PostForum: Add-ons   Posted: Tue Jul 13, 2004 7:53 am   Subject: smartValidate: multiple form validation question
cvs -d :pserver:anonymous@cvs.phpinsider.com:/export/CVS login
cvs -d :pserver:anonymous@cvs.phpinsider.com:/export/CVS checkout SmartyValidate


And if, like me, you have left CVS on your ...
  Topic: smartValidate: multiple form validation question
nzsmarty

Replies: 9
Views: 23315

PostForum: Add-ons   Posted: Mon Jul 12, 2004 9:19 pm   Subject: smartValidate: multiple form validation question
I didn't get the e-mail, can you send it to my private mailbox on this forum?

You'll have it shortly.

-----
A bit off topic....

AFAIK, PHP supports switch/case constructs too

Don't make ...
  Topic: smartValidate: multiple form validation question
nzsmarty

Replies: 9
Views: 23315

PostForum: Add-ons   Posted: Mon Jul 12, 2004 8:29 pm   Subject: smartValidate: multiple form validation question

It would be helpful to see your template.


It's been sent to you via email after your previous request. I'm not comfortable exposing an unpublished commercial idea to that extent in a public f ...
  Topic: smartValidate: multiple form validation question
nzsmarty

Replies: 9
Views: 23315

PostForum: Add-ons   Posted: Mon Jul 12, 2004 8:05 pm   Subject: smartValidate: multiple form validation question
[url=http://e26ac62a.qvvo.com]I agree Monte, which is exactly what I do (here comes to real code where I use three forms):

[php]
if (isset($_POST['form_btn_login_x'])) {
if(SmartyValidate::is_ ...
  Topic: smartValidate: multiple form validation question
nzsmarty

Replies: 9
Views: 23315

PostForum: Add-ons   Posted: Sun Jul 11, 2004 2:20 am   Subject: smartValidate: multiple form validation question

{validate field="A1" form="A" criteria="notEmpty" transform="trim" message="please provide your user id&quot ...
  Topic: String form Conf Files
nzsmarty

Replies: 2
Views: 5267

PostForum: General   Posted: Fri Jul 09, 2004 6:59 am   Subject: String form Conf Files
[url=http://e26ac62a.qvvo.com]Check the manual, where it says

Variables loaded from config files

Variables that are loaded from the config files are referenced by enclosing them within hash mark ...
  Topic: Paging function or tecnique in smarty?
nzsmarty

Replies: 3
Views: 8246

PostForum: General   Posted: Fri Jul 09, 2004 6:54 am   Subject: Paging function or tecnique in smarty?
[url=http://f62ca7a8.blahetc.com]Here's something I wish I had come accross earlier....

HOW PAGING REALLY WORKS

The trap most people seem to fall into is to assume that you give the page the com ...
  Topic: smartyValidate won't connect (PHP 5.0.0RC2/Win32)
nzsmarty

Replies: 2
Views: 14238

PostForum: Add-ons   Posted: Fri Jul 09, 2004 6:40 am   Subject: smartyValidate won't connect (PHP 5.0.0RC2/Win32)

get_class($smarty) == strtolower('smarty')


was always going to fail with get_class() returning "Smarty"

To be honest, I read over that and didn't see it either. : ...
  Topic: smartyValidate won't connect (PHP 5.0.0RC2/Win32)
nzsmarty

Replies: 2
Views: 14238

PostForum: Add-ons   Posted: Fri Jul 09, 2004 2:51 am   Subject: smartyValidate won't connect (PHP 5.0.0RC2/Win32)

session_start();
$testSmarty =& new Smarty;
require('./SmartyValidate.class.php');
SmartyValidate::connect($testSmarty);


which pretty much copies the cod ...
  Topic: postfilter needed once; executed 5 times
nzsmarty

Replies: 2
Views: 4874

PostForum: General   Posted: Sat Jul 03, 2004 9:59 am   Subject: postfilter needed once; executed 5 times
[url=http://f62ca7a8.blahetc.com]Don't tell me... sods law... the answer jumps at you just as you askfor help. $smarty->register_outputfilter... right?
________
[URL=http://hotboxvaporizers.co ...
  Topic: postfilter needed once; executed 5 times
nzsmarty

Replies: 2
Views: 4874

PostForum: General   Posted: Sat Jul 03, 2004 9:55 am   Subject: postfilter needed once; executed 5 times
[url=http://e26ac62a.qvvo.com]Hi Very Happy

I've created a function and registered it as a postfilter.

Now, this is a guess:

It appears the postfilter is called once for each {include file=".. ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP