|
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 |
anything7pob Smarty Rookie
Joined: 26 Mar 2017 Posts: 26
|
Posted: Fri Mar 31, 2017 10:12 pm Post subject: |
|
|
Ok, just to clarify,
Are you saying I need to check the page source rather than relying on browser results to update?
I was also getting some error messages pointing to a .tpl.php file or similar that seemed to be similar to what you are describing also.
I entered the webaddress and then viewed the page source to reveal the index to help locate the error.
this looked like the raw html from smarty or something..
I am going to have another look at the instructions! |
|
Back to top |
|
anything7pob Smarty Rookie
Joined: 26 Mar 2017 Posts: 26
|
Posted: Sat Apr 01, 2017 1:04 am Post subject: |
|
|
Woohoo, fixed it!
Not sure what the problem was, more my understanding of arrays and how to set and arrange them both in PHP and smarty.
Reliable feedback was the answer.
Thanks for your help |
|
Back to top |
|
AnrDaemon Administrator
Joined: 03 Dec 2012 Posts: 1785
|
Posted: Sat Apr 01, 2017 12:33 pm Post subject: |
|
|
anything7pob wrote: | Ok, just to clarify,
Are you saying I need to check the page source rather than relying on browser results to update? |
Yup. You have to
1. Understand what the results you need.
2. Know how to reach them with the tools on hand.
I often just Code: | curl -s http://.../ | the page I'm working with to see the code Smarty produces.
Takes some setup to be able to quickly reach necessary templates, but then it's a matter of following the pattern. Quite easy. |
|
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
|