This forum is for assistance with theme development.

Tabs not working in home page of acquia slate theme

Respected Team,

We changed the css file of our website from that time onwards the tabs in the home page are not working.

Please help me out with the solution.

My tab code is present in node-social_updates.tpl.php file.

It has been integrated in home page.

Please help me out.

Thank you

adding rel attribute to image link in a node

I have a few images in a node that can be opened in a fancybox lightbox. I would like to link those images together to create a gallery. To do so I need to add a rel attribute to my image link. How can I do this?

I tried editing the field.tpl.php template, but without any luck.

Help would really be appreciated.

On node drupal add map??!

Hello,

I'm creating my own theme. And it works as long i don't get on other pages (nodes).
For images he add a node map, but there is no map so he can't find the images. Duh, but why is that defined?

Greetings, Tom.

Zen sub theme responsivness

Hi guys,

Just a quick line of enquiry - is it possible to have a subtheme with Zen that only becomes responsive past a certain width - for example - starting a tablet size only?

I love everything about the Zen package and it's subtheme but I wanted to have a maximum width on the site (which it already has) but I didn't want it to start collapsing until a tablet size layout - not sure where to go from here?

Any help would be great!
Garry.

Form Radio Button Styling

I'm not sure if this is in the correct place or if I've titled the subject correctly as this is my first time posting.
This is not a plea for help, I just figured out an awesome solution to an issue I was having with
radio button selection.

I'm still fairly new to drupal development, so please if there is a better method let me know!

The issue
I wanted to have the radio button inputs hidden and the title of the radio button to be visible.
So when a user selects one of the options in the radio group the title of the radio button
would indicate that the user has selected that option.

I first went the javascript route, seemed like a no brainer, but came to find out adding
attributes to radios with the drupal form api is easier said than done.

I tired using the #after_build element to add on a class to each of the radio options with no luck.

The Solution
Sometimes we over complicate things, add fancy scripts and increase our load time, when in fact
the best solution is good ol' css.

This may not be the perfect solution for everyone, but this may help someone figure out an alternative route for a similar issue.

Inside my form input option array I wrapped a span inside the options' title.
This may not be proper use of the t function, so please let me know if there is a proper way.

<?php

Group a list of nodes by taxonomy terms

Hi All,
I'm fairly new to Drupal and have been asked to modify an existing functionality that lists node teasers depending on some search filters.
I've been asked to group these nodes by taxonomy terms so that it appears more organized and more readable. Basically, I'll need to have all teasers for term A, followed by all teasers for term B...
The way the list of teasers is implemented now is through a view that uses content type fields/display.

Pages

Subscribe with RSS Subscribe to RSS - Theme development