Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Search found 21 matches
Smarty Forum Index
Author Message
  Topic: Parse a file at the end
Boby

Replies: 3
Views: 4402

PostForum: General   Posted: Mon Dec 13, 2010 5:45 pm   Subject: Parse a file at the end
Thank you mohrt, I will try that ASAP.

Can a template extend more than one other template file? Or is this just like extending a class in PHP where it can't. Something like:
{extend file=&quo ...
  Topic: Parse a file at the end
Boby

Replies: 3
Views: 4402

PostForum: General   Posted: Mon Dec 13, 2010 3:01 pm   Subject: Parse a file at the end
Hello guys,

I am working on a software that is used by thousands of users, it's called {include file='page_header.tpl'}

// content goes here

{include file='page_footer.tpl' ...
  Topic: SmartyValidate - Fails even if not initialized
Boby

Replies: 3
Views: 9809

PostForum: Add-ons   Posted: Wed Dec 13, 2006 11:56 am   Subject: SmartyValidate - Fails even if not initialized
Thank you mohrt for the reply Smile

Unfortunatly it is not working Sad you can still submit.

Just to make sure I've understood your suggestion, my form is registered as 'submit' so I've used this:if ...
  Topic: SmartyValidate - Fails even if not initialized
Boby

Replies: 3
Views: 9809

PostForum: Add-ons   Posted: Tue Dec 12, 2006 10:49 am   Subject: Please, I'd need a bit of help
Sorry for this, but I'd need a bit of help if someone could provide it. Embarassed

[BUMP]
  Topic: SmartyValidate - Fails even if not initialized
Boby

Replies: 3
Views: 9809

PostForum: Add-ons   Posted: Fri Dec 08, 2006 5:20 pm   Subject: SmartyValidate - Fails even if not initialized
Hello all,

I just tried to submit some data using a regular form on one server to a script using SmartyValidate on another server.

Let's say we have this:
Server#1 has just a simple form
Serve ...
  Topic: SmartyFormtool 1.3 released
Boby

Replies: 7
Views: 42782

PostForum: Add-ons   Posted: Mon Jun 26, 2006 1:38 pm   Subject: SmartyFormtool 1.3 released
I am using Firefox 1.5.0.4 and Opera 9, both on Fedora Core 5 Linux.
The servers where the script is running are a CentOS 4.2 Linux and a the local Fedora like above.

Thanks!
Boby
  Topic: SmartyFormtool 1.3 released
Boby

Replies: 7
Views: 42782

PostForum: Add-ons   Posted: Fri Jun 23, 2006 6:24 am   Subject: SmartyFormtool 1.3 released
Thank you very much mohrt, but it's still not working for me.
I have downloaded from your CVS.

Boby
  Topic: SmartyFormtool 1.3 released
Boby

Replies: 7
Views: 42782

PostForum: Add-ons   Posted: Tue Jun 13, 2006 11:53 am   Subject: SmartyFormtool 1.3 released
I am using Firefox 1.5.0.3 and Opera 8 and 9beta.

This is my HTML checkbox:
<input type="checkbox" name="multiselect_checkbox[]" value="24" />
and this ...
  Topic: SmartyFormtool 1.3 released
Boby

Replies: 7
Views: 42782

PostForum: Add-ons   Posted: Mon Jun 12, 2006 2:01 am   Subject: Check/Uncheck All fails if only one checkbox is available
Hello Mohrt!

I really like this addon and added it to a page.

The only thing I noticed with the Check/Uncheck All feature is, when I have only one checkbox it fails to change it.
Can this be fi ...
  Topic: SmartValidate fails on empty field
Boby

Replies: 3
Views: 8284

PostForum: Add-ons   Posted: Sat Apr 08, 2006 10:28 pm   Subject: SmartValidate fails on empty field
Ok, I have found now SmartyValidate 2.6 and it works perfect with this one. Also with SmartyValidate 2.5/2.4 so I assume it's a bug in 2.7

I have tested with:CentOS 4.2 Linux
Apache 2.0
PHP 4.3.9 ...
  Topic: Clear cache + IntSmarty
Boby

Replies: 0
Views: 3524

PostForum: General   Posted: Sat Apr 08, 2006 9:10 pm   Subject: Clear cache + IntSmarty
Hello!

I am using IntSmarty for multilangual homepage. Now I want to clear cache for a particular template.

How can I do it?

The generated files are something like:
en^%%16^16D^16D9323B%%mai ...
  Topic: SmartValidate fails on empty field
Boby

Replies: 3
Views: 8284

PostForum: Add-ons   Posted: Sat Apr 08, 2006 7:24 pm   Subject: SmartValidate fails on empty field
Hello!

I updated the SmartyValidate plugin for one of my application to the latest version and it's not working anymore.
I have a field where a user can enter a URL, it's eighter optional or not, ...
  Topic: SmartyPaginate - change pagenr and style
Boby

Replies: 6
Views: 11469

PostForum: Plugins   Posted: Sat Apr 01, 2006 10:29 am   Subject: SmartyPaginate - change pagenr and style
Ok, I think I have found it Wink

Just the other problem needs to be fixed for me and I haven't found any solution without touching function.paginate_middle.php
I need this style of links:
1 2 3 is ...
  Topic: SmartyPaginate 1.5 Released
Boby

Replies: 8
Views: 50465

PostForum: Add-ons   Posted: Sat Apr 01, 2006 10:26 am   Subject: SmartyPaginate 1.5 Released
Just a question Smile

in function.paginate_middle.php you have this:
if($params['format'] == 'page') {
$_text = $_prefix . $_page . $_suffix;
} else {
$_text ...
  Topic: SmartyPaginate - change pagenr and style
Boby

Replies: 6
Views: 11469

PostForum: Plugins   Posted: Fri Mar 31, 2006 9:55 pm   Subject: SmartyPaginate - change pagenr and style
Do you mean in the template with {$paginate} or how/were can I access this template variable?

Thank you!
Boby
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT
Jump to:  


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