More from section/terms

In Taxonomy I created a Author vocabulary, which contains different Author names. I also created Author field in article section of content-type. Is there a way to show a list of articles authored by that particular author when they viewed his article? I tried it out using Views [7.x-3.5] but I am still struggling trying to figure it out! Any help on this will be very much appreciated!

<?php include(…) ?>: strange extra white space at the beginning of page

Hi, Im using Bartik theme. Suddenly I on my pages appeared white stripe space above the header !

I found the solution in google but I dont know what I exactly need to do, please anybody can help me?
http://studentguru.gr/b/solidus/archive/2009/12/30/lt-php-include-gt-str...

How can I have the node comment box always show even to anonymous users?

How can I have the node comment box always show even to anonymous users? Then forward or show a message to register or login when anonymous user clicks the form?

Module not appearing in config

I've been using this guide to develop a Drupal 7 module.

[Solved] Can't Get My Node Type to Show It's Fields!

I am trying to create my first custom module that creates a simple node type wcNames. This node type has two fields, firstname & lastname.
I could get my module create the DB table for node type and add it in node_type table, but when I open node/add/wc-name fields firstname and lastname don't appear.
Below is my code. Please suggest.

// wc_name.install file 
/*
 * hook_schema Implementation: Creates the DB and it's fields
 */
function wc_name_schema(){
    $schema['wc_name_names'] = array(
    'fields' => array(
      'nmid'              => array('type' => 'serial', 'unsigned' => TRUE, 'not null' => TRUE),
      'firstname'        => array('type' => 'varchar', 'length' => 50, 'not null' => FALSE),
      'lastname'         => array('type' => 'varchar', 'length' => 50, 'not null' => FALSE),
    ),
    'primary key'        => array('nmid'),
    'unique keys'        => array(),
    'indexes' => array(
      'nmid'       => array('nmid'),
    ),
  );
    return $schema;
}

//function wc_name_install(){ } // Use this function to set variables for the module. 

function wc_name_uninstall(){ 
    //unset variables if any set 
    
   // Delete all wc_name nodes
  db_delete('node')->condition('type', 'wc_name')->execute();

  // Delete all wc_name tables
  db_drop_table('wc_name_names');
}

<?php
// wc_name.module
/*

Error when saving a modified content type with taxonomy widget type set to Autocomplete term widget (tagging)

Hello,
I get this error "Notice: Array to string conversion in DrupalDefaultEntityController->cacheGet() (line 369 of \includes\entity.inc). ", anytime i try saving an edited custom content type having a field of widget type Autocomplete term widget (tagging) in drupal 7.19.

This error goes when i change the widget type. Thank you.

Kind Regards

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x