Hello,
I like to ask two question:
- why "redirect after password reset" is not usual use case? As user ddrozdik said.
Lot of people get very irritated, when after they did a password reset, the next page is their profile page with the "edit" tab. And the first what jumps in the eyes of the user, is a form asking after their "actual password". - Why a redirect from one-time link like: "/user/reset/userID/kljsdkljf897987987987-RANDOM-NUMBER" is pretty edge case as NikLP said?"
- is there no solution like: /user/reset/userID/*
or /user/reset/*
I used:
Redirect upon triggers: One-time login link
Redirect from specific pages: Only the listed pages -» /user/reset/*
Redirect users with roles: test-role
But it seems not to working.
Thank you.
Drupal 9.5.11
Ok, thanks.
Solution:
- I copied the source code Elements (YAML) from /admin/structure/webform/manage/MyWebform/source to a new Webform and recreated the two email handler manually.
- Added the Webform to the same "basic page", as the other Webform was before which created unexpectedly the "Test" tab.
- Now, I have the same page as before, no "Test" tabs, when view as logged in user.
If there is an explanation, please share.
Thanks
Sorry, I didn’t mention. I need Webforms only for logged in users.
I tried another Basic page with a Webform with the same logged in User, there is no "Test" tab.
How it can be related to the Webform?
Thank you.
Hello,
would like to ask again, what does is mean with Drupal core 9.5.10?
When installing a module:
"Package doctrine/reflection is abandoned..."
and:
"Deprecation Notice: Return type of Drupal\Composer\Plugin\Scaffold\Operations\ScaffoldFileCollection::getIterator()..."
$ composer require 'drupal/prlp:^1.10'
Info from https://repo.packagist.org: #StandWithUkraine
./composer.json has been updated
Running composer update drupal/prlp
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 0 updates, 0 removals
- Locking drupal/prlp (1.10.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
- Downloading drupal/prlp (1.10.0)
- Installing drupal/prlp (1.10.0): Extracting archive
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Package symfony/debug is abandoned, you should avoid using it. Use symfony/error-handler instead.
Generating autoload files
44 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
Deprecation Notice: Return type of Drupal\Composer\Plugin\Scaffold\Operations\ScaffoldFileCollection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/htdocs/example.com/web/vendor/drupal/core-composer-scaffold/Operations/ScaffoldFileCollection.php:118
No security vulnerability advisories found
Thank you.
Hi,
sorry its bit off topic, or more benchmarking installation of developer environments? :)
But its also a question of promoting of Drupal... (below to e.g. ressa...)
In last 20 days its already 5-6 hours on investing in a "proper" installation of docker ce (vs. docker desktop), Lando or DDEV on my Ubuntu 22.04.
It failed at different steps...
It needs to jump to a lot of different install instructions, that you get lost easy on the way, if you are not familiar with docker and that stuff.
It seems I'm more quick to install a local LAMP setup than the "advanced" developer environments. 🫤
How about this step: "Caveats" ..."We set docker-ce
as a hard dependency for our packages...."?
https://docs.lando.dev/getting-started/installation.html#docker-ce
dpkg -i --ignore-depends=docker-ce lando-stable.deb
I have not enough permission, and would need additional research, but was reading somewhere some docker stuff should not be used with sudo...
Hi ressa,
somewhere you wrote about questions of publicity/promoting of Drupal...
Do you have an idea about (who could write) a install tutorial e.g. on a virtual machine (Virtualbox, with Ubuntu) and a Drupal developer environment, e.g. Lando? So it could enhance Drupal website.
E.g. at Docker-based solutions overview →
Virtual machine development environment →
: 404 - Page not found
I mean, not just like in Lando install instruction which links to docker (please install docker) and at docker get lost in all the different options. But with a clear suggestion which steps will work with e.g. Virtualbox, with Ubuntu, Docker xy, Lando...
Because of idea of supporting Drupal I would like to donate something for this kind of local install tutorial. Is that idea realistic?
Thanks
Hi,
I never used a local Development Environment. I'm using Ubuntu as OS.
So, would be interesting to hear from people about experience working with the different Environments and Drupal. :)
Thanks (also to ressa)
The from code:
radiobuttons:
'#type': radios
'#title': RadioButtonSet
'#options':
1: 'Radio1 (should print in mail "id1")'
2: 'Radio2 (should print in mail "id2")'
'#required': true
fieldset:
'#type': fieldset
'#title': myFieldset
'#title_display': invisible
'#description_display': invisible
html1:
'#type': markup
'#states':
visible:
':input[name="radiobuttons"]':
value: '1'
'#display_on': view
'#markup': id1
html2:
'#type': markup
'#states':
visible:
':input[name="radiobuttons"]':
value: '2'
'#display_on': view
'#markup': id2
In mail body both tokens printing the desired markup markup (or how to call it?)
[webform_submission:values:fieldset:states:raw]
[webform_submission:values:fieldset:value:raw]
id1 or id2
But it prints in h1 headings before the fieldset title "myFieldset"
myFieldset
id1 or id2
Why?
#7 Nice!
But how to make it visible in the webform submission email? And only hidden in the form?
Package "drupal/webforms" listed for update is not locked.
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Package symfony/debug is abandoned, you should avoid using it. Use symfony/error-handler instead.
Generating autoload files..."
Thanks you
Thanks! I'm not used to patch.
My solution was:
composer remove drupal/permissions_by_term
And install: Version 3.1.21 - 9 November 2022
I would help if I would understand your problem.
But Maybe changing the Subject, attract more people for helping?
Hi,
I struggle at 2) step, after
/admin/structure/views/add
/admin/structure/views/view/calendartest
What do you mean by "You can use any type of date field such as default date field"?
Thank you.
(Forgive me if this isn't the place to post this; feel free to move it to its proper forum.)
Next time, you can just pick by yourself the right forum. Your question (Commerce in production on D10?) would suite to "before you start". ;)
Hello,
I'm not getting it, if we talk the same. I looked the video (think not the first time), but don’t get an idea how (a custom content type) could lead to a CRUD Table?
I don’t mean a node e.g. whole "basic page", which is editable by e.g. farmer vendors.
Is it possible with core functionality to make just a few cells of a table editable? Like in the screenshot?
ceccoo → created an issue.
How to "creating a custom entity" were its possible for auth users to do create/delete/update?
That's a main question. I'm trying to learn Drupal since one year.
Thanks
Also very interested how to disable the "Results" tab.
Thank you very much.
Thanks very much! At least I got step further and put the private sub-folder in the project directory, same level as "web root".
/project
/web (this is the directory where your actual public facing website lives)
/themes
/sites
/tmp
/privatefolder (for security reasons this is outside your web root which is /web
I tried two settings to see how it works, should give the same. Both times it creates the .htaccess!
1) settings.php
$settings['file_private_path'] = '/www/htdocs/account/example.com/drupalproject/privatefolder'
/admin/config/media/file-system
/www/htdocs/account/example.com/drupalproject/privatefolder
2) settings.php
$settings['file_private_path'] = $app_root . '/../privatefolder';
/admin/config/media/file-system
/www/htdocs/account/example.com/drupalproject/web/../privatefolder <----
I only don’t understand, why paths under /admin/config/media/file-system
look different.
Question: Its possible to use the media uploader with new settings.php under /admin/content/media
or does it need absolute/utterly a node with new "file field", to upload files into new privatefolder
?
I tried yesterday https://www.drupal.org/docs/8/core/modules/file/overview → but got stuck, need more time. Also for https://wheelercreek.com/articles/how-to-configure-private-directory-Dru...
Thanks very much!
I still don't get it.
If $settings['file_private_path'] = $app_root . '/../private';
The result under: /admin/config/media/file-system is: /www/htdocs/account/example.com/project/web/../private
is this result ok? Sorry, were I find this private folder?
It gives no error message.
But an added pdf under: /admin/content/media
is still stored in public /web/sites/default/files/2023-03
Why? Thanks a lot!
Hello,
I don’t see a solution for uploading images in the forum. And the trick
8. Accidentally discover when I choose to edit the post that there is now a Files section that allows me to Add a new file.
does not work anymore.
Thanks
Thanks Devashish Jangid → !
I'm still not 100% sure, but it seems to work with:
/admin/structure/webform/manage/mywebform/access
and settings under "View any submissions" choose the specific roles for the specific submission.
Under:
/admin/people/permissions
I enabled only "View own webform submission"
After very long searching the web!
The solution!
To add a webform to existing content, such as a basic page, you will need to ensure that the permission to create a webform is enabled on that content type. You can check this permission by going through Structure -> Content Types -> [select the content type you are working with]. ... Source: https://www.completewebsol.com/drupal-tutorials/creating-working-webforms