1

overwrite the #default_value field in drupal forms

http://drupal.org

I have #default_value set for my form fields. On submit i want these fields to be updated with the user entered input.How can i overwrite the #default_value already set in my form fields. Any working example would be appreciated.

Read more »
Created by Dplanet 1 year 20 weeks ago
Category: Modules   Tags:
2

Google advertisement

http://drupal.org

Hi
In my site i would like to have google advertisement in this manner:

a) Every time i create a page content, i need google text advertisement to appear in the down of my page content.
Some things like this: Google Ads: Animal Ball fruits

b) The second type of advertisement i would like to display is again the text but in the block... It means a set of google advertisement in the block.
Some things like in every sites we can see the advertisement in the right side bar

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Modules   Tags:
2

XML-RPC services question

http://drupal.org

Do I need to install something other than the services module to make xml-rpc commands? Where do I place the xml-rpc services?

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Modules   Tags:
2

INTERNAL LINKS, INTERNAL MENUS

http://drupal.org

Hello everybody, I'm surfing everywhere but can't find how to... put internal links??? I would like to write a line, such as "go to --that page--" where "that page" is an internal node I already wrote.. but I can't manage to do this, without writing directly "go to node/12".... is there a specific module to do this?

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Modules   Tags:
2

How to access youtube api via javascript

http://drupal.org

I've spent a fair amount of time searching for the answer but haven't found it. Maybe that means its obvious.

Anyway.

My goal is to embed a video page, then while it is playing query where it is in the video based on user input. Initially I just want to do this with youtube videos but eventually from other sources as well. So if for now the solution is youtube specific then fine. The youtube api supplies all the methods necessary to do this, I am just missing the bit of context to make all this work. How do I do this?

Thanks.

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Modules   Tags:
2

Allowing Multiple Votes in Fivestar

http://drupal.org

Hey guys, I have a quick question regarding Fivestar. I am not a module developer, so please make it easier for me to understand your reply.

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Modules   Tags:
2

How to free convert videos/music to Sansa

http://drupal.org

SanDisk has series of media players such as Sansa Clip, Sansa Fuze, Sansa View, Sansa slotMusic Player, etc. which attracted us with their amazing features, ig, big storage capacity, long-time battery life, high quality of video and sound.
But not all the videos/music that can be accepted by Sansa. For example, Sansa Clip supports MP3, OGG and WMA files. Sansa View supports MPEG-4, H.264, WMV, MP3, WMA, and non-DRM AAC formats. So sometimes we need a third party to enjoy Sansa easily.

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Modules   Tags:
2

form_alter doesn't work

http://drupal.org

hey all, following situation:

i created a modul which cleared onfocus the default value of a textfield and onblur the default value occurs back...

This is my Module (setdefault.module)

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Modules   Tags:
2

hook_menu

http://drupal.org

hi every body

i just created a module to add a link in my menu

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Modules   Tags:
2

Domain Internationalization and menus

http://drupal.org

Hi,
I have been playing with the domain module and I love it, I also live in a multilingual country and therefore the i18n module serves me very well. I am encountering problems in the menus as these two modules do not seem to play well together. When I use, for example, the domain-primary-links block I get the right menu but with all language entries visible (which i18n normally hides just showing the right one).
I tried installing the domain internationalization module (domain_i18n) and added the following to the settings.php:

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Modules   Tags:
2

Location dropdown

http://drupal.org

Hi!

Can you configure location module in a way, that the location is selected from a drop-down list and not written in input fields.

Admin would insert 10 or so locations into the DB, with address, longatude, latitude, name and so on. When the node would be writen by another user, the user would just select from a list of these locations.

If you let all the users to add new locations, you can get 3 different addresses/geolocations for a single location.

how can this problem be solved?

Edited by WorldFallz - moved to appropriate forum.

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Modules   Tags:
2

update a field with ajax

http://drupal.org

i wrote this module to update an existing form with a field that indicate the time with ajax

this is my "test.module"

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Modules   Tags:
2

$primary_links array

http://drupal.org

Hi

I am creating a custom navigation. In the admin there is the Primary Links setup with 5 items. Each item has 6 sub menu items

This is all good, i can access through the $primary_links array. But, how do i access the sub menu items?? Nothing appears in this array for those

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Modules   Tags:
2

Ajax Polls

http://drupal.org

Hello,

I have created a view for polls.
And i want the polls to be ajaxified.
Were it wont take the page to refresh to display results. Is there a way to do this?

I know advance polls has ajax polls but the poll types(binary and ranking) are not the type of polls i would like to use.
I want the regular polls to be ajax capable.

Is there anyway i can do this?

Edited by: VM; Moved to appropriate forum

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Modules   Tags:
2

Place the blocks (or a DIV) in a specific point.

http://drupal.org

I am a drupal beginner... I'm trying to understand how drupal (ver.6.12) place the blocks (or eventually a DIV) in a specific point in page.tpl.php.
I have read several documents but I couldn't understand yet how works the variabils (print $header, print $content etc...)in the page FLOW of Drupal. For example if I want to place a block or image (or a DIV), forcing the position, in the right side of the header, how can I do?

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Modules   Tags:
2

Addonchat integration with Drupal

http://drupal.org

I am looking for a integration of addonchat into drupal. Looks like nothing has been done yet. Let me know if anything has been done so far.

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Modules   Tags:
2

Views able to ignore custom field HTML tags?

http://drupal.org

I have a text field in a content type that collects citations for publications. Citations list the author names first. Users input with a WYSIWYG and P tags are automatically inserted. Some entries also have strong tags to bold author names in the citation. The problem is when trying to sort these fields by the first author in the citation, the view is trying to sort the P and strong tags, jumbling up the desired alphabetical order of author names. Any suggestions for getting the view to ignore HTML tags in the field for sorting? Thanks!

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Modules   Tags:
2

Why my Adsense ads do not show on every page?

http://drupal.org

I installed the Adsense module and I put 2 large rectangle Adsense ad blocks on every page. The problem is they appear by 2 on just some pages, on other just appears one! I have searched every setting there is no visible mistake.

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Modules   Tags:
2

How to save fields added to registration form?

http://drupal.org

Hi,

I am strugling with a following problem:
added a select field to the registration page (template.php in theme's directory) and created a module to validate in hook_form_alter and want to save this field in a database but it is not working. I don't get how it all works and can't find useful example.

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Modules   Tags:
2

Tried to delete photo gallery created with Imagefield and ImageCache and now have lost half my website

http://drupal.org

I tried to have this resolved in Issues but never found the right Project so apologies for cross posting.

I was playing around with ImageField and ImageCache, trying to create a photo gallery. It didn't work out as I had hoped and I decided to get rid of what I had created and start again. There were only two photos in the gallery and they ended up on the top of my front page. Nothing I did got rid of them, including deleting them from the server, which got rid of the images but not the text and the format.

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Modules   Tags:
2

Why my logo do not appear?

http://drupal.org

I uploaded a jpeg image as my logo, I enabled it in Theme configuration and then I expected to show... Guess what? It not appeared!

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Modules   Tags:
2

Form actions

http://drupal.org

I've something like that:
<..form action="h.php" method="get" ID="Form1"..>
<..input type="text" name="data_od_rrrr" size="2" maxlength="4" ID="Text5"..>  - 
...
<..br..><..br..><..input type="submit" value="POKAZ RAPORT"..>

These dots are for avoiding html tranlation on this menu.
It's as an Full Html page, and it seems ok. But now its action in on h.php, where must I write the h.php file? Must I create a new module? How to do it to make it work?

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Modules   Tags:
2

Taxonmy Terms in Profile

http://drupal.org

Hello Drupal Mates,

How do i add a Taxonmy term to the profile options.

Thanks in advance :)

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Modules   Tags:
2

I am trying to develop a new part of the flashvideo module, if you want to help...

http://drupal.org

Hi,

I want to play videos such as youtube ones. But I do not want them to embed in the youtube player. I want to make them play in my JW player. I use the flashvideo module and the CCK plugin.

Here is what I am trying to do:

-create a new textfield. This textfield will allowed the user to put the url of a youtube video such as:
"http://www.youtube.com/watch?v=W91Rui59GDs&feature=popular"
-then to make this video run in my JW player, I just need to add to the flashvars:
&file=http://www.youtube.com/watch?v=W91Rui59GDs&feature=popular.

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Modules   Tags:
2

Tokens for webform module

http://drupal.org

Does anyone know how I can create tokens that can be used with the webform module? I have created tokens to use with other modules (e.g. pathauto) in the past but I am unsure how to create tokens that will be available for webform modules (e.g. to use in hidden fields).

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Modules   Tags:
2

How to do rss feeds for every node

http://drupal.org

How to do rss feeds for every page.

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Modules   Tags:
2

Redirect after account verified

http://drupal.org

Hi,

I have a drupal site for which I need 2 account types: "free", and "premium". When a user creates an account, they will automatically start as a free member.

I have added a checkbox to the profile, giving users the option to sign up for a premium account straight away, and want all users who do this to be forwarded to a payment page after their account is verified.

I can redirect after account creation easily, but I only want to present a payment page after an account has been verified.

Does anyone know of a good way to do this?
Thanks!
Peter

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Modules   Tags:
2

Calendar Error - not loading correctly

http://drupal.org

Hi all,

I'm having an issue with the calendar module. When you go to click on an event on a certain date on the calendar, it will take you to the events for that day. If you click on the name of the event from there, it pops open a little window and begins the process of loading the info for that particular event, then re-directs to a blank page and stops.

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Modules   Tags:
2

views_get_view, add_item, filter, and uid or user name: I can't get to work?

http://drupal.org

I can get this to work when filtering by nid or node title, but why won't it work for user? I also tried table = node & field = nid. I saw something about current user, just not how to use it with views_get_view.

$string = 'jdoe';

$v->add_item('default', 'field', 'users', 'name');
// Add an instance of the 'name' filter.
$options = array('value' => $string, 'operator' => '=');
$id = $v->add_item('default', 'filter', 'users', 'name', $options);

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Modules   Tags:
2

.install file not working, please please please help

http://drupal.org

Hello all, I am writing the following code in my .install file. its purpose is to create a table in database, which will be used later, but when i install the module, i am not seeing any table in the database. Kindly have a look at the following code and let me know if i am making any mistake.

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Modules   Tags:
2

One include file - for a package of modules

http://drupal.org

Hi,

I have written a package of 5 modules. And I have some generic functions that all modules share (although they currently reside in specific modules), I want to seperate these out into an include file for the package, but I am not sure how each module would include that file (I know php include code, but how does Drupal want me to do it?)

thanks

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Modules   Tags:
2

Is there anything that syncs blog posts/article comments to the forum?

http://drupal.org

I have seen on VBulletin sites where blog posts and replies are also propagated in the forum.

1) Is this possible in Drupal?
2) Is it possible to have comments to articles also propagate into the forum?

Also, any suggestions on sites that go over socia networking options available to add on to the forums/blogs in Drupal overall?

Thanks in advance (new Drupal user)!

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Modules   Tags:
2

Services help, where can I find an example node structure?

http://drupal.org

I'm using the Services module and XML-RPC to communicate from a c# app to drupal.

After connecting and logging in, I'd like to have the c# app create a new story to the drupal site.

Is there an example of this being implemented somewhere? Or where can I find the structure of a story node?

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Modules   Tags:
2

Not clobbering node state changes & Drupal site TABLEs affected

http://drupal.org

Hi

In the process of learning how to migrate my Drupal site changes to a Live site, I would like to understand what are all the Drupal site TABLEs that are affected when a node state changes (e.g., created, updated, deleted).

The reason I ask is that my Live site's users will be performing node state changes, and I too as a developer will be integrating new features from my development site to the Live production site will be performing node state changes.

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Modules   Tags:
2

Module page opens in local but blank in client server

http://drupal.org

I m using drupal 5.8

When i request a url(of my module) in my local setup the page shows but when on server it giving blank, and i can't get any error as they seems to have some ini settings which don't show them in their server.

Did somebody faced similar problem.

Please revert back need urgently

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Modules   Tags:
2

How to make an organic group moderated?

http://drupal.org

I'm looking for a module that allow organic groups' admins to moderate posts into their group.

It would be like a "delegate moderation posts".

I found some topics about that like here http://drupal.org/node/283121, and also a module "og_moderate" http://drupal.org/project/og_moderate

But it seems that it is no more active.

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Modules   Tags:
2

Passing values from a select list

http://drupal.org

I am trying to pass the id from one of the drop down list to another function to create another drop down list. I mean the first selection list wil fetch its option from database. as this one is working. After that when i select the option from the list , even the id is fetch. I can see it through scripting using alert. but it is not passing to the server for further varification inorder to fecth its other related data on the basis of its id. hre the code is:

suggestform.module

<?php

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Modules   Tags:
2

to add ajax event to a form

http://drupal.org

hello every body !

i am searching for some module able to lunch some special traitement on special javascript event on cck fields

i found ajax trigger but it is out of date
some one have an idea ?

Read more »
Created by Dplanet 2 years 47 weeks ago
Category: Modules   Tags:
2

How can i Enable Clear CURLs?

http://drupal.org

How can i enable Clear CUrls when the radio buttons are not active, i mean they cant be click, and when i click the link "Run the clear URL test", it displays the page cannot be found, pls help me how to solve this error..thank you

Read more »
Created by Dplanet 2 years 46 weeks ago
Category: Modules   Tags:
2

Working with multiple forms using jQuery UI Tabs

http://drupal.org

Hi,

I am using jQuery UI tabs for one of my module with two tabs. In tab 1 I have form of one content type A. In tab 2 I have form of 2nd content type B, which is rendered using jQuery ajax.

The problem is that I am unable to submit form of content type B, as the page have only one form tag for content type A wrapping the whole page content rather with in its own tab. Because of that, I am always submitted to content type A.

How can I have two separate forms for both content types in each tab?

Thanks and regards,
Iftikhan.

Read more »
Created by Dplanet 2 years 46 weeks ago
Category: Modules   Tags:
2

db_query select for longtext type ?

http://drupal.org

I bet this will be easily resolved but I did the following db_qerry just to see if I can get one field from my database:

<?php
$content_youtube_video_field=db_query("SELECT field_play_youtube_value FROM {content_type_drigg} WHERE nid= %d", 16);
   db_query("INSERT INTO {debug} (cck_embed_video,flashvars_init,flashvars_end) VALUES ('%s','%s','%s')",'toto','tata', $content_youtube_video_field);
?>

Read more »
Created by Dplanet 2 years 46 weeks ago
Category: Modules   Tags:
2

Organic Groups and Storm

http://drupal.org

I'm setting up a collaborative architectural competitions site, and I think that Organic Groups and Storm would be great modules for this. However, I can't seem to get the two of them to work together. Is there a way to sync these modules so that they work together?

Here's the site, FYI:

http://www.grandtradition.net/TradArchCompGroup

Thanks in advance for any guidance you can offer!

Read more »
Created by Dplanet 2 years 46 weeks ago
Category: Modules   Tags:
2

"Token has been used previously for a request"

http://drupal.org

I have a program in c# that logs in, reads a node, and then attempts to save a new node. When it tries to call node.save I get the error "Token has been used previously for a request"

Why is this generated?

Read more »
Created by Dplanet 2 years 46 weeks ago
Category: Modules   Tags:
2

Reload to the same page with 2 new textboxes?

http://drupal.org

hi all,
i make my custom module and i tried to create a table and load into the title and url from a db plus 2 other links "Edit" ,"Delete" and i hope when user click to edit link for example reload the same page but make the 2 textboxes title and url editable (enable user change the value) then press Ok which submit this changes on db

Finally i have 1 button "ADD" which reload to the same page too to make new 2 tetboxes ...?

how can i deserve this ,this is all what i reach????????????

Read more »
Created by Dplanet 2 years 46 weeks ago
Category: Modules   Tags:
2

Seperate profile fields for roles

http://drupal.org

Hi all, is there any module that provides seperate profile creation based on the roles??

like i need seperate profile for editor and a seperate profile for blogger..

regards

Shady

Read more »
Created by Dplanet 2 years 46 weeks ago
Category: Modules   Tags:
2

reload the page under condition

http://drupal.org

how can i reload the page if the user click a spacific link.....?

Read more »
Created by Dplanet 2 years 46 weeks ago
Category: Modules   Tags:
2

Image upload module(to use in $form)

http://drupal.org

Hi all
I need a module which provides an "image upload" form which I can use it in my forms.
for example:
$form['picture']=array(
'#type'=>'image upload'
...
);

Thanks.and sorry for my probable English mistakes:)

Read more »
Created by Dplanet 2 years 46 weeks ago
Category: Modules   Tags:
2

shuffle lines in an array

http://drupal.org

Hi there!

I have created a module with its own content type. Each new node of this content type writes a database line in the {node} table and 4 lines in a new custom table. Below is my hook_load().

What I am trying to do is to shuffle the order of these 4 lines from the custom table when retrieving them.

Read more »
Created by Dplanet 2 years 46 weeks ago
Category: Modules   Tags:
2

Alter new user name after submit but before db insertion

http://drupal.org

I'm trying to build a module that can grab the new user info after the submit in order to add a 4 character random number at the end of the username and then insert it into the db.

I've tried $form and $form_state which has the new user data in the #parameter key but the db insertion has taken place before these arrays are made available to my module.

Is there another array or resource available to my module that will allow me to intercept the new user data before it gets inserted into db?

Read more »
Created by Dplanet 2 years 46 weeks ago
Category: Modules   Tags:

PSD to Drupal Theme

Drupal Development

Module Development

Get an Estimate

Best published scoops - Modules

Recent comments