This forum is for assistance with theme development.

Custom menu theming

Hi guys. I have a little trouble, and i am looking in api docks, google for solutions, but i found nothing. So:
I try to templating my custom menu using this: MYTHEME_menu_tree__menu_test_menu, and Mutheme_menu_link__menu_test_menu in themplate.php. I call menu in block (block--menu--menu-test-menu.tpl).

extra space in footer until i refresh

Hey I'm working on this drupal site (http://lumen.inpresence.us/drupal/home) and when you first visit, the footer tends to add this huge, extra white space. Once I refresh, it's gone. It didn't start occurring until I inserted an instance of the Twitter Bootstrap modal module. I had change the display of the footer to -webkit-box in order to get things aligned. Does anyone know how to fix this permanently?

How to assign a content type file upload to a specific block/view

Hello,

I am having quite the hard time with a specific problem.

I have created a content type to upload pdf files. However, I would like for the user to pick and choose what block the file should be assigned to on a specific page.

For example:

I created a page called 'Legal'.
I have a block created on the secondary sidebar that populates brochures specific to the 'Legal' page.
I have created a content type called 'Brochures' and added a file field that allows for PDF uploads.

Render Tabs

I'm have a problem and I don't really know how to fix it. I'm trying to style the Tabs above my forum made with Drupal(see picture)

http://i.stack.imgur.com/2s0sN.png

For some reason it always renders the tabs like on the picture. This is because I'm using the render function print render($tabs). I don't know how to get the names of the tabs. They are in a Array called $tabs`, but this array returns this(See picture)

Adding some html conditional on if a field has content

Hi,
Please help, I may have missed something quite fundamental here.
I'm trying to develop a theme to show some html (the <li> </li> tags surrounding a field) only if that content field has some content, but I'm getting nowhere fast. I've tried to add something into the page.tpl.php like:

how to set the number of every page

after installed drupal and add some taxonomy
and active the blog core module.

the can browse the url:
www.yousite.com/blog
and
www.yousite.com/taxonomy/term/id

but the question is :
how to set the number of every page when browse the two url above?
not use views module.

Thanks!

Pages

Subscribe with RSS Subscribe to RSS - Theme development