Create new divs in Zen top content region

I want to insert three divs in the top content region of a Zen sub-theme. My question is should these divs go into mystyles.css, layout.css or should I insert them into page.tpl.php file? Or, better yet, should I create my own region above the top content region provided by Zen, and then define my new divs in my custom region?

Thanks for the help in advance.

TL

add user search button to search block

I'm trying to find a way to add a user search button the to search block (box)
This would mean that people dont have to travel to the search page to search for a user. from any page they can enter a search term into the text field - then they would have two buttons to choose. One would search for nodes the other for users.
Any help or pointers would be great!

Idea for a useful module: allow users to select MULTIPLE content languages

Greetings!
I have been asking for this feature many times from i18n maintainers.
http://drupal.org/node/823116 and http://drupal.org/node/328132

While recognising that this is a useful and practical idea, they won't develop it. But they welcome patches or custom modules, so I turn to Drupal community to see if anyone is willing to write no more than 50-100 lines of custom code.

The basic idea: users can select more than 1 content language, while (naturally) selecting only 1 interface language. This is going to emulate the way that languages behave on www.reddit.com (and youtube.com to some extent).

This screenshot visually explains what I mean: http://drupal.org/files/issues/reddit_content_language_acc.gif

ubercart attributes are not appearing in admin/store/orders/view

when you click on Order View under admin/store/orders/view, the order isn't showing the chosen attributes for that particular order. Is there a way to show the selected attributes in the order detail view?

I am surprised it isn't there by default, it's a rather important part of the order.

thanks!

Preventing SQL injection attacks+ apostrophe handling in Forms

Drupal gurus,

in typical PHP applications I used to use mysql_real_escape_string before I did SQL inserts. However I am unable to do that in Drupal so would need some assistance. And without any sort of function like that, user input with apostrophes is breaking my code.

Please suggest.

Thank You

My SQL is as follows:

$sql = "INSERT INTO some_table (field1, field2) VALUES ('$field1', '$field2')";

db_query($sql);

Completley necessary to disable all modules before upgrading drupal?

Is this completely necessary?

Also, I'm a bit confused as to what disabling a module actually does. Will there be any weird effects of disabling the over 30 modules I have enabled?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 6.x