How to not use a whole line (across the page) for breadcrumb?

On my website I get the default breadcrumb very easily, but it also takes up a whole line (of text) for that. So, while the breadcrumb string appears on the left side, the right side is empty (leaving a white / background color empty band). If we put a banner image on the right side with a non-white upper edge, that becomes very visible. There are some pages where I cannot avoid such images, hence the white band is a problem, and will be great to be removed.

Display Suite or Views 3 to customize the layout of an article?

Hi,

I use Views 3 to customize the layout of a list of articles. I do it very well, but I didn't find a way to do the same to display the article itself inside a new layout and select fields to display or not with views 3? I found how to do with Display Suite... It is possible to do the same with Views 3 or do I must use Display Suite? I probably miss something but I was not able to find an help with Google... Thanks :)

Modify Privatemsg node link - how to add arguments from field?

Hi,
with Privatemsg content links activated, the link comes with an argument for return destination out of the box (the content it linked from). I'm trying to add another argument to the Privatemsg content link. The link is constructed with privatemsg function privatemsg_node_view.
To achieve my goal, i'm looking at this line

makes links on view open in new window ( target=_blank etc...)

Hello to all,
Can someone help me,
I create a view with some nodes links.
When I click each link It send me to the url of the node.
I want that my view page will not replaced.
I need that the view links will open in new window - (html code like target=_blank ).
Please can someone help me?
Thanks in advance.

D7, comments in block

ok i am trying to put the comments into a block. i have achieved that so far. BUT the display order of the fields are not respected this way. any tips what api functions/other code i maybe could take a look at.

i also thought about extracting the code out of the $node object and place it into a block, but that sounds not "clean" to me.

as a base i used the "commenblock" module:


<?php
// $Id: commentblock.module,v 1.1.2.2 2009/10/09 08:23:31 ximo Exp $

/**
* @file
* Moves the comment form into a block and provides a default view for the
* comment listing.
*
* Author:
* Dick Olsson (http://drupal.org/user/239911)
* Joakim Stai (http://drupal.org/user/88701)
*
* Sponsors:
* Senzilla (http://senzilla.com/)
* NodeOne (http://nodeone.se/)
*/

/**
* Implementation of hook_views_api().
*/
//function commentblock_views_api() {
// return array(
// 'api' => 2,
// 'path' => drupal_get_path('module', 'commentblock') .'/views',
// );
//}

/**
* Implementation of hook_nodeapi().
*
* This will make room for your custom comment view, by removing the regular
* comment listing from the node body.
*/

function commentblock_node_view($node, $view_mode, $langcode) {
unset($node->content['comments']);
//setting the anker right, seems hacky, find a better way

form_state empty on hook_submit and hook_validate, can't access any vars from form

I've been fighting with this for while and i think i'm going insane... Whatever I do, drupal returns empty form_state as if it never existed or returns '1' I've reinstalled it, reinstalled the whole server and this still persists. bellow is my code, i've cut out whatever i could and it still won't work. If anyone could point me to how:
a) find out why i get empty form_state
or
b) how else can i access the vars people submit in my from?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x