This forum is for assistance with theme development.

Can't add contextual link to taxonomy term view.

I was having trouble with contextual links, so I created a test view of taxonomy terms with the following settings:

FORMAT
Format:Semantic Views | Settings
Show:Semantic Views : Fields | Settings
FIELDS
Taxonomy term: Term edit link
Global: Contextual Links
Taxonomy term: Name
FILTER CRITERIA
Taxonomy vocabulary: Machine name (= Service types)

Under Format:Semantic Views | Settings I added contextual-links-region to the Class attribute of each ROW. I also excluded the Taxonomy term: Term edit link from the display. For some reason there are no contextual links.

The preview outputs the following HTML:

animation in jquery drupal

Hello to all,
I have to ask you a question that is a little running on, I started using Drupal for a few months between exercises and work done, I'm coming to the attention of a lot of ideas and I realize that drupal is really functional and I like a lot. .....

I before I started using drupal, I have always worked using html / css and some jquery, the right to re-use menu, gallery and effects and modify them at will in order to grow in this field, but now I had a some difficulty inserting jquery drupal on my pages,
I tried several methods to insert the javascript but with poor results, I can not understand.
We illustrate how I work to insert an effect of animation menu, try to be coincided to understand my steps and also to make it clear to those who are beginning to approach with jquery ..

The site under construction:
1) I loaded the jquery update module
2) I put the html test menu in an article
3) at the bottom of Article I entered

      JS-function <script type="text/javascript"> etc. </ style>

       - <style Type="text/css"> @ import url ("# percorso_del_css"); </ style>

4) Added the first of JS template.php with:
example_preprocess_html function (& $ vars) {
$ Options = array (
'Group' => magazeen_lite,
);

Using the Bartik theme, I wish to make the sitename have two different colors

Hello, can someone help me. Am presently using the Bartik-Theme and wish to configure the sitename to have two different colors.
e.g. Warehouse. "Ware" in blue and "house" in red. All in small letters.

there is a code I saw at http://drupal.org/node/1210102:

How to add custom css classes , images and Js to my Bootstrap sub-theme

Issue Summary :
I am new to drupal and I have a bootstrap HTML page including carousel . I want to create those same Bootstrap HTML pages using Durupal Bootstrap theme .
So up to now

Show a default node when a view returns no results

Dear,

I have a view that return nodes from a specific node type that were created by the user being viewed at that moment.
But if this view does not return any node, I want to display a default node, a standard node that is shown for every user who did not enter nodes yet for that type.
Anyone who can help to achieve this?
I think it should be done through a context, but I can't find a way to do this.

Drupal 7 trying to make field slideshow show in lightbox

Dear all

i'm using Drupal Commerce. my product display have variation by color (using fancy attributes). every variation can have maximum 4 images. this images displayed by field slideshow using images as pager.

I want to make something like this. my field slideshow is working but i need to make it display in lightbox.

by copy and edit field_slideshow.tpl.php to my themes folder i've succed to create lightbox for my image and also the pager. but this pager are not clickable. when i click this pager there is nothing happen.

maybe something i miss in my configuration please let me know ?

this is my code

custom.js

(function ($) {
 $(function(){
  $("div#show-panel").click(function(){  
$("#lightbox, #lightbox-panel").fadeIn(300);
 })  
 $(".close").click(function(){  
 $("#lightbox, #lightbox-panel").fadeOut(300);  
 })
 })

})(jQuery);

CSS
#lightbox {
display:none;
background:#000000;
opacity:0.5;
filter:alpha(opacity=90);
position:absolute;
top:0px;
left:-10px;
padding-right: 20px;
min-width:100%;
min-height:100%;
z-index:1000;
}
#lightbox-panel {
display:none;
position:fixed;
top:0;
left:40%;

Pages

Subscribe with RSS Subscribe to RSS - Theme development