Insecure permissions in sites/default/files/php

Context: Drupal 8.2.5 and a brand new install, minimal work done on the site, entirely through Drupal: added Mayo as a theme, made it default, changed colors, added a taxonomy vocabulary with three terms, and added the Admin Toolbar and Extra Tools and enabled the Forum. I did not directly touch any of the directories or files with my SFTP client.

Several hours after this, I was notified by the ISP that there were insecure (777) directories and files: sites/default/files/php and below. Nowhere else. They had already changed them all to 755 when they notified me.

How are submit button .js files generated? Selectively modifying Submit functionality.

Hi,

I am a Drupal newbie coming from an old-school embedded systems background. I'm learning Drupal and web from the inside out and want to be able to modify the form submit button functionality for only a specific set of forms before the connection back to the server made. In other words, this would be client-side post-click pre-POST functionality.

How to create exposed filter in view? please advise

Dear All,

I am trying to add exposed filter in views but unfortunately it is not working.
When I enter text to filter the result is nothing! also I wan to use list in filter? how do I use it? I tried with contextual filter and relationships but not working.

Please advise

How to create exposed filter in view? please advise

Dear All,

I am trying to add exposed filter in views but unfortunately it is not working.
When I enter text to filter the result is nothing! also I wan to use list in filter? how do I use it? I tried with contextual filter and relationships but not working.

Please advise

Adding a "new" icon in menus

Is there an easy way to add an "new" icon in menus? I'd like to show which photogalleries that are new for visitors. And perhaps also in the normal feed, perhaps like "updated" or something similar. I've looked in modules and other places, but haven't found anything that seems to make this happen.

Edit:
I'm running the Aegan theme on my photosite. (fotosbypatrick.com)

how to get hal_json format as drupal 8 output

I installed Drupal 8 and this modules on my host:

  1. HAL
  2. HTTP Basic Authentication
  3. RESTful Web Services
  4. REST UI
  5. Serialization

According to drupal tutorials when I enter this URL, drupal would show JSON format of node 1:

www.example.com/node/1?format=hal_json
But It shows the normal (HTML) view of node 1.

What should I do to get JSON or hal+json format as output?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x