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 17 matches
Smarty Forum Index
Author Message
  Topic: In-Template Function Definitions Question
SoN9ne

Replies: 2
Views: 9583

PostForum: Smarty 3   Posted: Fri May 25, 2012 9:53 pm   Subject: In-Template Function Definitions Question
Thanks Very Happy Guess I overlooked that part of the manual... Embarassed
  Topic: In-Template Function Definitions Question
SoN9ne

Replies: 2
Views: 9583

PostForum: Smarty 3   Posted: Wed May 23, 2012 3:00 pm   Subject: In-Template Function Definitions Question
Hey guys,

I took a break on my project and now I am back in full force...

My system allows for multiple themes depending on which system you are in. I also built my own form system that is built ...
  Topic: A question about building a plugin
SoN9ne

Replies: 9
Views: 13071

PostForum: General   Posted: Tue Dec 20, 2011 6:46 pm   Subject: A question about building a plugin
ok, I was able to resolve this issue...

The issue was my fault and very stupid... I renamed my custom plugins folder and this was the issue. I am not sure why this did not work when I put the plugi ...
  Topic: A question about building a plugin
SoN9ne

Replies: 9
Views: 13071

PostForum: General   Posted: Mon Dec 19, 2011 10:45 pm   Subject: A question about building a plugin
1. yes, works perfectly
2. true

Hmm... thanks for your help, I really do appreciate it.

At least I know it's not just me... it's probably something really stupid and simple on my end... I'll h ...
  Topic: A question about building a plugin
SoN9ne

Replies: 9
Views: 13071

PostForum: General   Posted: Mon Dec 19, 2011 10:02 pm   Subject: A question about building a plugin
Yes my file is called function.widget.php and placed in my custom plugins directory. ( I also tested this in the default plugins directory but after that had no difference I moved it back.)

Here is ...
  Topic: A question about building a plugin
SoN9ne

Replies: 9
Views: 13071

PostForum: General   Posted: Sun Dec 18, 2011 8:51 pm   Subject: A question about building a plugin
Agreed.

I did as you suggested and I now have this error:
Unknown error (0): Syntax Error in template "/application/template/default/footer.tpl" on line 1 "{widget ...
  Topic: A question about building a plugin
SoN9ne

Replies: 9
Views: 13071

PostForum: General   Posted: Sat Dec 17, 2011 11:55 pm   Subject: A question about building a plugin
Hey guys,

I have been using Smarty for awhile now but I never wrote my own plugin.

In my framework I have custom widgets that can be built. The way I am doing it currently, I am making the sys ...
  Topic: 3.1.2 PHP errors
SoN9ne

Replies: 4
Views: 8719

PostForum: Bugs   Posted: Wed Oct 05, 2011 9:38 pm   Subject: 3.1.2 PHP errors

It is important to remember that the standard PHP error handler is completely bypassed for the
error types specified by error_types unless the callback function returns FALSE.
error_reporting() se ...
  Topic: 3.1.2 PHP errors
SoN9ne

Replies: 4
Views: 8719

PostForum: Bugs   Posted: Wed Oct 05, 2011 9:16 pm   Subject: 3.1.2 PHP errors
Thanks for your response but I am looking for a fix for the errors, not to suppress them. They just started happening today so I am looking into a plugin that may be causing this. I'm trying to identi ...
  Topic: 3.1.2 PHP errors
SoN9ne

Replies: 4
Views: 8719

PostForum: Bugs   Posted: Wed Oct 05, 2011 8:04 pm   Subject: 3.1.2 PHP errors
I have slowly been updating my sites to use the new Smarty engine.

I just noticed the 3.1.2 update and I made the proper edits to my template class but I am now noticing filemtime (Smarty-3.1.2/lib ...
  Topic: Smarty 3: Foreach Examples
SoN9ne

Replies: 0
Views: 13451

PostForum: Tips and Tricks   Posted: Fri Mar 26, 2010 3:00 pm   Subject: Smarty 3: Foreach Examples
Since I am new to Smarty, (Well, not really new, just haven't used it in a few years) I wanted to see some examples of foreach loops being used in the template.

Checking the {foreach $res as $ ...
  Topic: Smarty 3: {for} tag
SoN9ne

Replies: 1
Views: 31997

PostForum: Tips and Tricks   Posted: Fri Mar 26, 2010 2:54 pm   Subject: Smarty 3: {for} tag
Thanks! Just what I needed. Very Happy
  Topic: display a data with smarty is not correct
SoN9ne

Replies: 18
Views: 27167

PostForum: General   Posted: Fri Mar 26, 2010 2:51 pm   Subject: display a data with smarty is not correct
So how is this a tip or a trick?
  Topic: break and continue for looping functions
SoN9ne

Replies: 11
Views: 167574

PostForum: Smarty 3   Posted: Thu Mar 18, 2010 1:56 am   Subject: break and continue for looping functions
I have not been able to get that to work. Any luck on your side?

I really need the ability of continue so I have been looking for awhile now.
  Topic: {foreach} looping with PHP iterator
SoN9ne

Replies: 10
Views: 125981

PostForum: Tips and Tricks   Posted: Thu Mar 18, 2010 1:52 am   Subject: {foreach} looping with PHP iterator
Does this allow for use of continue in the foreach loop also? I am working on a foreach loop but I can't seem to figure out how to get it to continue...
 
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