How to enable revisions on Taxonomy Term page description field

Hello

We are working on a community website with alot of focus on the taxonomy pages. We want to make pages likely to Facebook Pages or a Wikipedia like page. Therefor we need revisions on the edits made by the users as well as some kind of log output so we can se who edited what and when.

This is the current setup:
http://battin.dk/share/ss/6p/5pn21htvokogk.png

Drupal 7 How to load a teaser programatically

In Drupal 6, when you make a $node = node_load(14) you get a object $node->teaser immediately.

Drupal 7 seems it's not the case. I understood that the teaser should be here:

$node->body['und'][0]['summary']

but it's not.

drupal_render(node_view(node_load(14),'teaser'));

this will render all "accessories" of the teaser view (comments links, title, admin contextual menu, etc)

How to connect two database in same postgresql server with drupal7?

I use Drupal 7.x-dev(2010.11.30)
1.In files "settings.php":

$databases['default']['default'] = array(
'driver' => 'pgsql',
'database' => 'drupal7',
'username' => 'postgres',
'password' => '',
'host' => 'localhost',
'port' => '',
'prefix' => '',
);

$databases['default']['climdb'][] = array(
'driver' => 'pgsql',
'database' => 'climdb',
'username' => 'postgres',
'password' => '',
'host' => 'localhost',
);

climdb and drupal7 is a database in one postgresql server.
2.In file "modules":

function dbtng_humanmis_entry_load($entry = array()) {
// Read all fields from the A01 table.
$newdb=db_set_active('climdb');
echo $newdb;
$select = db_select('A01', 'e');//A01 is a table in database "climdb".
$select->fields('e');

// Add each field and value as a condition to this query.
foreach ($entry as $field => $value) {
$select->condition($field, $value);
}
// Return the result in object format.
db_set_active();
return $select->execute()->fetchAll();
}

3. direct use database "drupal7" is ok;
but when I want use "climdb":
the drupal7 comes the error message:

Localized install using drush make

How can I make a localized install (and have the translations for both core and the modules automatically installed) when using drush make. I have the following installation profile.

https://github.com/vih/vih.dk-deploy/

Is it possible to do this using drush make?

Drupal Persian

Hi all. Just wanted to inform that I'm offering Persian Translation of Drupal on my site: هاست. The package is not free, yet I will send free copies to the users in this forum to check it.

How do I remove the time posted on D7?

I am working on a site with a blog, and on the blog I would like to show the submitted by with the date only, not time.

Can anyone help with this?

Drupal 7 by the way.

Thanks.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x