Logged in as "username" Log out

Hey all,

Can anyone tell me please how can I show the "logged in as" (like in Drupal site)?

It doesn't have to be "Logged in as". The name of the logged in user is enough for me.

Can it be in a block?

Hope that someone can help me...

Thanks.

CSS issue with overlay/popups

I'm having a issue with the overlays in admin mode in D7. When I hit save on a setting, and the page reloads, the overlay get CSS from the main theme instead of the admin theme. So what I see is just the backgrounds in the overlay. When I reload again, everything turns back to normal.

I guess my custom css is overriding the admin one, but I find it strange that there's no content and that it turn to "normal" when I hit reload.

Anyone had the same problem?

Windows server 2003 - file upload

Hello everyone,
I have a problem to upload files in my website. It's the first time that's I use windows server 2003 for hosting. This is the message :
Warning: move_uploaded_file(public://.. [function.move-uploaded-file]: failed to open stream: "DrupalPublicStreamWrapper::stream_open" call failed in file_save_upload() (line 1526 of D:\Applis\Apache2.2\htdocs\...\includes\file.inc).

This version is not compatible with Drupal 7.x and should be replaced.

This theme is an overhauled Bartik, colors module is turned off. A customized version of soundmanager2 is integrated. Was working a few days ago, but made a few minor modifications (changed some names, moved some files around). Changes were made to reorg my themes to use the subtheme hierarchy, with this being the base theme. All the various references to both names and files were updated, but I started getting this error in admin/appearances: This version is not compatible with Drupal 7.x and should be replaced. The subthemes are also getting the same error. Figured I should fix the base theme before worrying about its children.

Another thread mentioned regions[content] = Content, but that's been in the .info file since the very beginning.

Here's the .info... any suggestions?:

; $Id:$

name = DN Base
description = Base theme layout and files
version = 3.2.1
base = 7.x
; Added:
core = 7.x
engine = phptemplate

stylesheets[all][] = css/layout.css
stylesheets[all][] = css/style.css
stylesheets[all][] = css/albumpage.css
stylesheets[all][] = css/mp3-player-button.css
stylesheets[all][] = css/flashblock.css
stylesheets[all][] = css/debug.css
stylesheets[all][] = css/colors.css
stylesheets[all][] = css/overrides.css
stylesheets[print][] = css/print.css

scripts[] = sm2/flashblock.js
scripts[] = sm2/soundmanager2-nodebug-jsmin.js

What is the menu above a content type and how do I add to it?

I have created a custom content type, on the page there is a menu bar across the top. At the moment it has the options View, edit, track, devel - which are obviously the options from core and the modules I've activated.

How would I go about adding custom buttons to this menu to view other content related to the page?

I've looked in the menu settings but it doesn't appear to be there. Is there possibly a module that exposes these menus somewhere?

Help hook theme_gmap_location into page.tpl.php

There is a function in module gmap_location_theme called "theme_gmap_location_user_page" which returns html for a gmap with node. However, function gmap_location_user_page will not be called, unless the callback "map/node" is reached.

Question, what can I do to hook this function to show a map on my site front page? I want to create a variable $googlemap to be used in page.tpl.php, what can I do?

I am new to drupal, hope you can help!!gmap_location_user_page

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x