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

Search found 11 matches
Smarty Forum Index
Author Message
  Topic: SmartyPaginate 1.6 released
hiteshb

Replies: 56
Views: 144884

PostForum: Add-ons   Posted: Mon Aug 17, 2015 4:01 am   Subject: Strict Standards: Non-static method SmartyPaginate::_getPrev
I am getting Strict Standard error in latest PHP 5.5.8 on Smarty 3.0

Below are full errors.

Strict Standards: Non-static method SmartyPaginate::_getPrevPageItem() should not ...
  Topic: Need help with Smarty Multi Dimensional Array
hiteshb

Replies: 0
Views: 1735

PostForum: General   Posted: Fri Sep 07, 2012 11:29 am   Subject: Need help with Smarty Multi Dimensional Array
I am really in mess as I am unable to solve problem with Smarty Multi Dimension array.

Below is the way I want to execute Smarty.

First of all I will list all customers. Than I want list of all ...
  Topic: Two dimensional query
hiteshb

Replies: 4
Views: 3584

PostForum: General   Posted: Mon Feb 14, 2011 10:54 am   Subject: Two dimensional query
Looks not working or I didn't got it.

Ok. Below is something I am using correct (for single dimensional)

Below is in class file.

function getAlllist()
{
global $db,$smarty; ...
  Topic: Two dimensional query
hiteshb

Replies: 4
Views: 3584

PostForum: General   Posted: Sun Feb 13, 2011 8:16 pm   Subject: Two dimensional query
Thanks for answer.

I am just newbie and somehow got knowledge of Smarty. Reason for choosing Smarty was to simplying PHP codes. Anyway thanks once again.
  Topic: Two dimensional query
hiteshb

Replies: 4
Views: 3584

PostForum: General   Posted: Sat Feb 12, 2011 10:50 am   Subject: Two dimensional query
Waiting for help. Very Happy
  Topic: Two dimensional query
hiteshb

Replies: 4
Views: 3584

PostForum: General   Posted: Sat Feb 05, 2011 4:05 am   Subject: Two dimensional query
First I would like to tell you that I am not PHP expert. I only know how to create queries and execute same through smarty tags.

I have class files in system directory where queries are listed.

...
  Topic: If Else Condtion if template exist.
hiteshb

Replies: 2
Views: 3044

PostForum: General   Posted: Mon Jul 26, 2010 6:18 pm   Subject: If Else Condtion if template exist.
so no reply yet ?
  Topic: If Else Condtion if template exist.
hiteshb

Replies: 2
Views: 3044

PostForum: General   Posted: Sun Jul 11, 2010 3:53 pm   Subject: If Else Condtion if template exist.
I thought to put all source so that one can give me exact code.

<li class="menu"><a href="/index.php" class="yuimenubaritemlabel">Home</a></li> ...
  Topic: If Else Condtion if template exist.
hiteshb

Replies: 2
Views: 3044

PostForum: General   Posted: Sun Jul 11, 2010 3:41 pm   Subject: If Else Condtion if template exist.
I made file while searching this forum - http://www.smarty.net/forums/viewtopic.php?t=11809

I am tring this function

{if "series.tpl"||"viewseries.tpl"|template_exists&# ...
  Topic: HTTP Header Redirect
hiteshb

Replies: 2
Views: 5466

PostForum: General   Posted: Sun Jul 11, 2010 5:53 am   Subject: HTTP Header Redirect
It doesn't work.

Neither it does rewrite nor it does redirect.

What I see problem is with that blah-blah section. To improve keywords in url I added those keywords. This keywords are taken from ...
  Topic: HTTP Header Redirect
hiteshb

Replies: 2
Views: 5466

PostForum: General   Posted: Sat Jul 10, 2010 5:07 am   Subject: HTTP Header Redirect
I want to add HTTP redirect header in my php file (I am using smarty offcourse)

Earlier my url use to be viewschedule.php?id=$

I changed the url to schedule/([^/]*)-blah-blah-bla ...
 
Page 1 of 1
All times are GMT
Jump to:  


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