Drupal is up and running but how do I ...?

drupal_system_catalog doesn't exist

Hmmm, this message has just appeared.

Warning: Table 'database.drupal_system_catalog' doesn't exist query: SELECT DISTINCT dbname FROM drupal_system_catalog LIMIT 1 in /drupal/includes/database.mysqli.inc on line 121

Warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Table FROM drupal_system_catalog' at line 1 query: SELECT DISTINCT tabname as Table FROM drupal_system_catalog in /drupal/includes/database.mysqli.inc on line 121

Drupal 4.7.2, php 5.1.2, mysqli 5.0.18

Problems with french accents and emails... Only with hotmail

Hi there,
First I thought this was a simple news issue, but I realised that the contact form had the same problem as well with user that have hotmail accounts.

They all the accents as weird characters like é, Ã, è, which are I think the ascii equivalents of the accents...

Is there any configuration I should make to make sure all accents work fine with Hotmail?6 Any special module I should use to send emails?? Now it is drupal itself that sends the mails, should I use something like MIME MAIL????

Taxonomy_context very buggy

Returning to taxonomy for a brief while as category module settles down, I find taxonomy_context to be really buggy:

I have turned *off* sub-term info completely, but all the sub-terms still display. Then, its block for a particular vocabulary actually displays links to *all* the vocabs of the site in the menu block.

Does anyone know a way out of this?

Collapsing the right sidebar margin

just wanted to share this if others needed to do something similar ..

I needed a way to "collapse" the right sidebar margin , as otherwise , the monthly view of my largely-populated calendar was going haywire and dropping to the bottom of the page with a huge gap in the middle of the page (was using the spreadfirefox theme).

I finally found the cause was, in layout.css, there was:

* html body .centercolumn
{
margin-right : 247px;
margin-left : 150px;
}

when i would make margin-right to 0 px,

the calendar views would work great (go all the way till the end of the page) but then all other pages would be messed up, because i had a few blocks on the right sidebar on the other pages.

what i finally did was:
1. added a block to the footer with the following javascript code:

document.getElementById("centercolumn").style.marginRight = "0px";

this changes the value of the right margin of the main content section dynamically on the page to stretch till the end of the page.

2. i set this block to display only on pages having the problematic calendar views (monthly/ weekly views)

show only on listed pages:
event/*/*/*/week/*/*
event/*/*/*/month/*/*

3. Added the id "centercolumn" to the centercolumn div in the page.tpl.php so that the javascript finds this element.

basically changed:

to

Input fields for the front page?

Is it possible to create a "content-type" for the front page?

In other words, instead of having static content and a list of node teasers, I would like to have customizable fields.

views, taxonomy & menu query! help!

I'm currently producing a site that will contain amongst other things a page for every country in the world. From each country page I want users to be able to select other related pages:

So for my example country Iran, which you can see at http://www.interragate.info/countries/iran/ (CURRENTLY HTML DREAMWEAVER SITE - DEVELOPING DRUPAL SITE OFFLINE AT THE MOMENT - I’ve modified the friendselectric theme to be full page width and made some other alterations so the page design now looks like this - http://www.interragate.info/interragate.gif let me know what you think) there needs to be the following links in a block in the left side bar for each country, with this menu staying in place when you select any of these items and move to those pages so you can move about once within a country - you can see what I mean in the example page for Iran above, as you click on each link they still relate to Iran through a dreamweaver library item:

* (COUNTRY NAME) home - CCK & VIEW
* (COUNTRY NAME) country facts - STATIC EDITABLE PAGE CREATED WIH CCK TO MAKE THE FIELDS
* Hazard profile - STATIC EDITABLE PAGE CREATED WIH CCK TO MAKE THE FIELDS
* News - VIEW
* Significant past events - VIEW
* Contacts - CIVINODE / OR VIEW / OR CCK PAGE
* Links - VIEW

With a page for every country I don't want to hand do a menu for each country as this will be time consuming and mean I’d have to manually update any changes in each country menu.

Pages

Subscribe with RSS Subscribe to RSS - Post installation