Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Valentin
    @valentin-
    Hi, I'm sending a mail inside a controller and use setParam('htmlField') to insert content containing html. But the code for {{htmlField}} ist rendered as plain text, showing the html tags. Is it possible to render the field as html?
    2 replies
    baloraki
    @baloraki
    Hi,
    can someone tell me about ui 2.0, if there is more info on it there already?
    https://pimcore.com/en/developers/roadmap
    Jp
    @VeiJar1
    Hey, how to check if my image Asset already exists in Pimcore? These images come from an external source
    2 replies
    Daniel
    @danielczestki
    Hi. Can some one tell me is it possible to enable sorting on grid in Object Search ??
    1 reply
    Patrick Puecher
    @puecher
    Hey, I have ~10.000 Document Pages which are heavily linked each other in ~10 WYSIWYG editors (~30 links per Page). When I open a Page the PHP process loops all linked documents even if the max items on queue is set to 50. It takes a minute or two (seems like an endless loop). Is this a normal behavior and how can I exit earlier? Does pimcore:cache:warming resolve the problem? [Pimcore 6.9] Thanks.
    fmedv
    @fmedv_twitter

    Hi there,
    I was trying to override a DataObject class (as documented in https://pimcore.com/docs/pimcore/current/Development_Documentation/Extending_Pimcore/Overriding_Models.html)
    My config.yaml looks like this:

    `

    pimcore:
        models:
            class_overrides:
                'Pimcore\Model\DataObject\BlogEntry': 'App\Model\DataObject\BlogEntry'

    `

    and the App\Model\DataObject\BlogEntry class looks like this:

    `

    <?php 
    
    namespace App\Model\DataObject; 
    
    use Pimcore\Model\DataObject\BlogEntry\Listing as BlogEntryListing;
    
    class BlogEntry extends \Pimcore\Model\DataObject\BlogEntry {
    
        private function setShowOnHomepageParent(?bool $showOnHomepage)
        {
            parent::setShowOnHomepage($showOnHomepage);
        }
    
        /**
        * Set showOnHomepage
        * @param bool|null $showOnHomepage
        * @return \App\Model\DataObject\BlogEntry
        */
        // this method already exists and is meant to be overriden
        public function setShowOnHomepage(?bool $showOnHomepage)
        {
            if ( $showOnHomepage == true ) {
                // Get all blog entries that are not the current object
                $temp_blog_entry_listing = new BlogEntryListing();
                $temp_blog_entry_listing2->setCondition("id != ?", $this->getId());
                $temp_blog_entry_listing->load();
    
                // Set showOnHomepage to false on all those blog entries
                foreach ( $temp_blog_entry_listing as $key => $blog_entry ) {
                    $blog_entry->setShowOnHomepageParent(false);
                }
            }
    
            $this->setShowOnHomepageParent($showOnHomepage);
    
            return $this;
        }
    }

    `

    Unfortunately when adding a new blogEntry object (in the admin panel via DataObjects) I get the following error message:
    Attempted to load class "BlogEntry" from namespace "App\Model\DataObject". Did you forget a "use" statement for "Pimcore\Model\DataObject\BlogEntry"?
    Server threw exception - could not perform action. Please reload the admin interface and try again.

    What am I doing wrong?

    5 replies
    Katarzyna Kajzar
    @katwer
    Hello!
    In pimcore admin I can throw new error with notification for user: throw new pimcore.error.ActionCancelledException('Cancelled by user');
    How can I set notification without cancelled current action?
    2 replies
    Martina Lindenhofer
    @Marimchen
    Hi, I am very new to pimcore and have a question on Realtions. My Product-Class has a one-to-many relation to my SubCategory-Class and the SubCategory-Class has the Many-to-Many realtion to Product-Class. Now when I assign productA to subCategoryA, the Product does not appear in at SubCategory in this table. Just why? Is there something I can do, to see all Products which are assigned to SubCategoryA somehow?
    2 replies
    Hendrik Hoekstra
    @admin97_gitlab
    Two questions about the pimcore X mail settings, 1. how to set up pimcore mail settings for a mailtrap.io account? 2. why are .env and config/config.yaml included in the repository, when that is the recommended place to add mail account credentials?
    2 replies
    Yentl Jacobs
    @jacobsyentl
    Goodmorning fellas. As you know it's possible to read statistics from your Pimcore instance by surfing to: https://your-instance.com/admin/index/statistics
    However, I was wondering if you could do the same with a tool like postman (no-login) by sending an api-key in the headers? This doesn't seem to work for me :(
    Hendrik Hoekstra
    @admin97_gitlab
    Does anybody know from the top of your head, where the data importer stores the config and the uploaded files?
    4 replies
    Hendrik Hoekstra
    @admin97_gitlab
    image.png
    I am struggling with the datahub and data-importer bundle for some time now and could use some help. Any idea what is causing the "Add configuration" button to be disabled?
    Hendrik Hoekstra
    @admin97_gitlab
    image.png why?? there are no user-right problems that i know of :(
    6 replies
    Alexander Gansky
    @gansky-alexander

    Hello, all !

    I am implementing my own login action and i need to implement user authentication programmatically. I checked a lot of information and tried couple of approaches, but any of them is not working. Could anyone help me with that ?

    This is my code:

    /**
    * Login
    */
    public function authAction(
            Request $request,
            AuthenticationManagerInterface $authenticationManager
        ) {
            $username = $request->get('username');
            $password = $request->get('password');
    
            if (empty($username) && empty($password)) {
                throw new NotFoundHttpException();
            }
    
            /** @var \Pimcore\Model\User $user */
            $user = Authentication::authenticatePlaintext($username, $password);
    
            if ($user) {
                $authenticationManager->authenticate(new UsernamePasswordToken($user->getEmail(), null, 'demo_frontend', $user->getRoles()));
            }
        }

    I have a user after "authenticatePlaintext", but when i call $authenticationManager->authenticate( i got redirecting to "login" action and user is authenticated as "anon.". How can i authenticate user as a user?

    Thank you in advance

    SpeedySynchro
    @SpeedySynchro

    Hello everyone
    I'm trying to install primcore 10.1.7 but I get this error.
    Script Pimcore\Composer::clearCache handling the pimcore-scripts event terminated with an exception

    Can anyone help me?

    Chauhan Mukesh
    @Chauhan-Mukesh
    image.png
    hello I am trying to run command php bin/console pimcore:deployment:classes-rebuild -d -c -vvv but getting following error
    any idea
    image.png
    i am not able to get listing here
    Katarzyna Kajzar
    @katwer
    Hello!
    What is the diffrence between "Custom Metadata" and "Properties" in assets?
    I need to inform system with languages use some assets (product card). Sometimes it's one language, often more or all avabile languages. What would you use in this case?
    frithjof
    @frithjof
    i would assign lang specific assets to product object
    1 reply
    Ibrahim Tanović
    @ibrahim-tanovic
    Hi everyone! I haven't unfortunatelly been able to apply settings on data objects regarding versioning. No matter what is configured in system settings on number of steps to keep for an object, an endless amount of versions is being generated every time an object is saved/published.
    Ulli
    @chris:matrix.ullihome.de
    [m]
    Hi, after installing the DataHub Bundle in Skeleton no Icon appears to access it, has anyone solved this issue ?
    johanlindgren
    @johanlindgren
    It has been working for me? Have you enabled, installed and reloaded the admin interface
    Ulli
    @chris:matrix.ullihome.de
    [m]
    yes

    /var/www/html# bin/console pimcore:bundle:list
    +---------------------------------+---------+-----------+-------------+---------------+----------+
    | Bundle | Enabled | Installed | Installable | Uninstallable | Priority |
    +---------------------------------+---------+-----------+-------------+---------------+----------+
    | AlepLdapBundle | ✔ | ✔ | ❌ | ❌ | ✔ |
    | PimcoreDataHubBundle | ✔ | ✔ | ❌ | ✔ | ✔ |
    | PimcoreDataImporterBundle | ✔ | ✔ | ❌ | ❌ | ✔ |
    | PimcoreEcommerceFrameworkBundle | ✔ | ✔ | ❌ | ✔ | ✔ |
    +---------------------------------+---------+-----------+-------------+---------------+----------+

    Legend: I?: Can be installed? UI?: Can be uninstalled? UP?: Can be updated?

    With the Demi installation that works, but when i use skeleton not
    Demo
    Katarzyna Kajzar
    @katwer
    Is this possible to turn off inheritence of translations just in one script?
    Christian Flack
    @GALCF
    Hi all, I'm trying to run some behat tests locally, but every time I try to request a page, I get the following error: "A request must be available"
    Am I missing test configs?
    Jp
    @VeiJar1
    Hey, how to check in Object listing if relation field is not null?
    Om Bissa
    @opbissa_twitter
    How can I generate absolute url in pimcore LinkGenerator?
    Yentl Jacobs
    @jacobsyentl
    Hi guys, is there known Log4J exposure for the Pimcore tech stack? I assume that Elasticsearch needs to be patched, but are there any other considerations we need to make?
    Katarzyna Kajzar
    @katwer
    I have object with parameter "indeks" and sometimes, for some objects, I couldn't find object by this parametr. Search is not work in admin panel, in listings - anywhere. Where shoul I looking for the reason?
    vaishaliPimcore
    @vaishaliPimcore
    hi what is the stable version of pimcore 10?
    1 reply
    Dennis Barthel
    @deezin
    Hi everyone, I'm currently trying to do a fresh install of a Pimcore project we've recently pushed from 5.8 to 6.9, but none of the DataObjects are generated in var/class/DataObjects after running composer install. Every bin/console command returns a ClassNotFoundException (Attempted to load class "Product" from "Pimcore\Model\DataObject"). Has anyone encountered this issue so far?
    1 reply
    Martina Lindenhofer
    @Marimchen
    Bildschirmfoto 2021-12-15 um 11.14.59.png
    Is it possible in pimcore to change the label of "Data Objects" here?
    frithjof
    @frithjof
    you can use a perspective
    Martina Lindenhofer
    @Marimchen
    ah so in perspective I can rename those labels. hm okay thank you :)
    damianbobrowski
    @damianbobrowski
    image.png

    Hello pimcore community
    I just install pimcore-demo using docker images

    I want to go to User Roles:
    https://pimcore.com/docs/pimcore/current/Development_Documentation/Administration_of_Pimcore/Users_and_Roles.html

    But I cannot find it?
    Could you give me some hints?

    3 replies
    Christian Flack
    @GALCF
    For i18n bundle I get a zone has no site exception in pimcore_object_preview URLs. Is there something I need to configure for these URLs? How can I set a default site for these cases?
    Christian Flack
    @GALCF
    This is the message: "To generate a zone object, you need to assign a valid site if zones are configured. No site assignment found. Maybe there is a typo in your i18n.zones.domains mapping?"
    Jeroen Desloovere
    @jeroendesloovere
    What does "Paste recursive, updating references" do?
    I've read here and there discussions about it, but when I try these copy/paste functionality, none seem to do what you expect.
    1 reply
    Wael-Hamdan
    @Wael-Hamdan
    Hello
    Is it possible to schedule two Data Importers in a way that the second one starts only after the first Data Importer finishes?
    vaishaliPimcore
    @vaishaliPimcore
    image.png
    1 reply
    any idea of this error, When I am trying to rebuild after migrate V6 to V10?