Re: [PHPTAL] Paths to resources in templates

2011-11-03 Thread Darrell Hamilton
Depending on your environment, you could simply symlink the directories you use for development to where the files will eventually be stored, or if you have control of the webserver configuration, (and you're using apache) there's always mod_rewrite. Darrell Hamilton, Software Develo

Re: [PHPTAL] Any updates to translation tools?

2011-08-23 Thread Darrell Hamilton
t. Unless someone else has input on the capabilities of RST to break down a single document into parts, I'll start investigating that next. Darrell Hamilton, Software Developer, 4over, Inc darre...@4over.com 818-246-1170 ext. 285 2011/8/23 Kornel Lesiński > On Tue, 23 Aug 2011 06:15

Re: [PHPTAL] Any updates to translation tools?

2011-08-22 Thread Darrell Hamilton
this time nor do I know enough of the pros/cons of each to say anything about which is the better tool for the job, but it might be worth hearing from people who have more experience with them. Darrell Hamilton, Software Developer, 4over, Inc darre...@4over.com 818-246-1170 ext. 285 On Mon, A

Re: [PHPTAL] Any updates to translation tools?

2011-08-19 Thread Darrell Hamilton
net/pandoc/ , seems to be the de facto standard so I'm going to start off with that one. Darrell Hamilton, Software Developer, 4over, Inc darre...@4over.com 818-246-1170 ext. 285 2011/8/19 Kornel Lesiński > On Fri, 19 Aug 2011 22:43:36 +0100, Darrell Hamilton > wrote: > >

Re: [PHPTAL] Browser Based TAL Inspection Tool

2011-08-19 Thread Darrell Hamilton
Kornel, Thank you for the input on the macro parsing. I'm not sure what I did wrong the last time I tried, but I was able fix up my prefilter to successfully pull out the metal attributes. Darrell Hamilton, Software Developer, 4over, Inc darre...@4over.com 818-246-1170 ext. 285 2011

Re: [PHPTAL] Any updates to translation tools?

2011-08-19 Thread Darrell Hamilton
g if there is something that can go directly from DocBook to Markdown without the extra step. Are there any additional requirements, beyond just being able to convert? Is this going to be a one time thing? (I assume 'yes') Does it need to be scriptable? (again, I assume 'yes&#

[PHPTAL] Browser Based TAL Inspection Tool

2011-08-18 Thread Darrell Hamilton
ach block of markup belongs to. So, before I begin my journey into the heart of PHPTAL to figure this out, has anyone dealt with something similar? Do you have suggestions on where to start looking? Or, preferably, is there a way to accomplish the above using hooks already provided by PHPTA

Re: [PHPTAL] Object causing a parse error

2011-08-01 Thread Darrell Hamilton
evaluates what follows as a regular PHP expression except that '->' is replaced by dots '.' and variable names are __NOT__ prefixed with a dollar '$' sign. Darrell Hamilton, Software Developer, 4over, Inc darre...@4over.com 818-246-1170 ext. 285 On Mon, Aug 1, 20

Re: [PHPTAL] Object causing a parse error

2011-08-01 Thread Darrell Hamilton
Fairly sure you just need to drop the `$' See: http://phptal.org/manual/en/#tales-php Darrell Hamilton, Software Developer, 4over, Inc darre...@4over.com 818-246-1170 ext. 285 On Mon, Aug 1, 2011 at 9:53 AM, Levi Stanley wrote: > Last login ${php: $time.timeFromNow($item.ge

Re: Re: [PHPTAL] Minimized version of modifiers

2011-07-14 Thread Darrell Hamilton
rs is made largely irrelevant. Darrell Hamilton, Software Developer, 4over, Inc darre...@4over.com 818-246-1170 ext. 285 On Thu, Jul 14, 2011 at 12:26 PM, Anton Andriyevskyy wrote: > Darrell, all this sounds good, but it the same ends up that we want to have > more concise html with sh

Re: [PHPTAL] Minimized version of modifiers

2011-07-14 Thread Darrell Hamilton
ating what your text editor has to offer. Many modern editors support user defined macros and/or auto completions which will get you the best of both worlds, less to type and maintaining compatibility with the standard markup. Darrell Hamilton, Software Developer, 4over, Inc darre...@4over.com 81

Re: [PHPTAL] How slots are better then macro?

2011-07-11 Thread Darrell Hamilton
to this approach are basically the opposites of the downsides to the previous approach. Flexibility wise, you can put whatever you want into the wrapper, one macro, ten macros, static content, whatever. And, conceptually, it alleviates the issue of the wrapper needing to know how to evaluate its c

[PHPTAL] i18n:domain Attribute

2011-06-28 Thread Darrell Hamilton
ibute is used to specify the domain to be used to get * the translation. If not specified, the translation services will use a * default domain. The value of the attribute is used directly; it is not * a TALES expression. Darrell Hamilton, Software Developer, 4over, Inc darre...@4over.com 818-