<font face="verdana,sans-serif">Thanks Carl &amp; Michael.<br></font><br><div class="gmail_quote">On Mon, Apr 18, 2011 at 10:26 PM, Michael Favia <span dir="ltr">&lt;<a href="mailto:michael.favia@gmail.com">michael.favia@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

  
    
  
  <div bgcolor="#ffffff" text="#000000"><div class="im">
    On 04/18/2011 11:47 AM, Deva wrote:
    <blockquote type="cite"><font face="verdana,sans-serif">One more question.<br>
        How to identify in &quot;preprocess_page&quot; function, if the current
        loading page is &quot;Taxonomy Term&quot; page.</font><br>
    </blockquote></div>
    Assuming you actually want to theme and change the page.tpl.php or
    add a template suggestion at that level and not at the lower
    preprocess_taxonomy_term() level then you would do so the same way
    that anyother path is checked. L<br>
    <br>
    ook in the hook_menu for taxonomy and youll find a section there the
    &quot;real drupal path&quot; is defined. Then use the arg() function test for
    that path in your preprocess function.<br>
    <br>
    Alternatively you can add your suggestion ANY time you find this to
    be true:<br>
    <br>
    in_array(&#39;page__taxonomy&#39;, $variables[&#39;theme_hook_suggestions&#39;]);<br>
    <br>
    Please use dpm() and the devel module or a debugger to get more
    information.<br>
    <pre cols="72">-- 
Michael Favia                   <a href="mailto:michael@favish.com" target="_blank">michael@favish.com</a>
tel. 512.669.5650            <a href="http://www.favish.com" target="_blank">http://www.favish.com</a>
</pre>
  </div>

</blockquote></div><br><br clear="all"><br>-- <br>:DJ<br><br><br>