Thank you i'mbatman
but the feature print system node url nor the alias.
Can you check?
Have you clean the cache?
Look inside metatag\Plugin\Field\FieldFormatter if MetatagEmptyFormatter exists.
Thank you
You need to use MetatagFormatter not EmptyFormatter.
@aditi saraf
- go to node article configuration page
- add metatag field to node
- go to your view
- setup you view as table of fields
- add new field to view. search for metatag field name.
- run the view
- the metatag column field is empty.
@aditi saraf
The problem is not the metatag into html page but the value of metatag in view table.
Add metatag field to your view and show me the result table with metatag column.
The metatag column is empty.
Thank you
@aditi saraf try my patch
thank you
@tostinni, create a simple view of articles.
When i add metatag field i have only the "Empty formatter" in the formatter select.
The formatter code is:
/**
* Plugin implementation of the 'metatag_empty_formatter' formatter.
*
* @FieldFormatter(
* id = "metatag_empty_formatter",
* module = "metatag",
* label = @Translation("Empty formatter"),
* field_types = {
* "metatag"
* }
* )
*/
class MetatagEmptyFormatter extends FormatterBase {
/**
* {@inheritdoc}
*/
public function viewElements(FieldItemListInterface $items, $langcode) {
// Does not actually output anything.
return [];
}
}
How can print meta values if the formatter returns empty array?
trickfun → created an issue.
Thank you dvmanjunath
Finally a configuration that works properly!!
trickfun → created an issue.
Hi @harpreet_singh_saluja
patch woks fine.
Thank you
Hi all,
any news here?
Aggregation doesn't work from Drupal 10.X
It's a problem speed up a site without compress css and js.
Thank you
Why doesn't provide a better button? or a button like action?
I don't want override button inside admin theme.
Thank you
The patch show correct value.
Patch #54 works fine on Drupal 11.1
Thank you
Sorry same as
https://www.drupal.org/project/token/issues/1614456
✨
[current-page:query:?] should fall back to empty string
Needs work
but i thnk is a bug not a feature request
trickfun → created an issue.
Same error for me.
Drupal 11.1
Column is empty
trickfun → created an issue.
Hi simonbaese,
here new information
ResponseText: The website encountered an unexpected error. Try again later.Error: Unknown named parameter $__disable_customize__ in Drupal\symfony_mailer\EmailFactory->initEmail() (line 92 of modules/contrib/symfony_mailer/src/EmailFactory.php). Drupal\symfony_mailer_queue\Service\EmailFactory->newTypedEmail('easy_email', 'user_password_recovery', Array, 1) (Line: 87)
Drupal\symfony_mailer_queue\Plugin\QueueWorker\SymfonyMailerQueueWorker->processItem(Object) (Line: 107)
Drupal\queue_ui\QueueUIBatch->step('symfony_mailer_queue', Array) (Line: 297)
_batch_process() (Line: 139)
_batch_do() (Line: 95)
_batch_page(Object) (Line: 52)
Drupal\system\Controller\BatchController->batchPage(Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 593)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 121)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 183)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 53)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 116)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 90)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 50)
Drupal\ban\BanMiddleware->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 709)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Drupal 11.1
Symfony Mailer 1.5.0
Enable module
Goto /admin/config/system/mailer/policy/_
Add Queue sending
Goto /user/password
Recover password
I use Queue UI 3.2.1
Goto /admin/config/system/queue-ui
Execute Sends emails and retries failures
Thank you
trickfun → created an issue.
I fix the error and add link to configuration form also in modules pages.
trickfun → created an issue.
Patch doesn't work.
Module doesn't work on D11.
Patch #4 works on D11
Hi leocosmos,
The permission is right.
Other folders were created without problems
The webserver configuration and the permissions are the same in all my drupal installation.
Thank you
trickfun → created an issue.
Thank you @eiriksm
When D11 version will be available?
Thank you
When D11 version will be available?
Thank you
When D11 version will be available?
Thank you
When D11 version will be available?
Thank you
When D11 version will be available?
Thank you
When D11 version will be available?
Thank you
When D11 version will be available?
Thank you
When D11 version will be available?
Thank you
I can't install Commerce 3
Patch is installed but i can't update to 3 version.
Thank you
Yes It would be great.
Thank you
Thank you
trickfun → created an issue.
Any news here?
Patch checks user configuration and change status condition.
trickfun → created an issue.
Same error for me.
I need to uncheck "Shippable" and "Has dimensions" traits before remove module.
May be useful a warning before uninstall.
trickfun → created an issue.
trickfun → created an issue.
Any news about new release?
Thank you
Any news here?
Thank you
Is this module still alive? it looks dead.
any updates from authors?
Thank you
Patch works fine.
Thank you
trickfun → created an issue.
trickfun → created an issue.
trickfun → created an issue.
trickfun → created an issue.
Thank you @zengenuity
now it's clear
Thank you zegenuity
Can you provide better documentation to send mail programmatically?
I encountered the same error
Docker image: Ubuntu 20.04
PHP: 8.3
Drupal 10.4.1
Nginx 1.27.3
No css/js folder created inside default/files.
Thank you
trickfun → created an issue.
@megachriz
in production i haven't problem. all item processed
strange behavior
Thank megachriz,
info for you,
if i select "directory" fetcher and running process using "Import" i can process only 200 items.
if i select "upload file" fetcher and i running process using "Import" i can process all items.
When i run feed from feed process page i can't process more than 200 items.
If i setup "Force update", i can update the first 200 items.
If i don't flag "Force update" i can update 0 items.
Only 200 items are processed.
To update more than 200 items i need to change line_limit in yml file.
So line_limit is the max items processed.
I think is important to have this value as field in feed configuration form.
Thank you
Same error for me.
Patch works.
Thank you
trickfun → created an issue.
trickfun → created an issue.
I can't apply path on 3.0.0-alpha1
Thank you
Hi shubham_pareek_19
same error for file field.
Thank you
trickfun → created an issue.
In another project i have this error
module 2.0.9 and patch #270
Uncaught TypeError: Drupal.facets is undefined
attach https://tc.algra.it/modules/contrib/facets/js/soft-limit.js?v=10.3.10:14
soft-limit.js hasn't Drupal in (function ($, once) {
row 6 and row 73
and
TypeError: settings.facets_views_ajax is undefined
updateFacetsSummaryBlock https://tc.algra.it/modules/contrib/facets/js/facets-views-ajax.js?som2ct:227
inside updateFacetsSummaryBlock function i don't have settings.facets_views_ajax variable
i don't install summary block.
I update patch #270 with both fix
Patch #270 works for me with version 2.0.9.
Thank you
trickfun → created an issue.
trickfun → created an issue.
trickfun → created an issue.
Fixed. wrong configuration.
trickfun → created an issue.
trickfun → created an issue.
trickfun → created an issue.
Thank you berdir
trickfun → created an issue.
trickfun → created an issue.
trickfun → created an issue.
trickfun → created an issue.
trickfun → created an issue.
trickfun → created an issue.
Same issue here
https://www.drupal.org/project/commerce/issues/3373306#comment-15866731
✨
Customers cannot edit or delete payment methods during checkout
Active
I think that editing should be directly in checkout because a large number simply close the browser window and never return if there isn't an edit button.
Thank you
I agree. Editing should be directly in checkout because a large number simply close the browser window and never return if there isn't an edit button.
Patch doesn't work on checkout.
This is my controller to generate PDF view with batch
/**
* Starts the batch process to flush image styles.
*/
public function generate() {
$destination = \Drupal::request()->get('destination');
// Create a new batch builder.
$batch_builder = new BatchBuilder();
// Set batch title and messages.
$batch_builder->setTitle($this->t('Generating PDF'))
->setInitMessage($this->t('Starting generating PDF...'))
->setProgressMessage($this->t('Generate PDF.'))
->setErrorMessage($this->t('An error occurred during the generating process.'));
// Add a batch operation
$batch_builder->addOperation([__CLASS__, 'buildPDF'], [$destination]);
// Set a callback to handle completion.
$batch_builder->setFinishCallback([__CLASS__, 'finishBatch']);
// Set the batch.
batch_set($batch_builder->toArray());
// Return a redirect to the batch processing page.
return batch_process();
}
/**
* Flushes a single image style.
*
* @param string $style_name
* The name of the image style to be flushed.
* @param array $context
* The batch context.
*/
public static function buildPDF($destination, &$context) {
// Initialize progress counter, which will keep track of how many items
// we've processed.
$context['sandbox']['progress'] = 0;
$context['results'] = [
'automatic_download' => TRUE,
'redirect_url' => $destination,
];
$export_type = 'pdf';
$view_name = '<view_name>';
$display_id = 'page_1';
// Create the Print engine plugin.
$config = \Drupal::config('entity_print.settings');
$view = \Drupal::entityTypeManager()->getStorage('view')->load($view_name);
$executable = $view->getExecutable();
$executable->setDisplay($display_id);
$scheme = 'public';
$filename = 'pdf_catalog/name.pdf';
$print_engine = \Drupal::service('plugin.manager.entity_print.print_engine')->createSelectedInstance($export_type);
// The Print is sent straight to the browser.
$path = \Drupal::service('entity_print.print_builder')->savePrintable([$view], $print_engine, $scheme, $filename);
$context['sandbox']['progress'] = 1;
$context['results']['vde_file'] = $path;
$context['finished'] = 1;
}
/**
* Callback to handle batch completion.
*
* @param bool $success
* Whether the batch process was successful.
* @param array $results
* The batch results.
* @param array $operations
* The remaining batch operations.
*/
public static function finishBatch($success, $results, $operations) {
// Set Drupal status message to let the user know the results of the export.
// The 'success' parameter means no fatal PHP errors were detected.
// All other error management should be handled using 'results'.
$response = new RedirectResponse($results['redirect_url']);
if ($success && isset($results['vde_file']) && file_exists($results['vde_file'])) {
// Check the permissions of the file to grant access and allow
// modules to hook into permissions via hook_file_download().
$headers = \Drupal::moduleHandler()->invokeAll('file_download', [$results['vde_file']]);
// Require at least one module granting access and none denying access.
// Create a web server accessible URL for the private file.
// Permissions for accessing this URL will be inherited from the View
// display's configuration.
$url = \Drupal::service('file_url_generator')->generateAbsoluteString($results['vde_file']);
$message = t('Export complete. Download the file <a target="_blank" download href=":download_url" data-download-enabled="false" id="vde-automatic-download">here</a>.', [':download_url' => $url]);
// If the user specified instant download than redirect to the file.
if ($results['automatic_download']) {
// Prevents browser from displaying JSON data if automatic download
// is selected.
if (!preg_match("/^.*\.(json)$/i", $results['vde_file'])) {
$message = t('Export complete. Download the file <a target="_blank" download href=":download_url" data-download-enabled="true" id="vde-automatic-download">here</a> if file is not automatically downloaded.', [':download_url' => $url]);
}
}
\Drupal::messenger()->addMessage($message);
return $response;
}
else {
$message = t('Export failed. Make sure the private file system is configured and check the error log.');
\Drupal::messenger()->addError($message);
return $response;
}
}
Very usefull with view.
Thank you
Patch doesn't work with batch process and savePrintable method.
Theme resolver get right theme but PDF is rendered with admin theme again.
This patch fix new URL
trickfun → created an issue.