Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I'm looking for a method to check in page.tpl.php is the current page is a displaying a node.
When a node is displayed, node.tpl.php will be called wich contains an adsense code block, therefore I want my other adsense block in page.tpl.php to only show on pages where a node+adsense is not already there.
I was hoping this can be done similar to the way you can test what sort of user is logged in, that would be convenient: http://drupal.org/node/13266 .
I made a flexinode thingi in 4.6 for a content type, and after upgrading, the content is still there but I can't find where to edit it, and looking in the content type of the administer menu, it's not recognising flexinodes created in previous versions. I created a new type and of course it called it flexinode-5 (rather than -2 which is what the original one is).
So do I have to make a new one to get it to recognise or have I just not found the thing that lets me edit them?
I created a new content type using CCK and I am customizing the nodes using a copy of node.tpl.php. One of the fields in this content type is called Description and I would like to be able to use the
Hi
I'm quite new to Drupal, but really pleased about it so far. After browsing the web, I came across the site theonion.com wich is said that it is based on drupal. Anyone who know what modules they use? How do I set up all these "sections"? Are there any video-tutorials or some good place to start?
One of my bigges problems is probably the lack of php knowledge (I'm a webdesigner), but maybe there are some code to share?
Is there anyway to achieve this: http://drupal.org/files/issues/twocolumn.png when none of the left blocks are selected? Currently, the blocks dont show but the space is still occupied. Any help appreciated. Thanks, Ivan