Blocks Missing

I have created a new theme, and have been prepping it for Drupal 6. There's not much to it, so all I changed was putting in a .info file, and so forth. On my Drupal 6 installation, when using this theme there are many blocks missing, including Login and Navigation. They don't show up in the Blocks configuration page at all.

But when I switch to the Garland theme, they all show back up.

What would make them do this? Do I need to call them somehow? I've looked through the Garland code and don't see anything.

-micah

error after install D6rc2

Hi
I have error after install D6 Rc2 and enable my modules.

Warning: openlog() has been disabled for security reasons in /home/irdrupal/public_html/percms.com/modules/syslog/syslog.module on line 77

Warning: syslog() has been disabled for security reasons in /home/irdrupal/public_html/percms.com/modules/syslog/syslog.module on line 80

what is it?

my site is http://www.percms.com

JQUERY: Inserting a php statement in drupal_add_js()

Hello

I am trying to start my JQUERY statement like so:

drupal_add_js(
'$(document).ready(function(){
$("div.block-user") ...

Except I want to replace the "block-user" with the name of the block module that I am calling.

I thought that I could simply add a statement like:

<?php print $block->module?>

But it seemingly doesn't recognise the php call from within the drupal_add_js() function.

Adding PostrgeSQL schema to Drupal

Dear friends,

I am a newcomer on Drupal mailing list
and I would like to thank you all for developing this great tool.

I would like to integrate Drupal with existing web services.
Our database is running PostgreSQL 8.2+

PostgreSQL has a neat feature called schema.
A schema is some kind of logical partition in a database.
It is a more powerfull feature than table_prefix as it is more general and built-in.

In database.pgsql.inc, here is what I modified:

  if (isset($url['port'])) {
    $conn_string .= ' port='. urldecode($url['port']);
  }
   $schema='';
  if (isset($url['schema'])) {
    $schema .= urldecode($url['schema']);
  }

  // pg_last_error() does not return a useful error message for database
  // connection errors. We must turn on error tracking to get at a good error
  // message, which will be stored in $php_errormsg.
  $track_errors_previous = ini_get('track_errors');
  ini_set('track_errors', 1);
  //$schema='drupal';
  if ($schema !== '')
  {
    @pg_query($this->db_connect_id, 'SET search_path TO ' . $schema);
  }

  $connection = @pg_connect($conn_string);
  if (!$connection) {
    require_once './includes/unicode.inc';
    _db_error_page(decode_entities($php_errormsg));
  }

I think it is a valuable addition, as it has zero impact on the existing code.

FAPI: Render and store some filter format settings separately

My xbbcode filter module uses its own table to store its extensive markup settings (tags, weights, etc.). Currently it uses its own settings page (admin/settings/xbbcode) to manage this configuration.

In an effort to make the module easier to configure per input format, I would like to move this form into the input format settings that are generated by hook_filter('settings'). However, this way does not seem to provide any way to avoid storing the settings in {variables}, nor do I know how to render the form as a table like it is now.

Hotel Online booking system

Can anyone help me, i need to do an online booking system for a hotel, with further custimisations. Will drupal help me with this? If not, can anyone give me any good hotel online booking systems with php and/ or java? Which maybe are open source or any package software which proves its good?

Thanks

Pages

Subscribe with RSS Subscribe to RSS - Drupal 6.x