Problem with search - call_user_func_array error

Hi im having a problem with the site search,
When im searching something in my website i get a blank white screen.
Ive checked the error and this is what i get:

Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'search_view' was given in-menu_execute_active_handler() (line 503 in-/home/razielli/domains/switchup.co.il/public_html/includes/menu.inc).

Does anyone know what this error is about and how can i fix it?

What's the best way to order front page content?

Hi, there,

I don't have the typical ordered-by-date news stories. I'm creating content "out of order" and would like to be able to pick where it goes on the front page.

Would someone recommend some ways to do this most effectively?

Thanks so much,

- Paul

Specific content type display only

Hello!

Can you tell me how to dislay in a block only the articles type of nodes? Drupal have an option to display blocks only on specified pages, but I need to make a block that displays only the Articles type of content and an another block with recent forum topics. How can I do that? Please help me,

Thank you!

Existing CC portal HTML will not display within Drupal; no module exists for SecurePay US

I am developing a new Drupal website for a non-profit. The last challenge is incorporating a donation-submission form (using SecurePay US, for whom there is no applicable module): when the form code is inserted, the form simply doesn't show up.

I am still inexperienced enough with Drupal to not know whether this is a simple configuration issue (the page is set to Full HTML and I have disabled all HTML filters) or some inherent characteristic of Drupal itself.

Will post any other relevant information as needed. Can anyone help me out here?

How to load Current User's Edit Profile Form

Hi Guys - I am having an issue, while I'm trying to override the "Edit Profile" form. I need a separate URL for edit profile of the user. For this, I have created a URL using Module's hook_menu hook. In the page callback function, i'm trying to load the form using the below code:

function edit_profile() {
global $user;
$output=drupal_render(drupal_get_form('user_profile_form'));
return $output;
}

But, it's just giving me below errors and not returning me the form. Can anyone guide me please.

theme($hook) and how it works?

Hi there,

I'm trying to output themed content to a page and I've been trying to read up on the theme() function and how it works. As I understand, it provides a method to generate themed HTML. That's exactly what I want. Now, what I don't understand is how I pass it the HTML or the variables I want so that the HTML is generated. What's the $hook parameter? Is it a .tpl.php file? How do I structure this file so that the HTML is displayed in the content section of the page? Can someone explain the theme() function in a very simple way?

Thanks,

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x