How to modify the view of subdirectories within a directory?

When trying to modify the view of an electrode, I prefer this view:

enter the image description here

But I hate the right part where we see the information in every app.
Is it possible to modify it so that it has a default value like this (without the information part on the right):

enter the image description here

8 – When the view has no result with the paragraphs, there is an error

I created a view to show a block on my store page. But my page shows an error when the view has no result. If the view has a result, it works. What is the problem ?

enter the image description here

When I go to my store page, I get this error:

The website encountered an unexpected error. Please try again later.

Here is the PHP error in the logs:

TypeError: Argument 1 passed to DrupalviewsPluginviewsfieldRenderedEntity::getEntityTranslation() must implement interface DrupalCoreEntityEntityInterface, null given, called in /var/www/www-example-com/web/core/modules/views/src/Plugin/views/field/RenderedEntity.php on line 149 in DrupalviewsPluginviewsfieldRenderedEntity->getEntityTranslation() (line 69 of /var/www/www-example-com/web/core/modules/views/src/Entity/Render/EntityTranslationRenderTrait.php)

#0 /var/www/www-example-com/web/core/modules/views/src/Plugin/views/field/RenderedEntity.php(149): DrupalviewsPluginviewsfieldRenderedEntity->getEntityTranslation(NULL, Object(DrupalviewsResultRow))
#1 /var/www/www-example-com/web/core/modules/views/src/Plugin/views/field/FieldPluginBase.php(1155): DrupalviewsPluginviewsfieldRenderedEntity->render(Object(DrupalviewsResultRow))
#2 /var/www/www-example-com/web/core/modules/views/views.theme.inc(236): DrupalviewsPluginviewsfieldFieldPluginBase->advancedRender(Object(DrupalviewsResultRow))
#3 /var/www/www-example-com/web/core/lib/Drupal/Core/Theme/ThemeManager.php(287): template_preprocess_views_view_field(Array, 'views_view_fiel...', Array)
.........

view – Make upcoming events show on ReadOnly homepage in SharePoint

I am new to SharePoint and have added an event view to my home page, as shown in the image below.

Add event view

After adding it, I can see the upcoming events, but at the top of the view, there is a button to add a new event. I would like to know if there is a way to remove that button. Basically to show upcoming events to the user without allowing them to create a new one.

Event view

Thank you.

android: is there any way to copy a view to re-create it in a custom shape?

I am using a library called "Spotlight", it basically highlights the views in the application through which I can share information about the "function".

It has only a few default shapes that I can use to adjust the views, however it allows me to use custom shapes. Like.

  override fun draw(canvas: Canvas, point: PointF, value: Float, paint: Paint) {
    val halfWidth = width / 2 * value
    val halfHeight = height / 2 * value
    val left = point.x - halfWidth
    val top = point.y - halfHeight
    val right = point.x + halfWidth
    val bottom = point.y + halfHeight
    val rect = RectF(left, top, right, bottom)
    canvas.drawRoundRect(rect, radius, radius, paint)
  }

Is there a way that I can copy the properties of a view and create a shape from them at runtime?

I have many different views and creating a uniquely shaped object for each of them takes me a long time, plus I am very new to the Android Paint Draw section.

Ctools manners don't work on links loaded through a View using exposed filters and AJAX

I am using a View in Drupal 7. The view is generating a series of links that I want to open in ctools mode. I am also using exposed filters and AJAX in the form.

All my links have class & # 39; ctools-use-modal & # 39 ;. The links shown in the home page load also have the class & # 39; ctools-use-modal-processed & # 39; and open in a mode as desired. However, as soon as I paged or updated the exposed filter, the newly loaded links do not open in modal mode.

I suppose this is because the ctools modal javascript is only activated once and you don't know how to process the new links once the AJAX call is completed.

Is there anything else I can include in my template to let Drupal know that it should re-enable JavaScript after an AJAX call, or is it that I can re-enable it manually?

In the View template, I include the ctools tools before printing the output:

ctools_include('ajax');
ctools_include('modal');
ctools_modal_add_js();

print $output;

8 – Does custom node access control not work with view access filter?

For some of the mine content types, I have the "Content Protection" check box. If checked, that node should be visible only to the registered user. If it is not checked, visible to all:

function hook_node_access($node, $op, $account) {

  // If $node is a string, the node has not yet been created. We don't care
  // about that case.
  if (is_string($node)) {
    return new AccessResultNeutral();
  }
  if ($node->hasField('field_content_protect')) {
    $protected = ($node->field_content_protect->value == 1) ? TRUE : FALSE;
    $userId = $account->id();
    if ($protected && $userId == 0) {
      return new AccessResultForbidden();
    }
  }
  return new AccessResultNeutral();
}

And this works fine when I try to access the node directly. If protected, anonymous users cannot access it.

Now, I have a view that lists some of those nodes. I want to apply the same logic and not exclude protected nodes for anonymous users. So in my opinion I added filter:

Content access: Access

But it is not working as expected. Is there content for authenticated users, but for anonymous users is all the content in the block just missing? Nodes that do not have this "Content Protection" field checked are also not listed. Why is that? This filter has no options / settings.

I have another option, duplicate the view display, directly check the field and show the first or second block view according to the user, but this solution with content access filter looks more elegant.

usability test: is this column view for answers feasible in a Survey type format?

I have a query about a question type I am working on for a survey design. What I wanted to find out was whether or not this question type (shown in the image below) was valid in UX terms. How difficult is it for a user to understand this type of format and what could be a better way to display this information?

enter the image description here

Here we have an example of the type of question where we want a user to rate the lighting of their workspace in the office and at home by selecting one of the options. When you select an option, it lights up. Once you have finished selecting the options in both columns (as shown below), you will automatically proceed to the next question.

enter the image description here

Can I get some advice or advice on whether this approach works or should be done differently?

I would really appreciate any help you can give me.

pdf: Solid purple color appears when trying to view large files in Preview

I am trying to edit some large uncompressed .tif files (800MB-3.5GB).
While I can open them in Adobe Photoshop and Bridge, I'm having trouble opening the images in Preview as the image starts to resolve when opened and suddenly turns purple. Below are two solid color images that are cleaned in the image as it is resolved from left to right.
Partially covered image
Fully covered image

  • I have checked the images to see if they contain an alpha channel that
    The preview would normally be recognized as a mask. None of the images has
    An alpha channel.
  • I have isolated the layers in Photoshop to extract the image from any baked alpha channel and exported them. The problem still occurs.
  • I have formatted the image to .PNG, the problem still
    it happens.
  • I compressed the image using LZW and the problem still
    it happens.

I contacted the person who took the images to obtain new copies to see if the versions I have are damaged in any way, since when I open them in Adobe Reader this message appears:

Error message

However, the images open well in Windows Image Viewer and Irfanview, which makes me suspect that the images are not corrupted.

I'm less inclined to think that the problem has something to do with image size, since smaller compressed .PNG and .tif files also have the problem.

Currently running OSX 10.15.4 on an iMac 2017 i5 3.4GHz i5, 64GB 2400MHz DDR4 with a Radeon Pro 570 4GB.

Is this a problem that someone else has encountered using the preview before and someone knows what causes it? Better yet, is there a solution?

The ultimate goal is to have these images uploaded to an online archive for students, so making these images compatible with any operating system (if that's the problem) would be the best result.

Health,

K.

isolation level – View schedule serializable or not

enter the image description here

Could you help me understand why the image timeline can be viewed in series without any "blind writing"?

Also, should the results be the same if two schedules are equivalent in sight?

I created a serial version of the schedule and compared it, but they don't seem to see an equivalent to each other.