Our clan was using phpnuke before and it was easy to find free and really great themes for Counter Strike, BF2, WoW and other games. Are there any sites like http://phpthemes.net/Page1.html for drupal?
This may be a complete newb question, but is there any way to reference the $block->subject variable in PHP code contained in the block or otherwise pass arguments? I need to reference the block->subject variable as a parameter for a PHP function called in the block itself.
I know that you can create the same type of block using views but thought that this approach would be more efficient on database queries and provide more flexibility. Could someone please enlighten me on using views vs. custom code? Will having multiple blocks based on a view significantly impact performance?
I'm obviously a newbe to drupal.. but I managed already to install drupal at my site and to do some basic things. I'm currently playing with different features like adding moduls and themes and I'm a little bit confused of one thing: where do I need to upload my files? at some places I read that a new module or theme should be uploaded to sites/all/modules or sites/all/themes directory while in some other places I read that I should upload it to the mosules or thems directories found in the root directory.
I just have a brief question: I'm developing my own theme right now, and I'd like to theme the node form for the built in story node type. Therefore I used the theme_node_form() function. This all works well when creating a new node, but when I want to edit a node my theme function is not called :-(
Does anybody know about this strange behaviour or have any solutions for this problem?