I was wondering if it was possible to remove the comments links at the bottom of my nodes on certain pages. I was wondering if maybe there was some type of code I could add that would remove it for pages with a certain variable or something. I would still want it on some, but off of others.
I am trying to develope my site with the CivicSpace theme (Drupal 4.6.5, PHP 5.0.5) and I encountered a problem when I try previewing my posts that has a trimmed version (either because of the post is long enough or because I use the break delimiter). In short, in the Preview post page it wasn't displaying the teaser preview version and an empty block for the full body:
After I opened the issue, I found some free time and come up with a solution which works almost as expected. Can someone with better understanding of Drupal's inner works check my solution quickly and comment on its soundness please?
Right now it looks as though no matter what my teasers (the short part of my story that shows up on taxonomy) always have the same template as node.tpl.php. I was wondering if there was a way to give all my teasers their own unique look and not have to use the node.tpl.php. It gets weird having my teasers also include stuff like "print this article", "boookmark this page", and all that other stuff I include with my stories. Is there some type of way I could maybe do an if statement seeing if it is being displayed as a teaser or the full article and act accordingly?
I'm Developing a new site based on Drupal. I checked most of the themes but for the compatibilty with different browsers i selected bluemarine because i already struggled with spreadfirefox,Everything is went fine ,but i'm not getting how to display --welome username-- message and a breadcrumb on the header section , Like This .How can i do the same with xtemaplate.xtmpl file in Bluemarine .Please Help me..
I am trying to theme the search_box() function in the system.module of 4.7 and I need to add a different CSS #ID property other than the default. I can easily see the theme_search_box() function and it's easy to pass that into template.php, but I need to change some fo the form items. How do I do this with PHPTemplate?
BTW, I just read the Forms API and the Quickstart guide, but still this was not obvious. For instance, I tried just creating a copy of both and adding 'my' infront of it and slapped this into template.php, but to no avail. Help?