I need advice for my site el-mejor.com

Hello

My name is Silvia, a Spanish girl, and I currently have a site who is hosted on Wordpress. The website is http://el-mejor.com (el-mejor.com)

I love new challenges and Im looking for the best CMS that currently exists. I have heard that Drupal is undoubtedly the best of all because it allows you to develop practically anything that you can think.

D8 - Removing filters in views programmatically

Drupal 8:

I am altering a view using hook_views_data_alter to display a date range filter.
I was able to create the form to look the way I wanted with hook_form_alter.

It looks like this:

Start Date: (textfield, the value of which is a filter)
End Date: (textfield, the value of which is a filter)

Now, this works and it filters successfully. What I'm having a hard time with, though, is a pair of radio buttons I'm generating in hook_form_alter.

Drupal 8: Overriding/theming Views REST Export?

Hello Gurus,
I have a REST Export view display setup in Drupal 8, showing node fields. It's AWESOME.

The challenge: I want to theme/tweak/alter the output of JSON or HAL_JSON. Currently, it's rendering this in JSON:

D8 - Datepicker in views

Is it possible to use the nice datepicker that the Form API has in views? If so, how might one go about doing so?

Limiting what entity reference can point to

I'm creating a hierarchy. Let's say:

- Library
-- Section
--- Book
---- Page

Each level is a different content type, and each level should only be able to point up to the level above.

There seem to be two ways of doing this:

D8 - Form Submit Values

This must be incredibly simple, but I'm having a difficult time understanding how form submission works in Drupal 8.

I have created a form that extends FormBase. I have a controller that is calling that form with
$form = \Drupal::formBuilder()->getForm($form_path);
and then I just return the form.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x