Drupal Themes

Add code to head without modifing html.tpl.php

Hi all
I don't know if it is the right section of the Drupal forums for my issue, so I ask forgiveness if it isn't.
I do also apologize if this topic has already been discussed, but I can't find anything with any search I made so far.
I am developing a web site and I have some code that I have to put in the section (Google Analytics, advertising preload code, etc.).
So far I found that I have to put such code in the theme's html.tpl.php file (by the way as theme I decided to use eClean that doesn't seems to have an editor integrated on Drupal admin), but if do this I will have to manually re-add the code every time the theme is updated since that file will (or at least could) by overwritten by the update.

Small layout change - Kanji theme

I have used the Kanji theme for a simple information site here: http://www.kevskards.co.uk
I would like to put small facebook and twitter icons next to the RSS feed icon, but having no joy working out how. Doesn't seem to be a thing that can be done with blocks.
Can someone point me to the file I should edit? Thanks.

Aggregator feed reader will not print in ie8

Hi guys,
So I thought it would be a very nice idea to display a sourceforge feed on my front page and so far it displays fine in firefox but not in ie8. Of course, no surprise there, it's like every time I make something fast and efficient ie8 is always there to slow me down. Frustrating to say at least.
I have tried Googling for similar issues but so far I have come up with nothing. I cut and paste the code exactly as is with the wrappers and all and then it works. But of course, that is not very dynamic is it. So, what could be the problem here?

Drupal 7 for mobile - help needed

I made couple of drupal site so far but I don't really know much about d7 for mobile. My customer doesn't really want to have the whole site converted to a mobile version, only a spcified section is needed. To see it more clear:
On the desktop site there will be "Modules" which will be solved via the book module. There are 15-20 pages/Module. My customer want to have a link to a mobile version which would only display the books and it's content below it.
I tried to make a content type and a custom page--mobile.tpl.php and printed the book module into that page but I forgot that the you'll leave the page if you click on any of the links.

Removing rss widget in Marinelli

Just a quick question.
someone know how to remove the rss widget
in the marinelli theme at the bottom left.
The aggregator module is disabled.

Theme a Menu as a Form Select

Hi,
I'm building a responsive theme and I want to display the main menu as a select menu - I've looked but I can't find a module to do this - any ideas?
thanks
Pete

How Display video thumbnail in different dimensions?? How to edit the style of view blocks??

Hi,
Myself uploaded a video directly to youtube using Video Upload 6.x-2.x-dev module(Browser Upload method).
I am using Views 6.x-2.16 and Views Slideshow 6.x-2.3 modules to display the contents..
Issue 1:-
Now i want to display the video thumbnails in both 'listing page'( view-block) and 'js slider'( view-block). Unfortunately i only got one type(dimension) thumbnail..How to get more than one images(different dimensions) to display in above two blocks.
Isssue 2:-
How i can edit the style of view blocks ???
My Drupal Core version is 6.24
Please help me.... I m in very critical stage.. please..

Printing custom field value in html.tpl.php

Hi
I have a custom image field called field_bg_media.
I need to print this value (where it exists) into the tags of my template - so in html.tpl.php.
I currently print the value in node.tpl.php using:<?php print $node->field_bg_media['und'][0]['filename'];  ?>
but need to shift it to the header as this is where it should be loaded (the JavaScript function that uses the value needs to be set in the header as it sets a fullscreen background image so has to be one of the first items that loads)

customize the basic page

How to edit, modify or customize the basic pages in drupal7, for example i add a basic pages and I want to customize the way it displays and the way it looks?

Theming views - the basics

I have been reading up a lot in drupal theming, especially on theming views. I have few basic questions:
a) On the theme:information section of the theme, you can see a bunch of templates listed, the bold one being the one that is presently being used. You can create a custom template by using one of the other files listed in, for example, the display output section. Why are there so many files listed. On my example, I have:
Display output: views-view.tpl.php, views-view--theme-practice.tpl.php, views-view--.tpl.php, views-view--default.tpl.php, views-view--theme-practice--default.tpl.php
What are all these files? I don't think they all exist initially, they seem to be names which you can use to create a custom template. When I created views-view--theme-practice.tpl.php in my custom theme, it then became bold and now I can use it to override the them for this view, but what are the other files?

Syndicate content