This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Do we have anything like front_block (just like front_page)?

Do we have anything like front_block (just like front_page)? I just want one "extra" block for example "announcement" to be seen the first time a visitor comes in. Thereafter I don't want that block to be seen again. What's the best way to do it.

I know I could have two different page templates, one with that "extra" block and the other without that block. First could be the front_page and the second could be the main page. BUT I don't think that's an optimal way. Any suggestions.

thnx

ACH Payment Gateway

Just wanted to drop a post in to say I've developed an ecommerce payment gateway for the USA based ACH service.

It's not available publically yet, but if you would like to help test it on your site drop me an email via my contact form.

how do I debug: "mysql_real_escape_string() expects parameter 1 to be string" for views module?

I'm using the latest copies of views and cck.

I got this error
warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /var/www/includes/database.mysql.inc on line 349.
warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /var/www/includes/database.mysql.inc on line 349.

I had this problem before intermittently.

I did a little reading. It may have to do with multiple select check boxes.

TinyMCE superadmin profile (how?)

Hi, in admin/settings/tinymce I have this 3 profiles:

=> admin - it's me
-authenticated user
visibility/Show on only the listed pages: admin/* node/add/*

=> user - registreted user
-authenticated user
visibility/Show on only the listed pages: comment/*

=> guest - anonymous
-anonymous user
visibility/Show on only the listed pages: comment/*

But I cant understand, why this settings is not well....

Do anyone have an idea, where must I change that one?

Thank you

drupal_http_request consume my CPU

Hello folks,
I'm trying make a module and I need to use drupal_http_request there. The problem is that if I call drupal_http_request on some non-existent site like

$result = drupal_http_request('http://www.drupaaal.org/');

it consumes all my CPU for about a minute.
What more, it looks like the CPU is consumed by mysql-nt.exe

Can someone confirm this or knows how to avoid it?

I'm using Windows Xp, Apache 2.0.52, php 5.1.4
...really afraid of trying it on server where I host

Tab doesn't show

I want to add a tab named "configure" to all nodes. Here's the code I wrote in hook_menu:

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions