> For standard profile, add the exact same/ existing Image field found in Media Image type named field_media_image to any other media types to act as a remote/local video, audio, file, document, etc. thumbnail. Do not recreate another image field, just reuse the existing for consistent use with mixed media contents.
I'm sorry I'm just not understanding this. I create an Image from Media Types and use that in my Content Type carousel, yes? What am I missing? (Just a heads up, I'm out of the office next week but I'll pick this up the following week.)
> Adjust to any bundle others than Image, no problem.
Do you mean to set it to something like Video File? Then how am I going to load static images?
I did exactly as you said but in Views UI in the Fields section under the Media Switcher, the Link drop-down is empty. What do I need to do to get that field populated?
Ok, I created a new field and rendered it as Slick carousel. In Views, I added the new field, set the Formatter as Blazy Media, set Image Style to Slick media, and set the View mode to Slick carousel. Under Rewrite Results, I put <a href="{{ field_link }}">{{ field_image_2 }}</a>
. This results in an unlinked image with the link displayed in a separate box and correctly linked to the destination.
If I set Media Switcher to Image Linked by Link Field, the Link drop-down doesn't offer any choices. That Link field seems to be the crux of the issue. How do I get a value there?
How do I use Media? I don't know what you're referring to.
I did try wrapping the image with the link by creating a Custom Text field with the content:
<a href={{ field_link }}>{{ field_image_carousel }}</a>
The problem is that in the Views Image settings, I only have the choices to link to nothing, content, or file. Whichever I choose overrides the Custom Text field even though Image is excluded from the display.
I'm not sure if I understand. If I go to the Content Type for the carousel then Manage Display and click on the Settings for the Image, I get the Media Switcher and the Link field does contain Link. Is there a bug number for the Views UI issue?
I don't entirely understand what you wrote but I am getting closer. In the Carousel View, I went to Fields -> Image and set the Formatter to Blazy Image. I then set Media Switcher to Image Linked by Link Field. The Link Field drop-down doesn't have any choices but it seems like it should.
In Fields -> Link, I have the Formatter set to Link and "URL only" and "Show URL as plain text" checked on.
What do I do to get the Link field to show up for the Media Switcher Link drop-down?
I went through the Blazy settings; there's nothing about Media Switcher or links. Looking at the Blazy UI Drupal page, it doesn't appear to support Blazy 3 yet.
In the Carousel Views settings, under Link, I see the text: "If Media switcher > Image linked by Link field is selected, it will be gone to serve as a wrapping link of the image, only if its formatter/ output is plain text URL." I just can't find Media Switcher anywhere. Anyone know where it is?
chanelwheeler β created an issue.
Thank you for that but I don't really know what to do with it. PHPMailer is using sendmail. If I do sendmail from the command line, it works fine. I installed the Send Mails β module and that works fine. But if a user signs up for a new account, or my custom module uses mailManager->mail, the email fails. What would allow one method to work but another to fail?
How would I troubleshoot the problem Drupal is having sending the mail?
Thank you. I reduced the stability to beta and that solved the problem.
I figured it out. The URL has to be https://ylndev.yln.info/print/view/pdf/yln_directory/entity_print_views_...
chanelwheeler β created an issue.
Sorry, my bad! I was working on one server while looking at the Drupal interface on another server.
chanelwheeler β created an issue.
chanelwheeler β created an issue.
chanelwheeler β created an issue.
chanelwheeler β created an issue.
I really hope you will update this module to support CKEditor 5 and Drupal 10. We use it constantly and the media library doesn't meet our needs. One, the media library adds all sorts of text and formatting to the file it inserts in the editor. We need just plain text with the embedded URL. Also, the media library limits the file types that you can upload. We need to be able to upload all sorts of file types (we have two intranets). The Insert module is dead simple which is what I need because most of my users are not tech-savvy.
I uninstalled and it did fix the problem. Thank you. I dug around some more and found that I should be using the media library. I got that set up and it's too clever for its own good. I have lists of bulleted links -- the media library puts in extra text and formatting. I also need to be able to upload more formats than the media library allows and I don't see any way to change that.
chanelwheeler β created an issue.
I finally figured it out. I went into php.ini and increased the values for these settings:
max_execution_time
max_input_time
memory_limit
Now it works as expected.
One more thing to add. I installed this with the patch on the production server which is still on the stable releases of Add to Calendar and Date Augmenter. The patch works there so for anyone following this thread, you don't need the alpha/beta to get this to work.
I'm on Drupal 9.5.3. Patch 24 fixed the problem! I confirmed that I can edit and save a meeting, and that I can create a new meeting. No problems in the logs. Thank you!!
Thank YOU for being so helpful. We're dependent on this module.
I installed the new patch, cleared the cache, and tried both editing and creating, and I still get the same errors for each.
I'm using fullcalendar_view, datetime, and datetime_range as well as the aforementioned modules. I have Smart Date Recurring enabled. I don't have Layout Builder installed. The calendar itself is built in Views.
I have a pre-existing calendar with meetings. I am going to the calendar display page and clicking on one of the user group meetings. That brings up a view of all the upcoming dates for that user group. I click the Edit tab which would normally let me edit the dates and instead I get "The website encountered an unexpected error. Please try again later."
Just now I tried creating a new meeting and instead of providing a form, it gave me that same unexpected error. And now there's some meaty info in the logs.
Warning: Undefined variable $recur_manager in smart_date_recur_widget_extra_fields() (line 252 of /var/www/html/yln/web/modules/smart_date/modules/smart_date_recur/smart_date_recur.module)
#0 /var/www/html/yln/web/core/includes/bootstrap.inc(347): _drupal_error_handler_real()
#1 /var/www/html/yln/web/modules/smart_date/modules/smart_date_recur/smart_date_recur.module(252): _drupal_error_handler()
#2 /var/www/html/yln/web/modules/smart_date/src/Plugin/Field/FieldWidget/SmartDateWidgetBase.php(161): smart_date_recur_widget_extra_fields()
#3 /var/www/html/yln/web/modules/smart_date/src/Plugin/Field/FieldWidget/SmartDateDefaultWidget.php(110): Drupal\smart_date\Plugin\Field\FieldWidget\SmartDateWidgetBase->formElement()
#4 /var/www/html/yln/web/modules/smart_date/src/Plugin/Field/FieldWidget/SmartDateInlineWidget.php(35): Drupal\smart_date\Plugin\Field\FieldWidget\SmartDateDefaultWidget->formElement()
#5 /var/www/html/yln/web/core/lib/Drupal/Core/Field/WidgetBase.php(353): Drupal\smart_date\Plugin\Field\FieldWidget\SmartDateInlineWidget->formElement()
#6 /var/www/html/yln/web/modules/smart_date/src/Plugin/Field/FieldWidget/SmartDateWidgetBase.php(492): Drupal\Core\Field\WidgetBase->formSingleElement()
#7 /var/www/html/yln/web/core/lib/Drupal/Core/Field/WidgetBase.php(111): Drupal\smart_date\Plugin\Field\FieldWidget\SmartDateWidgetBase->formMultipleElements()
#8 /var/www/html/yln/web/core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php(183): Drupal\Core\Field\WidgetBase->form()
#9 /var/www/html/yln/web/core/lib/Drupal/Core/Entity/ContentEntityForm.php(121): Drupal\Core\Entity\Entity\EntityFormDisplay->buildForm()
#10 /var/www/html/yln/web/core/modules/node/src/NodeForm.php(127): Drupal\Core\Entity\ContentEntityForm->form()
#11 /var/www/html/yln/web/core/lib/Drupal/Core/Entity/EntityForm.php(106): Drupal\node\NodeForm->form()
#12 [internal function]: Drupal\Core\Entity\EntityForm->buildForm()
#13 /var/www/html/yln/web/core/lib/Drupal/Core/Form/FormBuilder.php(534): call_user_func_array()
#14 /var/www/html/yln/web/core/lib/Drupal/Core/Form/FormBuilder.php(281): Drupal\Core\Form\FormBuilder->retrieveForm()
#15 /var/www/html/yln/web/core/lib/Drupal/Core/Controller/FormController.php(73): Drupal\Core\Form\FormBuilder->buildForm()
#16 [internal function]: Drupal\Core\Controller\FormController->getContentResult()
#17 /var/www/html/yln/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array()
#18 /var/www/html/yln/web/core/lib/Drupal/Core/Render/Renderer.php(580): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#19 /var/www/html/yln/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext()
#20 /var/www/html/yln/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext()
#21 /var/www/html/yln/vendor/symfony/http-kernel/HttpKernel.php(169): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#22 /var/www/html/yln/vendor/symfony/http-kernel/HttpKernel.php(81): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#23 /var/www/html/yln/web/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle()
#24 /var/www/html/yln/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
#25 /var/www/html/yln/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
#26 /var/www/html/yln/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass()
#27 /var/www/html/yln/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle()
#28 /var/www/html/yln/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
#29 /var/www/html/yln/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
#30 /var/www/html/yln/web/core/lib/Drupal/Core/DrupalKernel.php(713): Stack\StackedHttpKernel->handle()
#31 /var/www/html/yln/web/index.php(19): Drupal\Core\DrupalKernel->handle()
#32 {main}
Error: Call to a member function getThirdPartyFallback() on null in smart_date_recur_widget_extra_fields() (line 252 of /var/www/html/yln/web/modules/smart_date/modules/smart_date_recur/smart_date_recur.module)
#0 /var/www/html/yln/web/modules/smart_date/src/Plugin/Field/FieldWidget/SmartDateWidgetBase.php(161): smart_date_recur_widget_extra_fields()
#1 /var/www/html/yln/web/modules/smart_date/src/Plugin/Field/FieldWidget/SmartDateDefaultWidget.php(110): Drupal\smart_date\Plugin\Field\FieldWidget\SmartDateWidgetBase->formElement()
#2 /var/www/html/yln/web/modules/smart_date/src/Plugin/Field/FieldWidget/SmartDateInlineWidget.php(35): Drupal\smart_date\Plugin\Field\FieldWidget\SmartDateDefaultWidget->formElement()
#3 /var/www/html/yln/web/core/lib/Drupal/Core/Field/WidgetBase.php(353): Drupal\smart_date\Plugin\Field\FieldWidget\SmartDateInlineWidget->formElement()
#4 /var/www/html/yln/web/modules/smart_date/src/Plugin/Field/FieldWidget/SmartDateWidgetBase.php(492): Drupal\Core\Field\WidgetBase->formSingleElement()
#5 /var/www/html/yln/web/core/lib/Drupal/Core/Field/WidgetBase.php(111): Drupal\smart_date\Plugin\Field\FieldWidget\SmartDateWidgetBase->formMultipleElements()
#6 /var/www/html/yln/web/core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php(183): Drupal\Core\Field\WidgetBase->form()
#7 /var/www/html/yln/web/core/lib/Drupal/Core/Entity/ContentEntityForm.php(121): Drupal\Core\Entity\Entity\EntityFormDisplay->buildForm()
#8 /var/www/html/yln/web/core/modules/node/src/NodeForm.php(127): Drupal\Core\Entity\ContentEntityForm->form()
#9 /var/www/html/yln/web/core/lib/Drupal/Core/Entity/EntityForm.php(106): Drupal\node\NodeForm->form()
#10 [internal function]: Drupal\Core\Entity\EntityForm->buildForm()
#11 /var/www/html/yln/web/core/lib/Drupal/Core/Form/FormBuilder.php(534): call_user_func_array()
#12 /var/www/html/yln/web/core/lib/Drupal/Core/Form/FormBuilder.php(281): Drupal\Core\Form\FormBuilder->retrieveForm()
#13 /var/www/html/yln/web/core/lib/Drupal/Core/Controller/FormController.php(73): Drupal\Core\Form\FormBuilder->buildForm()
#14 [internal function]: Drupal\Core\Controller\FormController->getContentResult()
#15 /var/www/html/yln/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array()
#16 /var/www/html/yln/web/core/lib/Drupal/Core/Render/Renderer.php(580): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#17 /var/www/html/yln/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext()
#18 /var/www/html/yln/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext()
#19 /var/www/html/yln/vendor/symfony/http-kernel/HttpKernel.php(169): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#20 /var/www/html/yln/vendor/symfony/http-kernel/HttpKernel.php(81): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#21 /var/www/html/yln/web/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle()
#22 /var/www/html/yln/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
#23 /var/www/html/yln/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
#24 /var/www/html/yln/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass()
#25 /var/www/html/yln/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle()
#26 /var/www/html/yln/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
#27 /var/www/html/yln/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
#28 /var/www/html/yln/web/core/lib/Drupal/Core/DrupalKernel.php(713): Stack\StackedHttpKernel->handle()
#29 /var/www/html/yln/web/index.php(19): Drupal\Core\DrupalKernel->handle()
#30 {main}
I upgraded both, cleared the cache, and went through the same steps. I still get the same error.
I'm using 1.0 for both Add to Calendar and Date Augmenter. Should I upgrade?
Unfortunately not.
Drush cr is my first solution to everything. :) I applied the patch but I'm still getting the same error when I click Edit.
I just ran into the same error while upgrading to 3.7. I have PHP 8.1 also. I applied the patch which fixed the problem when you click on the event in the calendar. However, if, for one of those events, I click the Edit tab, I get the error:
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "smart_date_recur.manager". Did you mean this: "smart_date.manager"? in Drupal\Component\DependencyInjection\Container->get() (line 157 of /var/www/html/yln/web/core/lib/Drupal/Component/DependencyInjection/Container.php).
I am using Add to Calendar Date Augmenter, Date Content Augmenter, and Date Augmenter.
When I click Submit and Test Extraction, it says that the extraction seems to be working.
chanelwheeler β created an issue.
I dismantled everything related to Search API and started over. This time it's rendering fine.
I'm seeing this in Firebug:
The resource from βhttps://ylndev.yln.info/β was blocked due to MIME type (βtext/htmlβ) mismatch (X-Content-Type-Options: nosniff). I'm assuming it's related.
chanelwheeler β created an issue.