I'm trying to run a test using phpUnit. When I run my test in terminal (using ./vendor/bin/phpunit), it gives me the error:
You need to set up the project dependencies using the following commands:
wget http://getcomposer.org/composer.phar
php composer.phar install
Since the error seemed to say I needed to install composer, I did, but was still unable to figure out how to set up dependencies. So, how do I set up the dependencies?
I think I am missing something really obvious, but I have a problem that has cost me several hours already.
I started to build a site at www.watchedlcf.com to promote a fashion show using Drupal 8 beta3, and now that the show has been completed, the fashion designers are adding additional content to keep as a resource to show what they did.
I uploaded the Drupal site straight to the server, chose the Bartik theme, and changed some CSS settings in the admin panels to give it a black background.
I would like to ask if there is a module that provides a form in term's page from witch form I could connect this term with nodes?
Example: I have the term "politics". From terms page can I insert it in a node, or better in many nodes that i ll chose?
Hi, relative newbie building a site in D8 and having some trouble getting my head around the TWIG syntax.
in my page template, I get the page content returned when I put in {{ page.content }}, but it also includes any extra fields I added in addition to the default body field.
How would I just get the body field, WITHOUT the extra fields, or call the extra fields seperately. Let's say my field names are field_image and field_copy?
I tried {{ page.content.body }}, but I'm obviously not grasping this properly....any help would be appreciated, thanks!!
I know that the new thing to do in Drupal 8 is to do everything by route name rather than path but is there a way to create a route object by a path? The example I have is to set a form redirect to a specific page, created via the CMS. Using Drupal::url() requires a path name which would require me to hard code the node ID of the page I wish to use to go along with entity.node.canonical, which seems rather backwards.
Conversely I could programatically create the page in order to give it a specific route, but then that would defeat the purpose of using a CMS.
I'm currently in charge of front-end development at a small agency which currently uses Drupal 7 for its backend. I'm coming from a background where I have been able to modularly develop a site's front-end with clean OOCSS and modern javascript patterns/methodologies. As you might guess, I'm flustered with Drupal 7's output markup. It makes clean and proper (in my view of 'clean and proper' anyways) FED much more difficult than it needs to be.