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 »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 »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
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 »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 »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 »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 »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.
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 »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:
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 »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 »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 »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 »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?
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 »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 »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 »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.
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 »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 »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?
Hello Drupal Mates,
How do i add a Taxonmy term to the profile options.
Thanks in advance :)
Read more »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.
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 »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
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 »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);
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 »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 »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 »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 »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 »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 »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 »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 »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 ?
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 »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.
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);
?>
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 »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 »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 »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 »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 »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 »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 »