This forum is for assistance with theme development.

Adding new custom region for use with drupal_add_js. Always empty.

According to the drupal_add_js doc for D7,

scope: The location in which you want to place the script. Possible values are 'header' or 'footer'. If your theme implements different regions, you can also use these. Defaults to 'header'.

I'm trying to get some js output at a custom location - so I added a new region.
The *.info file contains:

regions[jqmpagefooter] = JqmPageFooter

The page.tpl.php (custom) contains:

Imagefield and summary

Hi all !
I created a content type with an image field wich allow the user to upload several images (I set no limit to the number of images that can be uploaded). The summary must be only one image. For the moment I only succeded to show all the images...
How can I do that ?

Thank you by advance

Remove webkit border/box-shadow on main menu

I can't seem to get rid of the border (or maybe it's a box-shadow) around my main menu navigation. It shows up only when I click a menu item, and only in a webkit browser (Chrome or Safari). It doesn't show up in Firefox. I've done a lot of searching, and none of the solutions I've run into seem to work.

link to screenshot

I've tried all of these...

Relationship between exposed filters in Views

Hey everybody !

How do I make relationships between exposed filters, in Views?

A pratical example (to understand my question):

I have a view that shows the addresses of my company. There're three select tags as exposed filters. One about the country, other about the state and other about the city. How do I make a relationship so that if the user choose, for example, the country "United States", not appear the city of India or China?

I'm using View, Entity Reference and Drupal 7.

Thanks!

Content hiding in drupal 7

Hi. I have created an article and bound it to menu item. Then i pasted into a necessary piece of html <?php print render($page['content']);?>. Of course i created the content region in my .info file and i switched on necessary block in this region.
So problem is:

iam developping a theme for car ads

Hello every body, iam theme developer and iam developing a theme for car ads and i will do it with drupal them so is theme any similair project here?

Pages

Subscribe with RSS Subscribe to RSS - Theme development