Rendering Form – does not show form elements

Hi you all,

I have a problem with my module: I created a page and want to place a form within the content. Therefore I created a class CreateNewGOTForm:

Multi-site theming best practices

I'm creating a multi-site install for totally different sites using a shared code base. I have installed a theme that will use different colors and more for each site. For example, I want to change the alt text for the logo on each site which requires I alter the theme files.

Could someone point me to a tutorial or other info on how to best approach this other then downloading theme to each site.

For example I have the main theme located in sites/all/themes/ but how to best apply site specific changes to the them?

Thanks.

_t

Help with D8 custom forms, multiple on one page

I wrote a small module that outputs a form with one button that ajaxs a method that runs a small process and returns a result.
When I visit the form via the routing.yml path(/myModule/NodeProcessor), it operates correctly.

I wrapped this form in a custom twig function so I can use it in .twig files which eventually result in more than one of these forms rendering to a page, however they do not operate. When I press the button I get the following error in the console.

Configuration management in D8 - Views import failing

I'm trying to migrate config settings from one D8 site to another. They're very similar sites.

Many of my config settings have migrated OK but when I try to import a View, I get this:

The configuration cannot be imported because it failed validation for the following reasons:

Configuration THEMENAME.settings depends on the THEMENAME theme that will not be installed after import.

View with subheadings

I am dividing the content of my view by tag name by using tag as the sort criteria. I only use one tag per article and want to use the tag names as h3 titles to better present the content on the views page I have created. How do I do this?

Thanks

Submenu Not Showing

Hi

I have a custom theme that when seen on localhost displays the submenus correctly. But when i upload this theme to my online site the submenus do not show. I have created menu items on Main navigation using add link. And I can use drag and drop to make another link a submenu of the above link. I have also ticked the 'Show as expanded' option on the parent item. But when viewing source i don't even see the ul elements inside of li of the parent item. Exactly the same code generates the expanded menu in localhost.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x