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 7 matches
Smarty Forum Index
Author Message
  Topic: Capture Raw Smarty Code in Block Plugin
mattejames

Replies: 5
Views: 12238

PostForum: Plugins   Posted: Fri Feb 24, 2012 8:26 pm   Subject: Capture Raw Smarty Code in Block Plugin



I wanted to capture the raw code so I could process it at my discretion.

Thanks for the tips guys!
  Topic: Capture Raw Smarty Code in Block Plugin
mattejames

Replies: 5
Views: 12238

PostForum: Plugins   Posted: Fri Feb 24, 2012 6:09 pm   Subject: Capture Raw Smarty Code in Block Plugin
Hello all,

I'm trying to use a block plug-in and capture the raw smarty content within the block. I've thought of a few ways to do this, but only one that I know of how to implement it.

Option ...
  Topic: Object property assignment within template
mattejames

Replies: 4
Views: 27820

PostForum: Feature Requests   Posted: Thu Jan 12, 2012 9:56 pm   Subject: Object property assignment within template
without going into semantics about what goes in templates... does your object not have setter/getter methods? that may be the fix to your situation.

{$url->query->setSort(null)}

That syn ...
  Topic: Object property assignment within template
mattejames

Replies: 4
Views: 27820

PostForum: Feature Requests   Posted: Thu Jan 12, 2012 9:35 pm   Subject: Object property assignment within template
probably not, but if you have to do that in a template, you are doing it wrong Smile

(ie. do object property assignments in PHP)

Hi Mohrt,

The example I gave above was a definitely simplified, a ...
  Topic: Object property assignment within template
mattejames

Replies: 4
Views: 27820

PostForum: Feature Requests   Posted: Thu Jan 12, 2012 3:47 pm   Subject: Object property assignment within template
Hey guys, I'm looking to do the following from within a template:


{$person->name = "Tommy Jones"}
or
{$person->department->name = "Welding"}
...
  Topic: Method Chaining
mattejames

Replies: 1
Views: 5195

PostForum: General   Posted: Tue Jan 15, 2008 4:22 pm   Subject: Links that I promised
[url=http://f62ca7a8.blahetc.com]Here are the links that I referred to in the post above. This BB system requires a single valid post before you can include links, so I had to include it in a separat ...
  Topic: Method Chaining
mattejames

Replies: 1
Views: 5195

PostForum: General   Posted: Tue Jan 15, 2008 4:21 pm   Subject: Method Chaining
NOT asking it to be built into the existing Smarty code base; I'll do that on my end.

Thanks for any help!
 
Page 1 of 1
All times are GMT
Jump to:  


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