file field widget not working

After a standard profile clean install of the latest commit I add a file field to a content type but the upload form element does not appear in the node form.

File field widget test results in 324 passes, 0 fails, 0 exceptions, and 84 debug messages, one of which shows the node edit form without the widget.

I hear from other users that their setup works just fine. What in my setup may I look for in order to troubleshoot this?

Volunteer in Indonesia, Live for Free

Fellow Drupal-ites,

I run a social impact organizations that helps people find the best place to donate their expertise overseas.

We have a REALLY cool opportunity in Indonesia and are looking for a drupal developer. If you want to donate your expertise while you travel, the hosting organization is willing to cover your travel and living expenses while there.

Basic Routing in Drupal 8

I was trying to build a small hello world module which has 1 url defined.

Module name : helloworld
url : sayhi

Expected output: A page that says hi

Here is the code that I had based on a couple of tutorials i found about D8 routing and from https://drupal.org/node/1800686

[root]/modules/helloword/helloworld.info.yml

name: Hello World
type: module
description: 'Just Says Hi'
package: Core
version: VERSION
core: 8.x

[root]/modules/helloword/helloworld.module

<?php

/**
 * Implements hook_menu
 */
function helloworld_menu() {
  $items['sayhi'] = array(
    'title' => 'Hello World',
    'description' => "Say Hi to All",
    'route_name' => 'helloworldhi', // this links the menu item to the route.
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}

/**
 * Implements hook_permission().
 */
function helloworld_permission() {
  return array(
    'access hi' => array(
      'title' => t('Access the page that says hi'),
    ),
  );
}

[root]/modules/helloword/helloworld.routing.yml

helloworldhi:
  pattern: '/sayhi'
  defaults:
    _content: 'Drupal\helloworld\Controller\HelloWorldController::sayHi'
  requirements:
    _permission: 'access hi'

[root]/modules/helloword/Controller/HelloWorldController.php

<?php

namespace Drupal\helloworld\Controller;

News website posting to other drupal websites.

I have a website www.ufodigest.com and have 100s of contributors. My site also has affiliate websites such as www.ufodigest.ca, www.ufodigest.co.uk and www.ufodigest.in plus others.

Drupal 8.x-Alpha2 Enable/Disable Theme

Hello,

I am running Drupal 8.x-Alpha2 on my server and I am currently checking theme development with Twig etc. As soon as I crash the code in my custom template, I might not be able to enter the admin panel to change themes. When I delete my theme, currently Drupal 8.x-Alpha2 does not switch to an alternative core theme (I know, it's Alpha).

Is there any way using Drush8 (which I got up and running) to switch to core theme Bartik or even reset settings in case some core feature will crash my admin panel? Otherwise I have to reinstall, reinstall, reinstall...

***

PHP Fatal error: Call to a member function get() on a non-object in /home/my-accoun/public_html/core/lib/Drupal.php on line 222

Got Dru8 alpha2 installed OK, but can not administer it. When clicking on admin menu to change theme (look), I get following error (in error-log):

PHP Fatal error: Call to a member function get() on a non-object in /home/my-account/public_html/core/lib/Drupal.php on line 222

Any of you have any idea? (posted it as issue as well).

John

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x