Re: [Zope] How-to Bypass DTML Code?

2000-06-28 Thread Stuart Bishop

On Mon, 26 Jun 2000, Nestor A. Diaz L. wrote:

> Hi, anyone know how to bypass the dtml-code, that's because i'm writing a
> howto with showing the use of some "dtml-tags" so it tries to interpreting
> it rather than only showing them.

Here is some raw code that will be quoted for you by Zope

'''" html_quote>


-- 
Stuart Bishop  Work: [EMAIL PROTECTED]
Senior Systems Alchemist   Play: [EMAIL PROTECTED]
Computer Science, RMIT University


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] How-to Bypass DTML Code?

2000-06-26 Thread Andrew Kenneth Milton

+[ Nestor A. Diaz L. ]-
| Hi, anyone know how to bypass the dtml-code, that's because i'm writing a
| howto with showing the use of some "dtml-tags" so it tries to interpreting
| it rather than only showing them.
| 

It's easy:-

Make a method called 

printCode which contains one line:



Then to display a method or a document:-



Will print your standard_html_header, you will probably want



The advantage of this, is that you can use actual methods (if you're doing
a tutorial). So when you change the method, your documentation updates itself.

If you just want to pass strings into printCode, you can do that too.




-- 
Totally Holistic Enterprises Internet|  P:+61 7 3870 0066   | Andrew Milton
The Internet (Aust) Pty Ltd  |  F:+61 7 3870 4477   | 
ACN: 082 081 472 |  M:+61 416 022 411   | Carpe Daemon
PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| 

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] How-to Bypass DTML Code?

2000-06-26 Thread Hannu Krosing

"Nestor A. Diaz L." wrote:
> 
> Hi, anyone know how to bypass the dtml-code, that's because i'm writing a
> howto with showing the use of some "dtml-tags" so it tries to interpreting
> it rather than only showing them.


try this





---
Hannu

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] How-to Bypass DTML Code?

2000-06-26 Thread Dan Rusch

I think the correct syntax is (at least for my my install of zope):

  <-- this renders

not :

>dtml-var foo<  <-- where as this renders   >dtml-var foo<

Dan


Chris McDonough wrote:

> Use
>
> >dtml-var foo<
>
> instead of
>
> 
>
> > -Original Message-
> > From: Nestor A. Diaz L. [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, June 26, 2000 1:48 PM
> > Cc: '[EMAIL PROTECTED]'
> > Subject: [Zope] How-to Bypass DTML Code?
> >
> >
> > Hi, anyone know how to bypass the dtml-code, that's because
> > i'm writing a
> > howto with showing the use of some "dtml-tags" so it tries to
> > interpreting
> > it rather than only showing them.
> >
> > Thank you,
> >
> > Nestor A. Diaz L.
> > [EMAIL PROTECTED]
> > PGP Public Key  `wget http://www.tiendalinux.com/pgp/nestor.pgp`
> >
> > 
> > Visita  http://www.tiendalinux.com  la tienda virtual de
> >   Productos y Servicios para los usuarios de Linux en Colombia
> >  * Aprobado Credibanco VISA **
> >
> >
> > ___
> > Zope maillist  -  [EMAIL PROTECTED]
> > http://lists.zope.org/mailman/listinfo/zope
> > **   No cross posts or HTML encoding!  **
> > (Related lists -
> >  http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope-dev )
> >
>
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




RE: [Zope] How-to Bypass DTML Code?

2000-06-26 Thread Chris McDonough

Use

>dtml-var foo<

instead of




> -Original Message-
> From: Nestor A. Diaz L. [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 26, 2000 1:48 PM
> Cc: '[EMAIL PROTECTED]'
> Subject: [Zope] How-to Bypass DTML Code?
> 
> 
> Hi, anyone know how to bypass the dtml-code, that's because 
> i'm writing a
> howto with showing the use of some "dtml-tags" so it tries to 
> interpreting
> it rather than only showing them.
> 
> Thank you,
> 
> Nestor A. Diaz L.
> [EMAIL PROTECTED]
> PGP Public Key  `wget http://www.tiendalinux.com/pgp/nestor.pgp`
> 
> 
> Visita  http://www.tiendalinux.com  la tienda virtual de 
>   Productos y Servicios para los usuarios de Linux en Colombia
>  * Aprobado Credibanco VISA **
> 
> 
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
> 

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )