faqts : Computers : Internet : Web Servers : Zope : Common Problems

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

6 of 7 people (86%) answered Yes
Recently 5 of 6 people (83%) answered Yes

Entry

How is it possible to create "show DTML-Source"-link like on some sites on zope.org?

Jul 29th, 2000 21:56
unknown unknown, Chris Withers


Put a link as follows on your page:
<a href="view_source">show DTML-Source</a>
Then create a dtml method called view_source.
What do you put in it? Well, see the following:
http://www.zope.org/view_source/view_source