Re: [PHPTAL] question re: calling methods with parameters

2009-06-01 Thread Levi Stanley
I believe Petal, JPT, and several other versions of java TAL do take parameters using the path notation, however phptal seems to keep closer to the TAL spec. If it is necessary to use parameters you will have to use php: ... Best regards, Levi Stanley Scott Trevithick wrote: > Hello all, > I am

Re: [PHPTAL] question re: calling methods with parameters

2009-06-01 Thread anru
$object->getTitle($param1, $param2) is not that belongs to your model layer? PHPTal handles your view. regards, On Jun 2, 2009, at 3:59 PM, Scott Trevithick wrote: Hello all, I am new to PHPTAL and have a question about the syntax of calling a method with a parameter. Say I have a tag:

[PHPTAL] question re: calling methods with parameters

2009-06-01 Thread Scott Trevithick
Hello all, I am new to PHPTAL and have a question about the syntax of calling a method with a parameter. Say I have a tag: sample title No problem. But what if I want to pass in one or more parameters, such as $object->getTitle($param1, $param2)? What does the syntax look like? A wild guess: sam

Re: [PHPTAL] New PHPTAL website!

2009-06-01 Thread Kornel Lesiński
How about now? A bit more colorful. Everything is slightly smaller (with 1em kept only for large resolutions in browsers that support CSS media queries). Any idea how to add color to headers? body of text? -- regards, Kornel ___ PHPTAL mailing

Re: [PHPTAL] New PHPTAL website!

2009-06-01 Thread Kornel Lesiński
On 01.06.2009, at 14:09, admirau wrote: Starting from the top: * Kerning in PHPTAL logo could be improved What's wrong with it? Improved how? I thought that's browsers' job. * Upper right gray area is unused == takes important place I plan to put search box there. But the main issue visi

Re: [PHPTAL] New PHPTAL website!

2009-06-01 Thread romtek
I support everything Werner said in his elaborated reply. I think using 1em for font-size is correct as it uses the browser's default value. If it's too much for somebody, he can reduce the default value. But the default is there for a reason, and it's nice for a web designer to respect users' wis

Re: [PHPTAL] New PHPTAL website!

2009-06-01 Thread admirau
W dniu 2009-06-01 00:59, Kornel Lesiński pisze: I welcome suggestions about the design, typography. I'd like some help integrating scripts&makefiles for manual and website together (svn exports + recursive make?) In general: old one was better :) Starting from the top: * Kerning in PHPTAL logo

Re: [PHPTAL] New PHPTAL website!

2009-06-01 Thread Werner
Ok, allow me to elaborate a bit... 1) I like sites that are easy to read. Especially if it's of a technical nature, like PHPTAL. 2) I like sites that are center-aligned, and sites that can scale according to the viewport (like when I visit it om my mobile), or on my nice big monitor in the off

Re: [PHPTAL] New PHPTAL website!

2009-06-01 Thread Werner
Hehehehe - you're a tough customer :) aaatoja wrote: Ok, I can make it smaller. What would you change with the top? Old site is pure and clean. When I first saw new one I thought "why is it so sad"? There's too much gray (unless it symbolizes the dullness of other projects), trifolium (

Re: [PHPTAL] New PHPTAL website!

2009-06-01 Thread aaatoja
> Ok, I can make it smaller. What would you change with the top? > Old site is pure and clean. When I first saw new one I thought "why is it so sad"? There's too much gray (unless it symbolizes the dullness of other projects), trifolium (?) should suggest live, bright and happy colors. I don't

Re: [PHPTAL] New PHPTAL website!

2009-06-01 Thread Werner
I like it the way it is currently (larger font sizes) - I hate having to squint in order to read technical docs. I just like it's simplicity and scalability - just my 2 cents. PS: Good job, Kornel! Kornel Lesiński wrote: Ok, I can make it smaller. What would you change with the top? ___

Re: [PHPTAL] New PHPTAL website!

2009-06-01 Thread Kornel Lesiński
On 01-06-2009 at 06:27:36 aaatoja wrote: For syntax highlighting You can try: http://code.google.com/p/google-code-prettify/ It is google project used in code.google.com so obviously doesn't work with application/xhtml+xml ;) PHPTAL now supports HTML5 output mode, so this isn't a problem :