<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word"><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content=Word.Document name=ProgId>
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<META content="Microsoft Word 10" name=Originator><LINK 
href="cid:filelist.xml@01C431CE.650532C0" rel=File-List><!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]-->
<STYLE>@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; mso-header-margin: .5in; mso-footer-margin: .5in; mso-paper-source: 0; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
P.MsoAutoSig {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"
}
LI.MsoAutoSig {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"
}
DIV.MsoAutoSig {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"
}
SPAN.EmailStyle17 {
        COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose; mso-style-noshow: yes; mso-ansi-font-size: 10.0pt; mso-bidi-font-size: 10.0pt; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial; mso-bidi-font-family: Arial
}
SPAN.SpellE {
        mso-style-name: ""; mso-spl-e: yes
}
SPAN.GramE {
        mso-style-name: ""; mso-gram-e: yes
}
DIV.Section1 {
        page: Section1
}
</STYLE>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */ 
 table.MsoNormalTable
        {mso-style-name:"Table Normal";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0in 5.4pt 0in 5.4pt;
        mso-para-margin:0in;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";}
</style>
<![endif]--></HEAD>
<BODY lang=EN-US style="tab-interval: .5in" vLink=purple link=blue>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=045125018-04052004><FONT face=Arial color=#0000ff size=2>Just 
figured out how to get dtml methods to look like plone.</FONT></SPAN></DIV>
<DIV><SPAN class=045125018-04052004><FONT face=Arial color=#0000ff size=2>In a 
page template you can call your dtml method like this:</FONT></SPAN></DIV>
<DIV><SPAN class=045125018-04052004><FONT face=Arial>&lt;div 
tal:content="structure 
here/your_dtml_method_here"&gt;&lt;/div&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=045125018-04052004><FONT face=Arial></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=045125018-04052004><FONT face=Arial>and as long as you have 
this at the top of your page template you will get what you 
need:</FONT></SPAN></DIV>
<DIV><SPAN class=045125018-04052004><FONT face=Arial color=#0000ff 
size=2>&lt;html metal:use-macro="here/main_template/macros/master" 
i18n:domain="upp"&gt;<BR>&lt;div metal:fill-slot="main"&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=045125018-04052004><FONT face=Arial color=#0000ff 
size=2>.</FONT></SPAN></DIV>
<DIV><SPAN class=045125018-04052004><FONT face=Arial color=#0000ff 
size=2>.</FONT></SPAN></DIV>
<DIV><SPAN class=045125018-04052004><FONT face=Arial color=#0000ff 
size=2>.</FONT></SPAN></DIV>
<DIV><SPAN class=045125018-04052004><FONT face=Arial color=#0000ff 
size=2>&lt;/div&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=045125018-04052004><FONT face=Arial color=#0000ff 
size=2>&lt;/html&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=045125018-04052004><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=045125018-04052004><FONT face=Arial color=#0000ff size=2>Let me 
know if you get it working,</FONT></SPAN></DIV>
<DIV><SPAN class=045125018-04052004><FONT face=Arial color=#0000ff 
size=2>&nbsp;Laura</DIV>
<DIV><BR></DIV></FONT></SPAN>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> 
  zope-bounces@zope.org [mailto:zope-bounces@zope.org] <B>On Behalf Of </B>Shane 
  McCombs<BR><B>Sent:</B> Tuesday, May 04, 2004 11:53 AM<BR><B>To:</B> 
  zope@zope.org<BR><B>Subject:</B> [Zope] (no subject)<BR><BR></FONT></DIV>
  <DIV class=Section1>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hi 
All<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">My name is Shane. I am Completely 
  New to <SPAN class=SpellE>Zope</SPAN> and <SPAN class=SpellE>Plone</SPAN> 
  (Sorry). <o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I have my <SPAN 
  class=SpellE>Plone</SPAN> Site Up and minor Customization <SPAN 
  class=GramE>complete,</SPAN> at this point I am wanting to Create a <SPAN 
  class=SpellE>Plone</SPAN> Document that <o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><SPAN class=GramE><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Returns the result of a SQL 
  Query.</SPAN></FONT></SPAN><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> I <SPAN class=GramE>Simply</SPAN> 
  can&#8217;t figure out how to make this work, I feel like I must be missing the 
  Obvious.<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I have a working Z SQL Method that 
  returns as simple Query. &gt;From the ZMI the Test tab looks exactly as I 
  would <SPAN class=GramE>Expect</SPAN>, but how to translate into 
  PLONE?<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I have 2 full days invested of 
  trying to figure this out. I have found many How-to s but just <SPAN 
  class=GramE>cant</SPAN> get them to work for me.<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">The Z <SPAN 
  class=SpellE>Sql</SPAN> Method is located at /<SPAN 
  class=SpellE>Plone/testodbc/testsqlmethod</SPAN><o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">The Page Template is at /<SPAN 
  class=SpellE>Plone/testodbc/allpcs</SPAN><o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I have been programming in various 
  <SPAN class=SpellE>lang</SPAN>/scripts for 8 years&#8230; it is frustrating being a 
  Newbie again&#8230; Any Help / Direction or Ideas would be 
  wonderful.<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thank you in advance - 
  Shane<o:p></o:p></SPAN></FONT></P>
  <P class=MsoAutoSig><FONT face="Times New Roman" size=3><SPAN 
  style="FONT-SIZE: 12pt; mso-no-proof: yes">Shane 
  McCombs<o:p></o:p></SPAN></FONT></P>
  <P class=MsoAutoSig><FONT face="Times New Roman" size=3><SPAN 
  style="FONT-SIZE: 12pt; mso-no-proof: yes">Innovation 
  Developer<o:p></o:p></SPAN></FONT></P>
  <P class=MsoAutoSig><FONT face="Times New Roman" size=3><SPAN 
  style="FONT-SIZE: 12pt; mso-no-proof: yes">Raymond Building Supply 
  Corp.<o:p></o:p></SPAN></FONT></P>
  <P class=MsoAutoSig><FONT face="Times New Roman" size=3><SPAN 
  style="FONT-SIZE: 12pt; mso-no-proof: yes">239.478.6284<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=MsoAutoSig><FONT face="Times New Roman" size=3><SPAN 
  style="FONT-SIZE: 12pt"><o:p>&nbsp;</o:p></SPAN></FONT></P></DIV></BLOCKQUOTE></BODY></HTML>