What is the proper way to retain form values after a form is submitted?

After several hours of searching on drupal.org and google, I have not been able to find anything that solves my problem. I'm very new to Drupal, and I'm hoping that someone here can point me in the right direction.

One-click node reference creation

Hey gang, hoping someone can help me out or point me in the right direction.

Here's the rough user story: a book site has thousands of book nodes. If I'm a logged-in user, and I've navigated to one of those nodes, I want to be a able to hit a button which will add a relationship between that book node and another piece of content over which I have ownership.

After that, a confirmation message would display (but I don't need help figuring out that aspect).

Any ideas on how to accomplish this?

Views UI problem, View type not showing in Structure/Views/add new view area

First time poster...

I'm having a problem with the UI in the dashboard. I have installed drupal 7, and the Views module (7.x-3.0-beta3), along with the 'required by views modules', to enable it.

When I go to Structure/Views/Add new view, I am missing the View type list radial buttons, which means I cannot select the type (in this case I want to set it to node). This makes me think I'm also potentially missing a few other settings too...

Quicktabs and Views module

I'm creating user profiles with custom field.
Than I create a view with some conditions to get all records I need

What I need.
I need per record a quicktabview (4 tabs) (profile, personal information, working hours and pictures)
All tabs filled with (1 page / view) of that profile

So if my view returns 5 profiles I want each profile with a quicktab of these 4 tabs

Now, I get the full view (all records) in that tab

Any suggestions are welcome, how to confugure this!

many, many thanks for your help
Vincent

Ubercart Module, file upload and image preview needed

I am in need of a Drupalist to help integrate Ubercart and a file upload feature, that will also show the end user a preview..

Site is in Drupal 7.

Change URL path and update Alias vertical tab automatically

I want to change the way URL path is forming. For example user creates new content. When user enters some text to the Title field I want to process this text and set some string to URL path. Next I want to update text in Alias vertical-tab.

1. I included reference to myTest.js to .info file
scripts[] = js/myTest.js

2. myTest.js contains code:

(function ($) {

Drupal.behaviors.myBehavior = {
    attach: function (context) {
	    $('#edit-title', context).keyup(function () {
		    var str = $(this).val();
		    var urlStr = myFuncThatReturnsURL(str);
		    var editPathAlias = $('#edit-path-alias', context);
		    editPathAlias.val(urlStr);
		    return true;
	    });
    }
}

})(jQuery);

function myFuncThatReturnsURL(sourceStr) {
...
}

So, because I'm newbie in javascript, jQuery and Drupal, I have next questions:
1. Is this right to update URL input field (#edit-path-alias) in such manner?
2. How to update text in Alias vertical-tab automatically? If I write something like this

    $('#edit-path-alias', context).change(function () {
         //change text in Alias vertical tab
         ......
    }

it will work only if focus set/leave '#edit-path-alias' input field.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x