Re: [Fwd: Re: [PHPTAL] PHPTAL Tutorials]

2009-01-16 Thread Pete Loggie
ahem... Yes, if I use a PHP file using program code, then everything works just fine! That was the very obvious part that I was missing! I knew it was something obvious. But that step wasn't made obvious in either the book I was using (PHP in Action by Manning: it's brilliant in parts,

Re: [Fwd: Re: [PHPTAL] PHPTAL Tutorials]

2009-01-16 Thread Levi Stanley
Odd it works for me: Output: This is the external macro This is the internal macro Program Code: execute(); } catch ( Exception $e ){ print "Error: {$e->getMessage()}\n"; } ?> Pete Loggie wrote: > I included the complete code I'm t

Re: [Fwd: Re: [Fwd: Re: [PHPTAL] PHPTAL Tutorials]]

2009-01-16 Thread Pete Loggie
Everyone had 'read' access, and it doesn't work if I change that to 'read and write' either... On 16 Jan 2009, at 14:11, Levi Stanley wrote: From: Levi Stanley Date: 16 January 2009 14:08:13 GMT-02:00 To: Template Attribute Language for PHP Subject: Re:

Re: [Fwd: Re: [PHPTAL] PHPTAL Tutorials]

2009-01-16 Thread Kornel Lesiński
On 16-01-2009 at 16:02:06 Pete Loggie wrote: No, I don't get any error messages... All that happens is the external macro isn't displayed. It's such a basic issue, that I have no idea what the problem might be. I mean, if internal macros work fine, then that suggests that PHPTAL is half-wo

Re: [Fwd: Re: [PHPTAL] PHPTAL Tutorials]

2009-01-16 Thread Pete Loggie
I included the complete code I'm testing in the original post. It's as simple as it can be: macro.html This is the external macro page.html This is the internal macro If I prefix the intern

[Fwd: Re: [Fwd: Re: [PHPTAL] PHPTAL Tutorials]]

2009-01-16 Thread Levi Stanley
--- Begin Message --- Did you rule out a permissions problem, on the macro file? Pete Loggie wrote: > No, I don't get any error messages... All that happens is the external > macro isn't displayed. It's such a basic issue, that I have no idea > what the problem might be. I mean, if internal mac

Re: [Fwd: Re: [PHPTAL] PHPTAL Tutorials]

2009-01-16 Thread Christoph Frick
On Fri, Jan 16, 2009 at 02:02:06PM -0200, Pete Loggie wrote: > No, I don't get any error messages... All that happens is the external > macro isn't displayed. It's such a basic issue, that I have no idea > what the problem might be. I mean, if internal macros work fine, then > that suggests that P

Re: [Fwd: Re: [PHPTAL] PHPTAL Tutorials]

2009-01-16 Thread Pete Loggie
No, I don't get any error messages... All that happens is the external macro isn't displayed. It's such a basic issue, that I have no idea what the problem might be. I mean, if internal macros work fine, then that suggests that PHPTAL is half-working. But the external ones, they just ... do

Re: [Fwd: Re: [PHPTAL] PHPTAL Tutorials]

2009-01-16 Thread Christoph Frick
On Fri, Jan 16, 2009 at 01:31:19PM -0200, Pete Loggie wrote: > Any ideas what the problem is? The code I'm using is below. The > "internal" macro is displayed, but the "external" macro isn't: do you get an error message? if not what happens instead? i use lots of macros and all works out fine al

Re: [Fwd: Re: [PHPTAL] PHPTAL Tutorials]

2009-01-16 Thread Pete Loggie
the internal macro On 16 Jan 2009, at 13:19, Levi Stanley wrote: From: Levi Stanley Date: 16 January 2009 13:19:07 GMT-02:00 To: Template Attribute Language for PHP Subject: Re: [PHPTAL] PHPTAL Tutorials Actually, would like to see how a lot of people a

[Fwd: Re: [PHPTAL] PHPTAL Tutorials]

2009-01-16 Thread Levi Stanley
--- Begin Message --- Actually, would like to see how a lot of people are using macros. I would image, my way of using them, leaves much of their functionality unused. bart josnos wrote: > Hey, > > I am trying to learn how to create the macro file for PHPTAL. Anyone > know of any good tutorial

[Fwd: Re: [PHPTAL] PHPTAL Tutorials]

2009-01-16 Thread Levi Stanley
--- Begin Message --- Actually, would like to see how a lot of people are using macros. I would image, my way of using them, leaves much of their functionality unused. bart josnos wrote: > Hey, > > I am trying to learn how to create the macro file for PHPTAL. Anyone > know of any good tutorial

Re: [PHPTAL] PHPTAL Tutorials

2009-01-16 Thread Alister Cameron
It's a fair point, though, that there are no real "tutorials" for PHPTAL, or any note. No videos, no step-by-steps, etc. The manual is very bare for people who like examples and to be stepped thru things. It's something I will address to a point with docco I create for my Vanilla WP theme... as

Re: [PHPTAL] PHPTAL Tutorials

2009-01-16 Thread admirau
W dniu 2009-01-16 02:23, bart josnos pisze: Hey, I am trying to learn how to create the macro file for PHPTAL. Anyone know of any good tutorials or tips that can help me out? Unfortunetly, Google does not have any good results. Macros are the same files like other PHPTAL templates - just valid

[PHPTAL] PHPTAL Tutorials

2009-01-15 Thread bart josnos
Hey, I am trying to learn how to create the macro file for PHPTAL. Anyone know of any good tutorials or tips that can help me out? Unfortunetly, Google does not have any good results. _ Windows Live™: Keep your life in sync. http