Create a hook in your template.php file:<div><br>&nbsp;</div><div>function _phptemplate_variables($hook, $vars) {</div><div>&nbsp;&nbsp;$path = $vars[&#39;node&#39;]-&gt;path;</div><div>&nbsp;&nbsp;switch($hook) {</div>
<div>&nbsp;&nbsp; &nbsp; case &#39;page&#39;:</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if($path = &#39;/one/of/your/paths&#39;) {</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$vars[&#39;template_file&#39;] = &#39;page-difffile&#39;;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }&nbsp;</div><div>&nbsp;&nbsp;}</div>
<div>&nbsp;&nbsp;return $vars;</div><div>}</div><div><br class="webkit-block-placeholder"></div><div>This will specify a page template (&#39;page-diffile.tpl.php&#39;) for a specific path. &nbsp;You can use any number of operators in the &#39;if&#39; statement to test for various levels of truth (
i.e. use a strstr to see if the path contains a substring, and return a template for all paths below that.)</div><div><br class="webkit-block-placeholder"></div><div>-Andrew<br>
<br><div><span class="gmail_quote">On 10/16/07, <b class="gmail_sendername">Larry Garfield</b> &lt;<a href="mailto:larry@garfieldtech.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">larry@garfieldtech.com
</a>&gt; wrote:</span><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>Hi folks.&nbsp;&nbsp;I&#39;m trying to figure out the cleanest way to set this up.<br><br>I have a site that is actually kinda sorta 2 sites.&nbsp;&nbsp;It doesn&#39;t make sense to make it a multi-site, really, but it needs to give the impression of multiple sites, visually.
<br><br>For the most part that&#39;s easy; just base the template file off of the path for the sub-site.&nbsp;&nbsp;(/ and /journal in my case).&nbsp;&nbsp;However, the client wants news items (news nodes) to appear on both &quot;sites&quot;, with each one having its own visual appearance.&nbsp;&nbsp;That is, at /news/$nid it uses the main site template, while at /journal/news/$nid it uses the sub-site&#39;s template.
<br><br>Is there a good way to do that?<br><br>So far my best guess is to use something like Panels 2 to create a panel at each location that has only one pane, which is the node specified by an argument.&nbsp;&nbsp;Of course, I haven&#39;t actually worked with Panels 2 yet, just seen Earl&#39;s demos, so I&#39;m not sure if that&#39;s actually a reasonable plan.&nbsp;&nbsp;Is there some better way?
<br><br>(This site will be built on Drupal 6; it&#39;s just in planning stages now, so I want to figure out what I&#39;ll be doing in 3 months to build it. &lt;g&gt;)<br><br>--Larry Garfield<br><br>--<br>[ Drupal support list | 
<a href="http://lists.drupal.org/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.drupal.org/</a> ]<br></blockquote></div><br>&nbsp;</div>