|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
shackrock Smarty n00b
Joined: 09 Nov 2013 Posts: 2
|
Posted: Sat Nov 09, 2013 8:13 pm Post subject: Smarty Fetch is not loading anything into my variable |
|
|
Hi all. Long time smarty user but first time at the forums. I'm having some issues with Smarty Fetch on my new Windows Server + a new application I'm building. I actually have all of the details here:
http://stackoverflow.com/questions/19869582/smarty-fetch-is-not-loading-anything-into-my-variable
Would love to get some of the forum's ideas for possible solutions here. I've never experienced this problem before!
Thanks. |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Sun Nov 10, 2013 10:36 am Post subject: |
|
|
Your function fetch in View class did not return the result.
It must be
Code: | public function fetch($templateName){
return $this->templateEngine->fetch($templateName . $this->templateExtension);
}
|
|
|
Back to top |
|
shackrock Smarty n00b
Joined: 09 Nov 2013 Posts: 2
|
Posted: Sun Nov 10, 2013 11:53 am Post subject: |
|
|
I knew it was something overlooked like this...
Thank you so much, I agree that HAS to be the fix. Will try it today. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|