All day tried to compute fields from child nodes assigned using NAT-ng. My logic doesn't seem to go so far. As far as I know I need to get content by using nid which is asigned to nat id by getting it I am capable to get term id and all nodes assigned to this term (also can filter content types)
...
Hi i need some help with it. I have created a php script which i am running from copy paste into node as php code. I need a file path for a file to process like i am using '\birds\birds.xml'. I dont want to include the file path instead i am thinking, How to create a simple small form with browse button and selecting a file than submit w...
Hello there.
Working on a site where I want site admins to be able to upload swf and/or flv files inline in a content's body together with text, images, etc. I'm currently using the WYSIWYG module (with CKEditor).
Basically, what I need is something like http://drupal.org/project/wysiwyg_imageupload, but for flash content. I've looked...
I need to stop a certain block from appearing on a certain page on a Drupal site. I went to admin->site building->blocks and set the block I wanted not to appear on the page I don't want it on. However, this change is only effecting logged in users, anonymous users still see the block. Any suggestions?
...
hi every one! I am new to drupal. I have created module with name contace1 code is below:-
contace1.info
; $Id$
name = Contact1
description = Show how to build contact form
package = Pro Drupal Development
core = 6.x
and contact1.module
<?php
// $Id$
/**
* @file
* practice to build form
*/
/**
* Implimentation of hook_menue().
...
I am using drupal's modalframe module.
...
I have a content type meeting that has a CCK node referer field that refers to one or more people nodes. Those people nodes contain a CCK Email field.
Now I'd like to send a mail to all people listed in the meeting node when the node is created. I don't know how to do that as the mail adresses are in different nodes, so I can't just se...
In my module, I am trying to get the all names of terms that comma-separated in the field of taxonomy ( for create/edit node ). For example: a,b,c,d :
<?php
function mymodule_form_alter(&$form, $form_state, $form_id) {
if($form_id == 'story_node_form') {
$form['#submit'][] = 'mymodule_form_mysubmit';
}
}
function mymodule...
I have looked around and can't seem to find an answer to what is going on.
So i have been trying to install views galleriffic on a website of mine. I have followed these instructions to what appears to be identical to me.
drupal.org/node/758724
I created the view as a block and assigned it to a page of the content type created. First o...
I like simplifying the node form. One of my tricks in the past has been to conditionally hide CCK elements on new node creation when I want to enforce some kind of default. One of my favorite tricks is to whisk away things put in place by the Prepopulate module. Unfortunately for me, it's recent move to an #after_build-based mechanism se...
Hi everyone. I'm writing an action for Drupal 6.x that gets triggered every time a node is created or updated. In it, I need to add a (pre-existing) taxonomy term (of which I have the tid and vid) to the node that's just been created/edited. I've tried several approaches, none of which seem to work. I know I could, in principle, modify t...
I have a view with a page display that contains essentially content A, that content exists in one column. in addition, I've got another 6 attachment displays that display content B,C,D,E, etc. in another column.
Is it possible to modify the order of the the attached view displays? Right now i've got them all set to attach after Cont...
A long shot..I know.
Is it possible to detect if a view's page display path is changed via views UI? Is there some kind of hook that I could use for this?
...
I've been wading through the issues of putting a Drupal form in a Lightbox2 lightbox.
Perhaps wrongly, I've resorted to doing all the validation in javascript before submitting the form (I couldn't make the normal validation return the form within the lightbox).
Anyway, i'm using:
$form['#attributes']['onsubmit'] = 'return Drupal.m...
We are currently looking for a second hosting company. The company should offer Linux based hosting and support WordPress and Drupal based websites.
Besides good pricing and technical support, the hosting company should have the latest stable versions of MySQL/PHP, and offer modern management/support tools (i.e. cPanel, Fantastico).
...
Is there a Drupal module to display the user name in a block, when he is logged in ?
thanks
...
HI,
I shall finish some edits on drupal projet, that was done by another programmer (i have no contact of him). I'm newbie and I try to find out how the PAging module works. There are no numbers of pages showing. I suppose he changed the code.
I found a file pager.php in projet's own theme with this function, that is probably doing the ...
Hi,
I'm trying to manipulate the edit-body field with javascript just before I save a node in Drupal and can't seem to modify the content with consistent results. I used the following example code:
var oEditor = FCKeditorAPI.GetInstance('edit-body');
htmlstr = "<p>Hello World</p>";
oEditor.SetData(htmlstr);
And sometimes my changes ...
So here's what I'm trying to do:
1. I create and render the following form element:
$form['rb_download_' . $doc_id] = array(
'#type' => 'submit',
'#name' => 'doc_' . $doc_id,
'#prefix' => "<div id='rb_doc_order_{$doc_id}'>",
'#suffix' => '</div>',
'#value' =>variable_get('rb_order_button', "buyOnline")...
I have complex form that I want to make more user friendly. It consists of many fieldsets. Can I take one of fieldsets and make it into a modal window without braking form?
My idea is that fieldset is visually replaced by button that triggers modal window that displays replaced part of form in modal window. form must perform same as wit...