<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:clearspace="http://www.jivesoftware.com/xmlns/clearspace/rss" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>nadav.nuri</title>
    <link>http://scn.sap.com/people/nadav.nuri/blog</link>
    <description />
    <pubDate>Tue, 01 May 2012 14:30:34 GMT</pubDate>
    <generator>Jive SBS 5.0.1.1  (http://jivesoftware.com/products/clearspace/)</generator>
    <dc:date>2012-05-01T14:30:34Z</dc:date>
    <item>
      <title>Theme Class Locator</title>
      <link>http://scn.sap.com/people/nadav.nuri/blog/2010/04/03/theme-class-locator</link>
      <description>&lt;!-- [DocumentBodyStart:a11f6e7a-680b-40cb-85a5-04f26009ab44] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;&lt;span style="font-size: 14pt;"&gt;&lt;strong&gt;Theme Class Locator&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Intro &lt;/strong&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;Say one wants to change the appearance (Look &amp;amp; Feel) of some elements in the portal,&lt;/p&gt;&lt;p&gt;he should enter the &amp;ldquo;Theme Editor&amp;#8221; and change the entries representing these elements, however,&lt;/p&gt;&lt;p&gt;knowing which entry in the theme editor represents which element is not so trivial&amp;#8230;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;This support tool was developed in order to ease up the process of finding the correct entry to&lt;/p&gt;&lt;p&gt;change in the theme editor for a provided element.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Prerequisites&lt;/strong&gt; &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;Portal Versions:&lt;/p&gt;&lt;p&gt;SAP NetWeaver 7.00 SP22 and above.&lt;/p&gt;&lt;p&gt;SAP NetWeaver 7.01 SP7 and above.&lt;/p&gt;&lt;p&gt;SAP NetWeaver 7.02 SP5 and above.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;For Internet explorer browser:&lt;/p&gt;&lt;p&gt;IE Developer Toolbar - can be downloaded from Microsoft official site.&lt;/p&gt;&lt;p&gt;For Mozilla Firefox browser:&lt;/p&gt;&lt;p&gt;Firebug &amp;ndash; can be downloaded from Add-ons for Firefox site.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;How to use&lt;/strong&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;First of all, one should find out the class name of the element he wishes to change.&lt;/p&gt;&lt;p&gt;That could be done by opening the IE Developer Toolbar / Firebug and selecting the&lt;br/&gt;element to change, as can be seen in the following screenshot (e.g. IE Developer Toolbar)&lt;/p&gt;&lt;p&gt;&lt;a href="http://scn.sap.com/servlet/JiveServlet/showImage/38-52649-97672/1.png"&gt;&lt;img alt="1.png" class="jive-image" height="379" src="http://scn.sap.com/servlet/JiveServlet/downloadImage/38-52649-97672/547-379/1.png" width="547"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;After retrieving the desired class name of the element, the support tool should be opened.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;To display the support tool, one should enter the portal and switch the URL to &lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="http://%3chost%3e%3cport%3e"&gt;http://&amp;lt;host&amp;gt;:&amp;lt;port&amp;gt;/irj/servlet/prt/portal/prtroot/com.sap.portal.themes.classthemelocator.SupportThemeEntries&lt;/a&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;Now the class name that was retrieved in the previous step should be filled as the parameter.&lt;/p&gt;&lt;p&gt;The dropdown list displays all the custom themes. It is possible to choose a theme from &lt;/p&gt;&lt;p&gt;the list in order to generate a link to the specific section of a specific theme; however, that field is not mandatory.&lt;/p&gt;&lt;p&gt;&lt;a href="http://scn.sap.com/servlet/JiveServlet/showImage/38-52649-97682/2.png"&gt;&lt;img alt="2.png" class="jive-image" height="252" src="http://scn.sap.com/servlet/JiveServlet/downloadImage/38-52649-97682/535-252/2.png" width="535"/&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;After clicking the &amp;ldquo;Execute&amp;ldquo; button, the tool will display the location of the entry that represents that item in the &amp;ldquo;Theme Editor &amp;ldquo;.&lt;/p&gt;&lt;p&gt;It will also generate a link for that entry if a theme has been selected.&lt;/p&gt;&lt;p&gt;&lt;a href="http://scn.sap.com/servlet/JiveServlet/showImage/38-52649-97683/3.png"&gt;&lt;img alt="3.png" class="jive-image" height="270" src="http://scn.sap.com/servlet/JiveServlet/downloadImage/38-52649-97683/527-270/3.png" width="527"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;When clicking the link, the &amp;ldquo;Theme Editor&amp;#8221; will be opened for the chosen theme on the specific Group and page. &lt;/p&gt;&lt;p&gt;&lt;a href="http://scn.sap.com/servlet/JiveServlet/showImage/38-52649-97684/4.png"&gt;&lt;img alt="4.png" class="jive-image" height="322" src="http://scn.sap.com/servlet/JiveServlet/downloadImage/38-52649-97684/527-322/4.png" width="527"/&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;Now the Entry should be searched in the &amp;ldquo;styles&amp;#8221; section by scrolling down that page.&lt;/p&gt;&lt;p&gt; &lt;a href="http://scn.sap.com/servlet/JiveServlet/showImage/38-52649-97685/5.png"&gt;&lt;img alt="5.png" class="jive-image" height="323" src="http://scn.sap.com/servlet/JiveServlet/downloadImage/38-52649-97685/527-323/5.png" width="527"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;The only thing left is changing the relevant fields of the element and saving the theme.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;Hope that helps !&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;Best Regards,&lt;/p&gt;&lt;p&gt;Nadav.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:a11f6e7a-680b-40cb-85a5-04f26009ab44] --&gt;</description>
      <category domain="http://scn.sap.com/people/nadav.nuri/blog/tags">css</category>
      <category domain="http://scn.sap.com/people/nadav.nuri/blog/tags">editor</category>
      <category domain="http://scn.sap.com/people/nadav.nuri/blog/tags">theme</category>
      <category domain="http://scn.sap.com/people/nadav.nuri/blog/tags">style</category>
      <category domain="http://scn.sap.com/people/nadav.nuri/blog/tags">tol</category>
      <pubDate>Sat, 03 Apr 2010 20:15:10 GMT</pubDate>
      <guid>http://scn.sap.com/people/nadav.nuri/blog/2010/04/03/theme-class-locator</guid>
      <dc:creator>Nadav Nuri</dc:creator>
      <dc:date>2010-04-03T20:15:10Z</dc:date>
      <clearspace:dateToText>1 year, 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>12</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
      <wfw:comment>http://scn.sap.com/people/nadav.nuri/blog/comment/theme-class-locator</wfw:comment>
      <wfw:commentRss>http://scn.sap.com/people/nadav.nuri/blog/feeds/comments?blogPost=52649</wfw:commentRss>
    </item>
  </channel>
</rss>

