theme menu

I am trying to create a theme. Everything seems to work but I can not get the menu printed.

I use the following code in my page.tpl.php:

<?php 
print theme('links__footer_menu', array('links' => $menu_footer, 'attributes' => array('id' => 'footer-menu', 'class' => array('footer_links', 'inline', 'clearfix'))));
?>

Menu info:
name: footer
URL path: menu-footer

In my theme.info file I do have the following code:
features[] = menu_footer

[SOLVED] Blocks of teasers in one region, two columns?

I'd like to have the most recent10 items of a specific content type appear in the content region as teasers, each with a border; in a two column format.

Do I need to customize a theme in Drupal7?

Images instead of label field in content types

Hello,
I would like to insert images/icons instead of text in the field label, i.e. an id-card instead of the label "name" etc.

Is that possible?
Thanks.

Content Type Availability

Hi,

I was wondering if it is possible to make the information contained in one content type available in another content type?

Let me explain. My website has a number of section including a news section and a knowledge section. Everything bit of news, reports ect goes in the news section. The knowledge centre only contains reports.

Upgrading Drupal 6.22 to 7.4, Login in, Invalid text representation: 7 ERROR: invalid input syntax for integer: "me"

Before the upgrading, I did the housekeeping thing as following:

1. Disabled all contributed modules;
2. Removed all the contributed modules folders;

Using Garland theme.

The upgrading from 6.22 to 7.4 using update.php went smoothly.

When I tried to login from /user, get Error page showing:

The website encountered an unexpected error. Please try again later.

Through PhpPGAdmin, I checked the watchlog and found the error log as the following:

PDOException SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for integer: "me": SELECT base.uid AS uid, base.name AS name, base.pass AS pass, base.mail AS mail, base.theme AS theme, base.signature AS signature, base.signature_format AS signature_format, base.created AS created, base.access AS access, base.login AS login, base.status AS status, base.timezone AS timezone, base.language AS language, base.picture AS picture, base.init AS init, base.data AS data\012FROM \012{users} base\012WHERE (base.uid IN (:db_condition_placeholder_0)) ; Array\012(\012 [:db_condition_placeholder_0] => me\012) "DrupalDefaultEntityController->load() drupal.7.4/includes/entity.inc" line

FYI, there was a module called Me Alias installed in 6.22 ( http://drupal.org/project/me ). I disabled and removed Me module before I started the upgrading.

Any clue on this issue?

Undefined index: db_port in include_once() line 28 & 30 in settings.php

Hi,

I get the following notice after installing/inporting a site in a aegir platform (drupal 7)

D6 platforms work great.

Notice: Undefined index: db_port in include_once() (line 28 of /home/aegir/platforms/drupal7/sites/site.com/settings.php).
Notice: Undefined index: db_port in include_once() (line 30 of /home/aegir/platforms/drupal7/sites/site.com/settings.php).

Can anyone help?
Thanks

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x