In my node.tpl.php I wrote: echo render($content['field_my_new_image']); and I have the corresponding field in my content type. I can't seem to think of what could be wrong. Also, I put an image in the content type and it displays without me doing any rendering. However, it only prints out one size to the screen. Any ideas? I inherited this theme and am working to fix it.
Hi, I am pretty new to Drupal. I am working on my first large project and I am finding Drupal to be very frustrating. My goal of this post is not to be inflammatory, even though some of my language may come off that way due to my mood at the moment.
I've been working on how to override the url destination the "add a new comment" link points to (in teasers).
Eventually determined that the way to do it is wit mytheme_link() function in template php.
I've even got it in my theme and printing a bit of dummy text I put in it.
But in the process of trying to figure out how to alter stuff in variables, came across the api documentation on theme_link. It seems to say that you're not supposed to use it directly?
Hey guys, new here, just have been transitioning into drupal and kind of a newbie at it. I have downloaded the theme impulse 7.x-1.0 (default theme) and have been trying to personalize it for the site I am putting up my problem for you guys is probably a simple newbie mistake but help would be appreciated. I have a custom logo ( width:350 height:165) every time I upload it my headers height increase ridiculously. What I have been trying to do is make this height 320pix so it doesn't look so ridiculous and more professional any help on the subject is appreciated.
I've created a view from a entity type which outputs very well.
What I'd like to do is change the output of certain fields, I've used the function below though it only adds a view title, how do I dig deeper into the lower level elements so I can rewrite the output?