1
vote
2answers
34 views

How do I add a dynamic Facebook like button to every node of a certain content type

One very comfortable solution to that problem is provided by http://drupal.org/project/fblikebutton. Unfortunately the positioning of the button isn't flexible enough for my needs. I want every ...
0
votes
3answers
65 views

How do I add javascript to a node or block

I've made a cost calculator script and want to use it on my Drupal 7 site. I heard to use drupal_add_js, but I don't know in what context.
0
votes
1answer
24 views

How do I put this custom CSS and JavaScript into a certain block?

I'm having a hard time getting this: http://dev.chrisruno.com/sahshe/quiz/ To go into a block in this node: http://sahshe.chrisruno.com/?q=node/22# I've successfully included the two Javascript files ...
0
votes
1answer
102 views

Include javascript in node

myjavascript.js: function initialize() { var waStyle = [ { featureType: "all", stylers: [ { saturation: -100 } ...
0
votes
1answer
157 views

Save a node via javascript

I want to be able to save a node when certain events happen in the browser. I.E the user changes tab. Is it possible to save a node in drupal using javascript? Is there a javascript api tfor drupal? ...
5
votes
4answers
1k views

CKEditor generates <br /> when leaving a textarea field empty

I'm using CKEditor module with satisfaction, but it behaves really frustrating in one case: when leaving textareas empty, it generates <br /> tags in them after rendering CKEditor's interface. ...
0
votes
0answers
28 views

Add JS to Drupal node form [duplicate]

Possible Duplicate: How to add JavaScript to my Drupal site? I'm writing some javascript for my content type so that when new content is created, while inputting for one field, the other ...
0
votes
0answers
239 views

How to call a javascript function in a node template?

I am having a bit of trouble figuring out how to call a javascript function I have in a node template. The flow I am trying to achieve is a user clicks a link (its a link which activates the colorbox ...
1
vote
2answers
60 views

Import js code in node

I'm using Drupal 7 and Clean theme. And i have got a map. That's javascript codes. I created map field in my content type and want import this javascript in node. How can i do?
2
votes
1answer
313 views

Correct way to add a tweet button?

I'm trying to add a tweet button to my node.tpl.php in Drupal 6 - https://dev.twitter.com/docs/tweet-button. I literally place the html+javascript within node.tpl like so: <a ...
1
vote
1answer
360 views

Allowed range for date input - down to the day level rather than the year level?

I am trying to set up a content review process for a client's site. The desired process is this: When users are adding content, they specify a "review date" This date must be between today and ...
1
vote
1answer
328 views

How to display a js popup saying “Loading…” after user saves a node?

Been looking for solutions that would show a javascript popup or the like after a user submits or saves a node. How could I achieve this? Any modules out there?
0
votes
1answer
346 views

How to add two “add more” buttons in CCK form?

I am using cck 3.0 with multi group fields, basically multigroup provides one add more button for all fields inside multigroup fields. I am trying to add two "add more" buttons in multigroup fields: ...
0
votes
1answer
354 views

How to remove Drag and drop in save/edit?

I have two CCK text fields with unlimited values. When I enter some data into those fields, they give me drag and drop option. How do I remove that drag and drop option?
0
votes
3answers
532 views

Show or hide field data using java script in node

I create one cck content type and add one text field in them with name of: My friend name: text field with add more buttonThen, i submit form with entering my 15 friends names Like this: 1 2 3 . . . ...

1 2
15 30 50 per page