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 4 matches
Smarty Forum Index
Author Message
  Topic: Getting parent template path in {extends} context
roadster

Replies: 5
Views: 17848

PostForum: Plugins   Posted: Tue Nov 26, 2013 3:57 pm   Subject: Getting parent template path in {extends} context
Thanks for this reply Smile
  Topic: Getting parent template path in {extends} context
roadster

Replies: 5
Views: 17848

PostForum: Plugins   Posted: Wed Nov 20, 2013 6:54 pm   Subject: Getting parent template path in {extends} context
Any advice about the suggestion above ?
  Topic: Getting parent template path in {extends} context
roadster

Replies: 5
Views: 17848

PostForum: Plugins   Posted: Mon Nov 18, 2013 10:13 pm   Subject: Getting parent template path in {extends} context
Thanks for this reply.

I noticed in the template PHP source the file_dependency array, and found the parent template path, which seems talways appear in second position in the file dependency list. ...
  Topic: Getting parent template path in {extends} context
roadster

Replies: 5
Views: 17848

PostForum: Plugins   Posted: Mon Nov 18, 2013 2:01 pm   Subject: Getting parent template path in {extends} context
Hello,

I'm currently working on a Smarty plugin which processes assets (css, js, etc.). I'm currently using $template->source->filepath in my plugin to get the current template path, and get ...
 
Page 1 of 1
All times are GMT
Jump to:  


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