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 89 matches
Smarty Forum Index
Author Message
  Topic: table_foreach & PHP 5.1.x
pt2002

Replies: 3
Views: 10235

PostForum: Plugins   Posted: Fri Apr 14, 2006 1:08 pm   Subject: table_foreach & PHP 5.1.x
Hi

Are you using lastest smarty version? If not, just update it.
I'm using table_foreach plugin with php 5.1.2 and it works fine.

Best regards
pt2002
  Topic: Dynamic variable names
pt2002

Replies: 2
Views: 9122

PostForum: General   Posted: Wed Mar 29, 2006 7:43 pm   Subject: Dynamic variable names
Hi

Thank you very much. Just needed to rewrite the queries as you suggest.

Greetings
pt2002
  Topic: Dynamic variable names
pt2002

Replies: 2
Views: 9122

PostForum: General   Posted: Tue Mar 28, 2006 7:55 pm   Subject: Dynamic variable names
Hi

I have a table with two fields: TitleEN and TitleFR. They hold values in English and French.

There is a session var 'lang' to know the active language.

Actually I build the query based on ...
  Topic: Smarty 3.0: initial discussion
pt2002

Replies: 172
Views: 534058

PostForum: Smarty Development   Posted: Sun Mar 05, 2006 8:48 pm   Subject: Smarty 3.0: initial discussion
Are there any news about Smarty 3 ?

Now, with EZComponents an Zend Framework, the only thing missing is a good template engine.

greetings
pt2002
  Topic: Merging templates by smarty compiler
pt2002

Replies: 17
Views: 43172

PostForum: Smarty Development   Posted: Mon Dec 19, 2005 12:12 am   Subject: Merging templates by smarty compiler
Hi

thanks for answering so quickly.
No problem. It reduced seven tpl files to two. Nice work

best regards
  Topic: Merging templates by smarty compiler
pt2002

Replies: 17
Views: 43172

PostForum: Smarty Development   Posted: Sun Dec 18, 2005 11:58 pm   Subject: Merging templates by smarty compiler
Hi

This piece of code is very nice, thanks.
There is only one problem that i found and would like to know if it possible to fix it.

I have one main.tpl where i include other templates.
{inlin ...
  Topic: phpbb in smarty?
pt2002

Replies: 7
Views: 15819

PostForum: General   Posted: Thu Nov 03, 2005 2:54 am   Subject: phpbb in smarty?
Hi

phpBB uses relative paths to the images <img src="templates/..../xxx">,
so the images are not displayed when you print the fetch result.

best regards
  Topic: PDF Output Filter
pt2002

Replies: 4
Views: 21827

PostForum: General   Posted: Wed Oct 26, 2005 2:35 pm   Subject: PDF Output Filter
Hi

Take a look at pdml.sourceforge.net. Also see the forum.

Best regards
  Topic: foreach - Apache Segmentation Fault (updated)
pt2002

Replies: 5
Views: 10429

PostForum: General   Posted: Mon Oct 17, 2005 2:06 pm   Subject: foreach - Apache Segmentation Fault (updated)
Hi

Yes, I read the post on php.smarty.dev.
I will try latest snapshot in a few minutes.

Thank you very much. I hope it serves somenone else with the same problem.

Best regards
  Topic: foreach - Apache Segmentation Fault (updated)
pt2002

Replies: 5
Views: 10429

PostForum: General   Posted: Sun Oct 16, 2005 4:14 pm   Subject: foreach - Apache Segmentation Fault (updated)
Hi

maybe I didnt explain the problem quite well.

With php 5.1 both foreach ($from as $key=>$item) and foreach ($from as $item) works fine.

Using smarty {foreach name=foo from=$bar item=x k ...
  Topic: foreach - Apache Segmentation Fault (updated)
pt2002

Replies: 5
Views: 10429

PostForum: General   Posted: Thu Oct 13, 2005 11:58 am   Subject: foreach - Apache Segmentation Fault (updated)
Hi

I'm doing some tests with php 5.1, Apache 2.0.54 (windows & linux fc4) with the latest versions from cvs and smarty 2.6.10.

I get some data from db (adodb) and display a small template.

Ca ...
  Topic: SmartyPaginate: Highlight the active link
pt2002

Replies: 2
Views: 8673

PostForum: Add-ons   Posted: Thu Oct 06, 2005 10:25 pm   Subject: SmartyPaginate: Highlight the active link
Hi

Thank you very much for the idea or Obrigado! (acho que falamos a mesma língua :wink: )

Best regards
Cumprimentos

pt2002
  Topic: SmartyPaginate Bug ?
pt2002

Replies: 2
Views: 7705

PostForum: Add-ons   Posted: Thu Oct 06, 2005 10:22 pm   Subject: SmartyPaginate Bug ?
Hi Mohrt

It's working correctly now. Thank you very much.
I was using SmartyPaginate 1.4 and not from cvs.

Best regards
  Topic: SmartyPaginate Bug ?
pt2002

Replies: 2
Views: 7705

PostForum: Add-ons   Posted: Thu Oct 06, 2005 6:07 pm   Subject: SmartyPaginate Bug ?
Hi

I'm using Smarty 2.6.10 and SmartyPaginate latest version from cvs.

I have a list with 5 records per page. The table has 7 records.

I setup SmartyPaginate within a function
function confi ...
  Topic: SmartyPaginate: Highlight the active link
pt2002

Replies: 2
Views: 8673

PostForum: Add-ons   Posted: Fri Sep 23, 2005 7:26 pm   Subject: SmartyPaginate: Highlight the active link
Hi

I'm using this great class and I would like to know how can I have the active link shown in a different color from the other links ?

eg. prev [1-35][36-70][71-105][106-140][141-175] next

C ...
 
Page 1 of 6 Goto page 1, 2, 3, 4, 5, 6  Next
All times are GMT
Jump to:  


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