However, the search box disappears when the user logs off. In block configuration for "Show block for specific roles" nothing is checked, so "the block will be visible to all users." But it's not.
hi everyone,
I am new to drupal. So, I know basic only.
I want to display list of name from the table 'my_table' as well as give the link. Following is the code,
<?php
function intranet_u_index()
{
$types = array();
$result = db_query('SELECT DISTINCT(name) FROM {my_table_name} ORDER BY name');
foreach ($result as $object) {
$types[] = $object->name;
}
return $types;
hi my name is janaki iam new born to the drupal , i have one dought plz help me , iam inserting values for the drupal database how it possoble i want saparate table for the this inserting values and i want add drupal database one table how it is possible, iam inserting the values from the browser these values go to store in the drupal database in my table how it possible how it possible .plz help mee...............
This might be a very silly question, but why the heck CCK puts a prefix field_ in front of the field name? This creates ridiculous database table names like: field_revision_field_myFieldInfo, field_data_field_myFieldInfo. Can I get rid of this prefix?
If your going to write modules and use someone else modules for your project, then please include the direct link to download those modules. It takes less then 20 seconds to do it, and it makes it easer for the users to find them.