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

Search found 3 matches
Smarty Forum Index
Author Message
  Topic: Smarty Pagination Function
doge

Replies: 0
Views: 2709

PostForum: General   Posted: Thu Dec 12, 2019 5:10 am   Subject: Smarty Pagination Function
Help me on error cause paginator function.

I made this function in smarty

<?php
/**
* Smarty plugin
* @package Smarty
* @subpackage plugins
*/


/**
* Smarty {paginator ...
  Topic: Keep Checkbox State on Match Array Keys After Submit
doge

Replies: 0
Views: 2944

PostForum: General   Posted: Thu Dec 05, 2019 2:31 am   Subject: Keep Checkbox State on Match Array Keys After Submit
I want to keep the checkbox state checked after I submit the form. I've made this code

For show all checkbox options.

$arr_array = array();
foreach( explode( ',', 'red,blue,gree ...
  Topic: Block function to replace multiple %string with text
doge

Replies: 0
Views: 2927

PostForum: General   Posted: Wed Dec 04, 2019 5:22 am   Subject: Block function to replace multiple %string with text
I created a block function code but it is doesn't work, here is the code

function smarty_block_t($params, $string, &$smarty) {
foreach($params as $key => $value) ...
 
Page 1 of 1
All times are GMT
Jump to:  


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