This commit is contained in:
Jürgen Mummert
2025-12-23 13:15:48 +01:00
parent afdfa5c807
commit 44b5c9717a
3 changed files with 3 additions and 15 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ class IndexPageListener
$parsed['custom']['searchimage'] ?? null;
if (is_string($image) && $image !== '') {
$set['imagepath'] = trim($image);
$set['searchImage'] = trim($image);
}
/*
+2 -2
View File
@@ -19,8 +19,8 @@ $GLOBALS['TL_DCA']['tl_search']['fields']['priority'] = [
'sql' => "int(1) NOT NULL default '2'",
];
$GLOBALS['TL_DCA']['tl_search']['fields']['imagepath'] = [
'label' => ['Image Path', 'Speichert den Pfad des Bildes'],
$GLOBALS['TL_DCA']['tl_search']['fields']['searchImage'] = [
'label' => ['Suchbild', 'UUID des Suchbildes'],
'exclude' => true,
'inputType' => 'text',
'eval' => ['maxlength' => 512],
-12
View File
@@ -1,12 +0,0 @@
<?php
namespace MummertMedia\ContaoMeilisearchBundle\Service;
class MeilisearchImageHelper
{
public function __construct()
{
// Minimal-Debug
error_log('MeilisearchImageHelper geladen');
}
}