View previous topic :: View next topic |
Author |
Message |
TGKnIght Smarty Junkie
Joined: 07 Sep 2005 Posts: 580 Location: Philadelphia, PA
|
|
Back to top |
|
Royal_Smartiness_15 Smarty Rookie
Joined: 29 Dec 2006 Posts: 16
|
Posted: Thu Apr 05, 2007 5:27 pm Post subject: |
|
|
No lol, actually all the years (almost 3) that I've been learning PHP I haven't really used arrays that much lol, it's something I really should learn. |
|
Back to top |
|
Royal_Smartiness_15 Smarty Rookie
Joined: 29 Dec 2006 Posts: 16
|
Posted: Fri Apr 06, 2007 10:49 pm Post subject: |
|
|
Hello...anyone? |
|
Back to top |
|
Nathan Malone Smarty n00b
Joined: 07 Apr 2007 Posts: 3
|
Posted: Sat Apr 07, 2007 2:58 am Post subject: |
|
|
www.phpinsider. com/smarty-forum/viewtopic.php?p=35493 (take out space in URL) contains some sample code for looping through arrays that you might find helpful. |
|
Back to top |
|
Royal_Smartiness_15 Smarty Rookie
Joined: 29 Dec 2006 Posts: 16
|
Posted: Sat Apr 07, 2007 8:31 am Post subject: |
|
|
The address you gave me doesn't work, and yes I did take out the space. |
|
Back to top |
|
TGKnIght Smarty Junkie
Joined: 07 Sep 2005 Posts: 580 Location: Philadelphia, PA
|
|
Back to top |
|
Royal_Smartiness_15 Smarty Rookie
Joined: 29 Dec 2006 Posts: 16
|
Posted: Mon Apr 09, 2007 10:38 pm Post subject: |
|
|
OK so I tried every possible combination from that page and I also read all about arrays on PHP.net but nothing I tried worked...But I can't figure out why... |
|
Back to top |
|
TGKnIght Smarty Junkie
Joined: 07 Sep 2005 Posts: 580 Location: Philadelphia, PA
|
|
Back to top |
|
Royal_Smartiness_15 Smarty Rookie
Joined: 29 Dec 2006 Posts: 16
|
Posted: Tue Apr 10, 2007 2:08 pm Post subject: |
|
|
OK so I've followed the instructions from the link but I get the following error:
Code: |
Warning: Smarty error: unable to read resource: "includes/debug.tpl"
|
I've checked and the debug.tpl file is there... |
|
Back to top |
|
Royal_Smartiness_15 Smarty Rookie
Joined: 29 Dec 2006 Posts: 16
|
Posted: Thu Apr 12, 2007 9:06 pm Post subject: |
|
|
I've tried lots of different ways of trying to get the debug.tpl file included into my template but none have, any help here would be appreciated.
Thanks. |
|
Back to top |
|
TGKnIght Smarty Junkie
Joined: 07 Sep 2005 Posts: 580 Location: Philadelphia, PA
|
|
Back to top |
|
Royal_Smartiness_15 Smarty Rookie
Joined: 29 Dec 2006 Posts: 16
|
Posted: Sun Apr 15, 2007 10:59 am Post subject: |
|
|
Never mind lol, I figured it out.
I just put the debug.tpl into every directory till one worked
Here is what it said:
Code: |
included templates & config files (load time in seconds)
default/index_body.tpl (0.06465) (total)
default/header.tpl (0.02283)
default/footer.tpl (0.03177)
assigned template variables
{$sitename} Array (0)
assigned config file variables (outer template scope)
{#files#} Array (0)
{#vars#} Array (0)
|
What does this mean? |
|
Back to top |
|
Royal_Smartiness_15 Smarty Rookie
Joined: 29 Dec 2006 Posts: 16
|
Posted: Wed Apr 18, 2007 2:38 pm Post subject: |
|
|
*BUMP* |
|
Back to top |
|
|