Changing the paragraph format of a specific block..?

Hello Everyone,
I've searched on google and on drupal's forum regarding my issue, but due to my lack of understanding and knowledge with Drupal and CSS, I haven't been able to solve my issue.

I am currently reverse-engineering and playing around with an existing theme template, to tailor it to fit my needs.

Display Suite - Code Field - Undefined variable: entity

I'm using Display Suite 7.x-2.0 to render a node. In my custom display, I am including a code field that embeds a view (set up using Embed Views Display 7.x-1.2). The code field contains the following PHP snippet:

<?php
	print views_embed_view('my_embedded_view', 'embed_1');
?>

This part works great and my rendered node includes the embedded view.

The problem is that this embedded view is set up to support a contextual filter to limit the data being displayed. The filter value exists in a field on the node, but I am having trouble accessing it.

The Display Suite documentation states that the code field has access to a variable called $entity.

<?php
	print_r($entity->field_reference_number['und'][0]);
	//print views_embed_view('my_embedded_view', 'embed_1');
?>

When I try to use this variable, I get an undefined variable error:

  • Notice: Undefined variable: entity in eval() (line 2 of /home1/df/public_html/ab/modules/php/php.module(80) : eval()'d code).
  • Notice: Trying to get property of non-object in eval() (line 2 of /home1/df/public_html/ab/modules/php/php.module(80) : eval()'d code).

Drupal 7.x VS WPMU ?

By far! My best websites have been developed on top of the Drupal framework.

Lately, my conundrum is very specifically this:

I have re-written and am in the process of re-factoring a WPMU framework. I inherited legacy code and have been working with it for about 68 weeks for five or six hundred websites. The database does not scale and all day long, I want to bang my head against the wall! ... "if you we were using Drupal, this would be a non-issue".

Meh!

Please post links to Drupal multi-site install?

Taxonomy menu screenshot

This is a screenshot for the taxonomy menu module that I think might help newbies, like myself. I hope it might help some people discern the usefulness of this module by giving them a quick view.

--Thanks, Tierra.

Logueo de drupal desde un sitio externo

me contrataron para realizar la pagina de una dependencia de una empresa la pagina de la empresa esta hecha en joomla y en un subdominio cree el sitio en drupal 7 todo funciona perfecto
solo que me piden que el logueo se haga desde la pagina principal que es la que esta hecah en joomla la idea es que de ahy se guarde el nombre de usuario y el pasword y luego cuando le den click sobre el link que lleva a mi pagina de drupal se le pasen los datos por la url o no se como hacerlo

por favor si tienen alguna idea les agradeceria

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x