What is "thefield2" ?<br><br>If it is a node type, the node template would be node-thefield2.tpl.php.<br><br>If you want to make a page template based on url, see <a href="http://drupal.org/node/139766">http://drupal.org/node/139766</a><br>
<br>Depending on what you want to do, you might have to create support for a custom template with a php callback function; see excellent tutorial at <a href="http://www.chapterthree.com/blog/zirafa/different_node_templates_node_variables_nid_type_view">http://www.chapterthree.com/blog/zirafa/different_node_templates_node_variables_nid_type_view</a><br>
<br>Victor<br><br><div class="gmail_quote">On Sat, Jun 14, 2008 at 2:20 PM, Big Brother <<a href="mailto:ignorance.is.strength@gmail.com">ignorance.is.strength@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks Victor!<br>
<br>
I ended up doing what you suggested. I disabled the elements of the<br>
right sidebar that I didn't need for the new subsite. It seemed to<br>
have worked!<br>
<br>
I have another problem now. I am using the PHPtemplate method,<br>
provided by Matt above, but it doesn't seem to work for the nodes<br>
contained within "thefield2/"<br>
<br>
Here's what the design should look like:<br>
<div class="Ih2E3d"><br>
<a href="http://narcosphere.narconews.com/thefield2/" target="_blank">http://narcosphere.narconews.com/thefield2/</a><br>
<br>
</div>but look what happens when I do this:<br>
<br>
<a href="http://narcosphere.narconews.com/thefield2/test-4" target="_blank">http://narcosphere.narconews.com/thefield2/test-4</a><br>
<br>
The PHPtemplate engine should look for page-thefield2-test-4.tpl.php,<br>
then page-thefield2-test.tpl.php, then page-thefield2.tpl.php (which I<br>
have in the template folder I am using.<br>
<br>
Why isn't it picking up the right template file?<br>
<br>
Thanks!<br>
<div><div></div><div class="Wj3C7c"><br>
On Sat, Jun 14, 2008 at 4:22 AM, Victor Kane <<a href="mailto:victorkane@gmail.com">victorkane@gmail.com</a>> wrote:<br>
> For the right sidebar, you can configure certain blocks to only appear / not<br>
> appear on certain paths, for certain roles, etc., by clicking on the<br>
> configuration link.<br>
><br>
> Another approach would be to take a look at Panels 2 (there is good<br>
> documentation on the Drupal site), which is a whole other way of solving<br>
> your problem (making a different page content type, and then a node/% panel<br>
> can be set to have a different layout on a content type basis.<br>
><br>
> Victor Kane<br>
> <a href="http://awebfactory.com.ar" target="_blank">http://awebfactory.com.ar</a><br>
><br>
> On Sat, Jun 14, 2008 at 2:21 AM, Big Brother<br>
> <<a href="mailto:ignorance.is.strength@gmail.com">ignorance.is.strength@gmail.com</a>> wrote:<br>
>><br>
>> Hi Matt,<br>
>><br>
>> Thanks for the suggestion. I fooled around with it for a bit today and<br>
>> got some decent results. However, the problem I ran into is that I<br>
>> need to change the right sidebar as well, and I can't figure out to do<br>
>> that with your suggestion.<br>
>><br>
>> Above, the suggestion by Brett seemed like it would solve this, but<br>
>> when I applied his solution the CSS of the new subtheme I made<br>
>> broke... sorta. Now:<br>
>><br>
>> <a href="http://narcosphere.narconews.com/thefield2/" target="_blank">http://narcosphere.narconews.com/thefield2/</a><br>
>><br>
>> You notice that there is no sidebar at all, though I have set blocks<br>
>> up for the new subtheme, and the body are is black instead of white.<br>
>> Otherwise the logo looks fine... hehe.<br>
>><br>
>> If your way provides a method for me to be able to manipulate the<br>
>> right sidebar as well then I will just go ahead and use your method.<br>
>> I'm not sure if it's possible, though.<br>
>><br>
>> Thanks again!<br>
>><br>
>> David<br>
>><br>
>> On Fri, Jun 13, 2008 at 2:58 PM, Matt Galvin<br>
>> <<a href="mailto:mgalvin@simplifiedcomplexity.org">mgalvin@simplifiedcomplexity.org</a>> wrote:<br>
>> > Hi David,<br>
>> ><br>
>> > You might want to try:<br>
>> ><br>
>> > <a href="http://drupal.org/node/104316" target="_blank">http://drupal.org/node/104316</a> - Using different page templates<br>
>> > depending on the current path<br>
>> ><br>
>> > Hope this helps.<br>
>> ><br>
>> > Best,<br>
>> ><br>
>> > Matt Galvin<br>
>> > <a href="http://www.simplifiedcomplexity.org/" target="_blank">http://www.simplifiedcomplexity.org/</a><br>
>> ><br>
>> ><br>
>> > On Fri, Jun 13, 2008 at 3:17 PM, Big Brother<br>
>> > <<a href="mailto:ignorance.is.strength@gmail.com">ignorance.is.strength@gmail.com</a>> wrote:<br>
>> >> Hi Everyone,<br>
>> >><br>
>> >> My boss has a special request of me. We want to make a "sub-site" of<br>
>> >> the current site we are running, which is:<br>
>> >><br>
>> >> <a href="http://narcosphere.narconews.com" target="_blank">http://narcosphere.narconews.com</a><br>
>> >><br>
>> >> I need to build a sub-site which will use most of the current theme<br>
>> >> but with about 15-20% of changes. For instance, I am going to need to<br>
>> >> change the banner for this "sub-site", get rid of the left column, and<br>
>> >> change what's on the right-sidebar.<br>
>> >><br>
>> >> Is there an easy way to do this without having to make a whole new<br>
>> >> drupal installation just for this sub-site?<br>
>> >><br>
>> >> If this isn't clear enough, please let me know and I can further<br>
>> >> explain what I'm trying to do.<br>
>> >><br>
>> >> Thanks!<br>
>> >><br>
>> >> David B.<br>
>> >> --<br>
>> >> [ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
>> >><br>
>> > --<br>
>> > [ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
>> ><br>
>> --<br>
>> [ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
><br>
><br>
> --<br>
> [ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
><br>
--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</div></div></blockquote></div><br>