I am building out our theme one region at a time. Currently I'm working on the primary nav menu. Every time I make a change to page.tpl.php or template.php, I have to Flush All Caches from the admin menu in order to see the change. This takes a long time and makes development very slow. On the other hand, if I were to turn off *all* caching that would be slow too.
The goal: I want to render the taxonomy separately from the main page content so I can position it where I want. In my case, that's below the book navigation at the bottom of the page.
This works great to remove the taxonomy from the main content:
hide($content['taxonomy_vocabulary_2']);
But then how do I get it rendered? Normal fields are easy, and since the hide function worked, I expected the render function to work too, so I tried:
render($content['taxonomy_vocabulary_2]);
I'm wondering if there is a quick solution to creating a Responsive Bartik child theme when using the current version of Panopoly, which uses Responsive Bartik as the base. Problem is Responsive Bartik is embedded inside the Panopoly profile, which may be why my Responsive Bartik child theme does not work. My dot info file identifies Responsive Bartik as the parent, but the parent is not in the usual theme folder. It seems this is a special case that should be explained somewhere but I cannot find any guidance.
I have created a custom content type and added a field_attachment field. I create new content using the New content type and add some files. When I browse the page / node, the files are listed together with very large icons in the top.
I am unable to find out how to override these default settings.
I think I need to create an override file, but how ?
I've been searching for an answer to this for a while now and I could use some help. I'm putting a theme together for D7 and I've got custom node templates adding custom fields into the page working. What I need to do is figure out a conditional statement that looks to see if the field is empty and then hide it ( and the divs around it ) if it is. Is there any easy way to write the PHP to accomplish this in a node template? Logically, I just want it to say