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 8 matches
Smarty Forum Index
Author Message
  Topic: SmartyPaginate 1.6 released
tdan

Replies: 56
Views: 436722

PostForum: Add-ons   Posted: Sat May 02, 2015 11:07 am   Subject: Mod for get[page] session
I propose an modification to smartypaginate. Sorry my english is bad.

Proposition de modification pour SmartyPaginate v1.6 pour conserver la session de l'URL $_GET
// Gestion de Routing
if ( ...
  Topic: Proposition de modification pour SmartyPaginate session
tdan

Replies: 0
Views: 18165

PostForum: Documentation   Posted: Sat May 02, 2015 10:52 am   Subject: Proposition de modification pour SmartyPaginate session
Proposition de modification pour SmartyPaginate v1.6 pour conserver la session de l'URL $_GET
if (isset($_GET['page']))
define('GETPAGE', $_GET['page']);
...
  Topic: Smarty Pagination
tdan

Replies: 6
Views: 21362

PostForum: General   Posted: Wed Apr 29, 2015 6:40 am   Subject: [Resolu]
I solved the problem by replacing range () by my code in your function:

function get_db_results() {

function liste($l){
if ($handle = opendir($l) ...
  Topic: Smarty Pagination
tdan

Replies: 6
Views: 21362

PostForum: General   Posted: Wed Apr 29, 2015 4:54 am   Subject: Can we adapt martypaginate files listing no database
Hello

Can we adapt martypaginate to a file listing of an image directory?

Do not use a database.

My listing directory code:

php:

<?php
function liste($l){
if & ...
  Topic: pagination liste de url
tdan

Replies: 0
Views: 15197

PostForum: Language: French   Posted: Wed Apr 22, 2015 10:14 am   Subject: pagination liste de url
Comment puis-je intégrer une pagination dans un "loop" dans mon bout de code?

Pour obtenir:
<?php
function liste($l){
if ($handle = opendir($l)) ...
  Topic: forearch en smarty
tdan

Replies: 0
Views: 15632

PostForum: Language: French   Posted: Thu Apr 09, 2015 8:28 am   Subject: forearch en smarty
Bonjour, j'ai besoin de l'équivalent de ceci:


$smarty->assign('tnslist', $tns);
$smarty->assign('imglist', $img);
[/code]
  Topic: interval entre "?pages=" et le "&="
tdan

Replies: 1
Views: 16243

PostForum: Language: French   Posted: Thu Apr 09, 2015 8:25 am   Subject: interval entre "?pages=" et le "&="
$_GET['page'] la solution.
  Topic: interval entre "?pages=" et le "&="
tdan

Replies: 1
Views: 16243

PostForum: Language: French   Posted: Fri Mar 27, 2015 9:39 am   Subject: interval entre "?pages=" et le "&="
Bonjour.

Je reformule ma question.

J'ai fait un truc du genre pour isoler ce qui se trouve entre "?pages=à_isoler&autrechose=letruc"

[code]$file = $_SERVER['REQUEST_URI'];
$ ...
 
Page 1 of 1
All times are GMT
Jump to:  


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