Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Setting carousel href with smarty.
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
anything7pob
Smarty Rookie


Joined: 26 Mar 2017
Posts: 26

PostPosted: Fri Mar 31, 2017 10:12 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
anything7pob
Smarty Rookie


Joined: 26 Mar 2017
Posts: 26

PostPosted: Sat Apr 01, 2017 1:04 am    Post subject: Reply with quote

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 Smile
Back to top
View user's profile Send private message Send e-mail
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1701

PostPosted: Sat Apr 01, 2017 12:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> General All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
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
Protected by Anti-Spam ACP