<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: customize template sasweb in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/customize-template-sasweb/m-p/2264#M759</link>
    <description>Cynthia, this is very helpful. Thanks much.</description>
    <pubDate>Thu, 08 Feb 2007 20:52:21 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2007-02-08T20:52:21Z</dc:date>
    <item>
      <title>customize template sasweb</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/customize-template-sasweb/m-p/2260#M755</link>
      <description>Anyone knows how to create a new template based on sasweb? I want following be changed:&lt;BR /&gt;
&lt;BR /&gt;
1)bordercolor=black, borderwidth=1;&lt;BR /&gt;
2)change the indentation of table of contents, the default is too big.&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance.Grace</description>
      <pubDate>Wed, 07 Feb 2007 14:31:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/customize-template-sasweb/m-p/2260#M755</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-02-07T14:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: customize template sasweb</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/customize-template-sasweb/m-p/2261#M756</link>
      <description>Grace:&lt;BR /&gt;
  This example from Tech Support shows how to make a similar change (they are changing the left margin):&lt;BR /&gt;
&lt;A href="http://support.sas.com/faq/033/FAQ03306.html" target="_blank"&gt;http://support.sas.com/faq/033/FAQ03306.html&lt;/A&gt;&lt;BR /&gt;
  &lt;BR /&gt;
   In addition, this example from Tech Support shows how to make the borderwidth=7 -- &lt;BR /&gt;
&lt;A href="http://support.sas.com/faq/033/FAQ03304.html" target="_blank"&gt;http://support.sas.com/faq/033/FAQ03304.html&lt;/A&gt;&lt;BR /&gt;
you would follow this example with 3 changes for the bordercolor (plus your changes for the TOC):&lt;BR /&gt;
1) make the parent styles.sasweb&lt;BR /&gt;
2) make borderwidth=1&lt;BR /&gt;
3) add bordercolor=black&lt;BR /&gt;
&lt;BR /&gt;
  If you're sensing a theme here, you're right. Tech Support has the most WONDERFUL FAQ for ODS and templates. My only other suggestion is that you use an explicit path statement to store your templates (first lines of code) as shown below.  &lt;BR /&gt;
   &lt;BR /&gt;
  If you are doing this with EG, though, you may need help from Tech Support to figure out the best place to store the permanent copy of the template or to modify the ODS PATH statement for your system (since EG sometimes uses an EGTEMP libref for templates...or it used to).&lt;BR /&gt;
  &lt;BR /&gt;
  Another alternative is to explore the possibilities of making all your changes in a CSS file. Tech Support would have to help you here or somebody else would have to chime in, because I don't honestly know for sure if you would need to make the FAQ tagset change for the contents indent changes if you were going the CSS route in EG.&lt;BR /&gt;
&lt;BR /&gt;
  Good luck!&lt;BR /&gt;
&lt;BR /&gt;
cynthia&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
ods path perm.newtemp(update)&lt;BR /&gt;
         sashelp.tmplmst(read);&lt;BR /&gt;
** may need to put EG template store in above statement;&lt;BR /&gt;
    &lt;BR /&gt;
** use FAQ code to change tagset HTML4, and call it;&lt;BR /&gt;
** tagsets.leftjusttoc and then ;&lt;BR /&gt;
&lt;BR /&gt;
  proc template;&lt;BR /&gt;
    define style styles.test;&lt;BR /&gt;
    parent=styles.sasweb;&lt;BR /&gt;
      style contentfolder from contentfolder /&lt;BR /&gt;
            leftmargin=0;&lt;BR /&gt;
      style contents from contents /&lt;BR /&gt;
            leftmargin=0;&lt;BR /&gt;
      style contentitem from contentitem /&lt;BR /&gt;
            leftmargin=3;&lt;BR /&gt;
      style contentprocname from contentprocname /&lt;BR /&gt;
            bullet=none&lt;BR /&gt;
            leftmargin=0;&lt;BR /&gt;
      style bycontentfolder from bycontentfolder;&lt;BR /&gt;
            leftmargin=0;&lt;BR /&gt;
       style Table from output /&lt;BR /&gt;
             Borderwidth=1&lt;BR /&gt;
             bordercolor=black ;&lt;BR /&gt;
     end;&lt;BR /&gt;
   run;&lt;BR /&gt;
      &lt;BR /&gt;
&lt;BR /&gt;
  ods tagsets.leftjusttoc path="C:\temp"(url=none)    &lt;BR /&gt;
      file="New_bod.html"&lt;BR /&gt;
      contents="New_TOC.html" &lt;BR /&gt;
      style=styles.test ;&lt;BR /&gt;
   &lt;BR /&gt;
proc whatever data=whatever;&lt;BR /&gt;
run;&lt;BR /&gt;
ods tagsets.leftjusttoc close;&lt;BR /&gt;
[/pre]</description>
      <pubDate>Wed, 07 Feb 2007 16:38:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/customize-template-sasweb/m-p/2261#M756</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-02-07T16:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: customize template sasweb</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/customize-template-sasweb/m-p/2262#M757</link>
      <description>Cynthia, this is wonderful. I get the margin partially worked. But the border still doesn't come out. I define frame=box, only that come out. &lt;BR /&gt;
&lt;BR /&gt;
Where can I find all these references? Like which item define what?&lt;BR /&gt;
&lt;BR /&gt;
Thanks much. You're always the best.</description>
      <pubDate>Wed, 07 Feb 2007 19:44:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/customize-template-sasweb/m-p/2262#M757</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-02-07T19:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: customize template sasweb</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/customize-template-sasweb/m-p/2263#M758</link>
      <description>Grace:&lt;BR /&gt;
  Thanks. It's hard to diagnose in the forum because borderwidth has some interaction with the some of the other table attributes (like frame=) attribute. If you go to the SAS documentation and search for the string "Style Elements and Their Inheritances", you will find a useful table that talks about style elements and, if inheritance is involved, what element in the parent element. This table also lists the destinations in which a particular element is "respected" or supported. I LOVE the ODS documentation that's included with SAS 9.1.3 -- sometimes it may seem like a little hard to find, but I always follow this click path:&lt;BR /&gt;
Inside SAS&lt;BR /&gt;
Help --&amp;gt; SAS Help and Documentation&lt;BR /&gt;
click on Contents tab&lt;BR /&gt;
Expand SAS Products topic&lt;BR /&gt;
Expand Base SAS topic&lt;BR /&gt;
Expand Output Delivery System (ODS) topic&lt;BR /&gt;
Expand The Template Procedure topic &lt;BR /&gt;
Start Reading! (start with STYLES first)&lt;BR /&gt;
&lt;BR /&gt;
   &lt;BR /&gt;
   But, the best thing for you do do is to contact Tech Support, where all the wonderful ODS folks can take a look at your WHOLE job (which is probably getting pretty lengthy by now) and help you tweak the attributes until it looks exactly the way you want it to look. To find out how to contact them, refer to:&lt;BR /&gt;
&lt;A href="http://support.sas.com/techsup/contact/index.html" target="_blank"&gt;http://support.sas.com/techsup/contact/index.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Good luck!&lt;BR /&gt;
cynthia</description>
      <pubDate>Wed, 07 Feb 2007 23:46:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/customize-template-sasweb/m-p/2263#M758</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-02-07T23:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: customize template sasweb</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/customize-template-sasweb/m-p/2264#M759</link>
      <description>Cynthia, this is very helpful. Thanks much.</description>
      <pubDate>Thu, 08 Feb 2007 20:52:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/customize-template-sasweb/m-p/2264#M759</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-02-08T20:52:21Z</dc:date>
    </item>
  </channel>
</rss>

