Re: [PHPTAL] Using PHPTAL with index.php?page=... thing

2008-01-21 Thread Anton Andrievskij
Thanks your for this help. Anton On Jan 21, 2008 2:39 PM, Christoph Frick <[EMAIL PROTECTED]> wrote: > On Mon, Jan 21, 2008 at 02:16:13PM +0200, Anton Andrievskij wrote: > > > Buy the way, how can I output text with quotes using tal:content? If > always > > replaces quotes by htmlentities, but s

Re: [PHPTAL] Using PHPTAL with index.php?page=... thing

2008-01-21 Thread Christoph Frick
On Mon, Jan 21, 2008 at 02:16:13PM +0200, Anton Andrievskij wrote: > Buy the way, how can I output text with quotes using tal:content? If always > replaces quotes by htmlentities, but sometimes I do not want quotes to be > replaced. i assume your problem arent quotes but some "html" you generate

Re: [PHPTAL] Using PHPTAL with index.php?page=... thing

2008-01-21 Thread Anton Andrievskij
Buy the way, how can I output text with quotes using tal:content? If always replaces quotes by htmlentities, but sometimes I do not want quotes to be replaced. Thanks, Anton Andriyevskyy On Jan 21, 2008 1:41 PM, Anton Andrievskij <[EMAIL PROTECTED]> wrote: > Thanks, I'll read. > > Anton > > > O

Re: [PHPTAL] Using PHPTAL with index.php?page=... thing

2008-01-21 Thread Anton Andrievskij
Thanks, I'll read. Anton On Jan 21, 2008 1:39 PM, Levi Stanley <[EMAIL PROTECTED]> wrote: > I ithink you might be looking for something like this: > > http://www.phpmvc.net/docs/guides/guidesIdx.php?doc=adv-pg-layout-tal > > > On Jan 21, 2008 6:32 AM, Anton Andrievskij <[EMAIL PROTECTED]> wrote:

Re: [PHPTAL] Using PHPTAL with index.php?page=... thing

2008-01-21 Thread Levi Stanley
I ithink you might be looking for something like this: http://www.phpmvc.net/docs/guides/guidesIdx.php?doc=adv-pg-layout-tal On Jan 21, 2008 6:32 AM, Anton Andrievskij <[EMAIL PROTECTED]> wrote: > Ok, you told the same thing but in shortest and more simple words. Thanks > you. > > >>PHPTAL works

Re: [PHPTAL] Using PHPTAL with index.php?page=... thing

2008-01-21 Thread Anton Andrievskij
OFFTOP: Buy the way, can anybody reccomend me somebody very close and professional to security things? I'm going to open big site and I want high-security in both my site and my server. Any links may help. Thanks. Anton On Jan 21, 2008 1:32 PM, Anton Andrievskij <[EMAIL PROTECTED]> wrote: > Ok,

Re: [PHPTAL] Using PHPTAL with index.php?page=... thing

2008-01-21 Thread Anton Andrievskij
Ok, you told the same thing but in shortest and more simple words. Thanks you. >>PHPTAL works best if you design your application using MVC pattern Where can I read professional comments and how it works? Thanks, Anton On Jan 21, 2008 1:30 PM, Anton Andrievskij <[EMAIL PROTECTED]> wrote: > Ok,

Re: [PHPTAL] Using PHPTAL with index.php?page=... thing

2008-01-21 Thread Anton Andrievskij
Ok, I found some idea about how to solve my problem. The method is very easy and applicable to use both PHPTAL and PHP CMS engine technology described in my first letter (which is question). The idea is to have only one index.html template with the site layout, and then to have different login.htm

Re: [PHPTAL] Using PHPTAL with index.php?page=... thing

2008-01-21 Thread Kornel Lesinski
On Mon, 21 Jan 2008 09:12:48 -, Anton Andrievskij <[EMAIL PROTECTED]> wrote: I write this letter to ask about what the best idea about how to use the PHPTAL engine with the standard PHP site engine technology like this: www.mysite.com/index.php?page=login www.mysite.com/index.php?page=faq

Re: [PHPTAL] JavaScript arrays using PHPTAL

2008-01-21 Thread Anton Andrievskij
Ok, so the idea is to build data in the PHP, then simply past it to the using tal:content. Thanks. On Jan 21, 2008 1:08 PM, Christoph Frick <[EMAIL PROTECTED]> wrote: > On Mon, Jan 21, 2008 at 12:43:21PM +0200, Anton Andrievskij wrote: > > > I have to fill JavaScript array using PHPTAL attribute

Re: [PHPTAL] JavaScript arrays using PHPTAL

2008-01-21 Thread Christoph Frick
On Mon, Jan 21, 2008 at 12:43:21PM +0200, Anton Andrievskij wrote: > I have to fill JavaScript array using PHPTAL attributes. > > Whether I can use some inside > construction? > > Example: > > >items = array( > >

Re: [PHPTAL] Using PHPTAL with index.php?page=... thing

2008-01-21 Thread Levi Stanley
Actually, phptal should only be used for the presentation of the data. > > your controller and models, should do most of the work you want. > > Here is a snippet of my index.php aka navigation controller: > > *... > *if (isset($__xml_attributes['redirect'])){ > print header(

Re: [PHPTAL] JavaScript arrays using PHPTAL

2008-01-21 Thread Kornel Lesinski
On Mon, 21 Jan 2008 10:43:21 -, Anton Andrievskij <[EMAIL PROTECTED]> wrote: I have to fill JavaScript array using PHPTAL attributes. Whether I can use some inside construction? I'm afraid that might be difficult with pure PHPTAL. To avoid compatibility problems with non-XHTML brows

Re: [PHPTAL] JavaScript arrays using PHPTAL

2008-01-21 Thread Levi Stanley
You can do something like this: Best regards, Levi On Jan 21, 2008 5:43 AM, Anton Andrievskij <[EMAIL PROTECTED]> wrote: > Hi. > > I have to fill JavaScript array using PHPTAL attributes. > > Whether I can use some inside > construction? > > Example: > > >items = array( >

[PHPTAL] JavaScript arrays using PHPTAL

2008-01-21 Thread Anton Andrievskij
Hi. I have to fill JavaScript array using PHPTAL attributes. Whether I can use some inside construction? Example: items = array( ) If I can't do

Re: [PHPTAL] Using PHPTAL with index.php?page=... thing

2008-01-21 Thread Anton Andrievskij
Thanks you; I got your idea, but it seems that I can't execute PHP scripts from templates using PHPTAL (?) Anton On Jan 21, 2008 12:13 PM, Levi Stanley <[EMAIL PROTECTED]> wrote: > Sorry, forgot to change the email, I was sending this from. > > Read below: > > -- Forwarded message --

Fwd: [PHPTAL] Using PHPTAL with index.php?page=... thing

2008-01-21 Thread Levi Stanley
Sorry, forgot to change the email, I was sending this from. Read below: -- Forwarded message -- Date: Jan 21, 2008 5:08 AM Subject: Re: [PHPTAL] Using PHPTAL with index.php?page=... thing To: Template Attribute Language for PHP Hmm, kind of sounds like the system I built. I ha

[PHPTAL] Using PHPTAL with index.php?page=... thing

2008-01-21 Thread Anton Andrievskij
Hi, PHPTAL users. (Sorry for my bad English as I'm from Ukraine) I write this letter to ask about what the best idea about how to use the PHPTAL engine with the standard PHP site engine technology like this: www.mysite.com/index.php?page=login www.mysite.com/index.php?page=faq www.mysite.com/ind