This forum is for assistance with theme development.

How to remove field_tags links

My Themes need get the field_tags value.
Now , I used the code: print render($content['field_tags'][0], on the node page, this is a link like
<a href="#">value</a>
how to remove the link only receive the value?

Thanks.

Jquery doesn't load

This has taken me days already maybe weeks, I lost count.
Been through many internet pages, examples etc.
Posted a issue perhaps on the wrong place.

Problem is when I am logged on the jquery works, when logged of is doesn't

I have my own piece of code and in my eyes appears right and...
I also have one that I found on internet, working PERFECT!
This one I found works while logged on and also when a anonymous user visits the site.

I have a hard time to understand on how to place the scripts.
But this is what I came up with.

This is a small part of template.php

function verhuur_preprocess_html(&$variables) {
  $theme_path = path_to_theme();
  $url = request_uri();
  if ($url == '/gamma/') {
    drupal_add_js($theme_path . '/js/test.js');
  }
}

Then I assume since the code I found works both ways this part would be ok.

Then here is my own piece of code. Differs not much from the code below.
I am almost done with everything, just need a understanding of how to implement this.
And if I can get this going the rest would be ok.

Thanks in advance

my code

(function ($) {
Drupal.behaviors.myCustomJS = {
attach: function (context, settings) {
$('#block-block-1').click(function () {
$('#block-block-1').animate({left: "200px"},1000);
});
}
};
})(jQuery);

Overlay not working after adding jQuery 1.9.1

Hello you who currently reading my post.

After adding jQuery 1.9.1 for a costum scrollbar I coded.
I'm not longer able to open the overlay from the core module.

And this is a big problem :D.

Maybe you know how to fix it ?

Thanks for answers
Blacky

Change Grid Size From 12 to 24 In Omega?

Does anyone know if Omega has support for other grid sizes besides just the 12 column? I want to use the 24 column grid if it's available. I'm not doing a mobile theme.. just regular.

Thanks for nay help.

How to prevent Drupal from adding HTML, HEAD, and BODY tags onto one page template?

Whoever can help, that would be appreciated.

I have a hard coded HTML that I want to use without Drupal putting in the HTML, HEAD, and BODY tag. It will be used to as a .tpl.php template, but I do not want Drupal added the its own HTML tags.

How can I accomplish this?

Bruce

Adding New Custom Theme for Specific Pages

We have a website currently up and running with a custom theme including the artwork throughout the current site.

I have been asked to build a section of the website that has a different look, theme, and content from the rest. Basically an entire second website within the original using the core domain for both.

Pages

Subscribe with RSS Subscribe to RSS - Theme development