Questions tagged [sulu]

Sulu is a content management platform based on Symfony made for businesses.

Sulu is a content management platform based on Symfony made for businesses. It’s a flexible CMS to create and manage enterprise multi-sites and a reliable development environment for high-performance apps. With powerful features for developers and a simple UI for editors it’s the ideal engine for state-of-the-art business websites and web-based software.

More info: http://sulu.io/en

161 questions
0
votes
1 answer

Sulu: How to get related article tag url?

I'm getting related (tagged) news articles like this: Related…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/sulu" class="post-tag grid--cell" title="show questions tagged 'sulu'" rel="tag">sulu</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 31 '21 at 12:17">asked May 31 '21 at 12:17</time> <a href="../../users/2899889/milang" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/2899889.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="MilanG" /> </a> <div class="s-user-card--info"> <a href="../../users/2899889/milang" class="s-user-card--link">MilanG</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">6,994</li> <li class="s-award-bling s-award-bling__gold" title="2 gold badges">2</li> <li class="s-award-bling s-award-bling__silver" title="35 silver badges">35</li> <li class="s-award-bling s-award-bling__bronze" title="64 bronze badges">64</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-67739199"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/67739199/sulu-how-to-make-custom-entity-translatable" class="question-hyperlink">Sulu: how to make custom entity translatable?</a></h3> <div class="excerpt">So I have my custom entity type, created it by following official tutorial: https://docs.sulu.io/en/2.2/book/extend-admin.html However entity I got is not translatable like i.e. standard pages or articles. I also didn't any info on how to make it…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/entity" class="post-tag grid--cell" title="show questions tagged 'entity'" rel="tag">entity</a> <a href="../../questions/tagged/translation" class="post-tag grid--cell" title="show questions tagged 'translation'" rel="tag">translation</a> <a href="../../questions/tagged/sulu" class="post-tag grid--cell" title="show questions tagged 'sulu'" rel="tag">sulu</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 28 '21 at 12:51">asked May 28 '21 at 12:51</time> <a href="../../users/2899889/milang" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/2899889.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="MilanG" /> </a> <div class="s-user-card--info"> <a href="../../users/2899889/milang" class="s-user-card--link">MilanG</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">6,994</li> <li class="s-award-bling s-award-bling__gold" title="2 gold badges">2</li> <li class="s-award-bling s-award-bling__silver" title="35 silver badges">35</li> <li class="s-award-bling s-award-bling__bronze" title="64 bronze badges">64</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-67723206"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/67723206/sulu-custom-data-provider-enabletypes-parameters" class="question-hyperlink">Sulu: custom data provider, enableTypes() parameters</a></h3> <div class="excerpt">I'm following official sulu documentation about creating custom data provider: https://docs.sulu.io/en/2.2/cookbook/smart-content-data-provider.html#dataprovider Here, inside ExampleDataProvider class, inside getConfiguration() method there is chunk…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/sulu" class="post-tag grid--cell" title="show questions tagged 'sulu'" rel="tag">sulu</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 27 '21 at 13:29">asked May 27 '21 at 13:29</time> <a href="../../users/2899889/milang" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/2899889.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="MilanG" /> </a> <div class="s-user-card--info"> <a href="../../users/2899889/milang" class="s-user-card--link">MilanG</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">6,994</li> <li class="s-award-bling s-award-bling__gold" title="2 gold badges">2</li> <li class="s-award-bling s-award-bling__silver" title="35 silver badges">35</li> <li class="s-award-bling s-award-bling__bronze" title="64 bronze badges">64</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-67702169"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/67702169/sulu-error-when-trying-to-use-custom-data-provider" class="question-hyperlink">Sulu: error when trying to use custom data provider</a></h3> <div class="excerpt">I'm following docs from here: https://docs.sulu.io/en/2.2/cookbook/smart-content-data-provider.html Trying to make custom data provider for my custom entity type "MatchEvent": I did it how it's explained here. Since I have services.yaml file I…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/sulu" class="post-tag grid--cell" title="show questions tagged 'sulu'" rel="tag">sulu</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 26 '21 at 09:28">asked May 26 '21 at 09:28</time> <a href="../../users/2899889/milang" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/2899889.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="MilanG" /> </a> <div class="s-user-card--info"> <a href="../../users/2899889/milang" class="s-user-card--link">MilanG</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">6,994</li> <li class="s-award-bling s-award-bling__gold" title="2 gold badges">2</li> <li class="s-award-bling s-award-bling__silver" title="35 silver badges">35</li> <li class="s-award-bling s-award-bling__bronze" title="64 bronze badges">64</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-67687330"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/67687330/sulu-smart-field-type-sorting-order" class="question-hyperlink">Sulu smart field type sorting order?</a></h3> <div class="excerpt">I'm using smart content for displaying custom article type (news). At documentation: https://docs.sulu.io/en/2.2/reference/content-types/smart_content.html# it says "Depending on the DataProvider you can define where the items come from…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/sorting" class="post-tag grid--cell" title="show questions tagged 'sorting'" rel="tag">sorting</a> <a href="../../questions/tagged/sulu" class="post-tag grid--cell" title="show questions tagged 'sulu'" rel="tag">sulu</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 25 '21 at 11:49">asked May 25 '21 at 11:49</time> <a href="../../users/2899889/milang" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/2899889.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="MilanG" /> </a> <div class="s-user-card--info"> <a href="../../users/2899889/milang" class="s-user-card--link">MilanG</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">6,994</li> <li class="s-award-bling s-award-bling__gold" title="2 gold badges">2</li> <li class="s-award-bling s-award-bling__silver" title="35 silver badges">35</li> <li class="s-award-bling s-award-bling__bronze" title="64 bronze badges">64</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-67671322"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/67671322/sulu-how-to-query-custom-entity-type" class="question-hyperlink">Sulu: how to query custom entity type?</a></h3> <div class="excerpt">I have defined custom entity type "matches" and it is back-end editable, everything works as expected. Now I need a way to query content in that type. Can smart content field type do that? I expected that xml like this would do the trick: …</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/entity" class="post-tag grid--cell" title="show questions tagged 'entity'" rel="tag">entity</a> <a href="../../questions/tagged/sulu" class="post-tag grid--cell" title="show questions tagged 'sulu'" rel="tag">sulu</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 24 '21 at 11:30">asked May 24 '21 at 11:30</time> <a href="../../users/2899889/milang" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/2899889.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="MilanG" /> </a> <div class="s-user-card--info"> <a href="../../users/2899889/milang" class="s-user-card--link">MilanG</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">6,994</li> <li class="s-award-bling s-award-bling__gold" title="2 gold badges">2</li> <li class="s-award-bling s-award-bling__silver" title="35 silver badges">35</li> <li class="s-award-bling s-award-bling__bronze" title="64 bronze badges">64</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-67570420"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/67570420/sulu-strange-hash-related-error-when-trying-to-save-page-post" class="question-hyperlink">Sulu, strange hash related error when trying to save page / post?</a></h3> <div class="excerpt">Until recently everything was working well. Now, when I try to save (create or update) any page or post I get error message at top of the form "Error - There was an error when trying to save the form". In error log I see this error: “Uncaught PHP…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/elasticsearch" class="post-tag grid--cell" title="show questions tagged 'elasticsearch'" rel="tag">elasticsearch</a> <a href="../../questions/tagged/runtime-error" class="post-tag grid--cell" title="show questions tagged 'runtime-error'" rel="tag">runtime-error</a> <a href="../../questions/tagged/sulu" class="post-tag grid--cell" title="show questions tagged 'sulu'" rel="tag">sulu</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 17 '21 at 13:13">asked May 17 '21 at 13:13</time> <a href="../../users/2899889/milang" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/2899889.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="MilanG" /> </a> <div class="s-user-card--info"> <a href="../../users/2899889/milang" class="s-user-card--link">MilanG</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">6,994</li> <li class="s-award-bling s-award-bling__gold" title="2 gold badges">2</li> <li class="s-award-bling s-award-bling__silver" title="35 silver badges">35</li> <li class="s-award-bling s-award-bling__bronze" title="64 bronze badges">64</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-67515235"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/67515235/sulu-how-to-implement-load-more-button-with-smart-content" class="question-hyperlink">Sulu: how to implement "load more" button with smart content?</a></h3> <div class="excerpt">So I defined my field like this: <property name="news" type="smart_content"> <!-- @see https://docs.sulu.io/en/2.2/reference/content-types/smart_content.html --> <meta> <title lang="en">News
MilanG
  • 6,994
  • 2
  • 35
  • 64
0
votes
1 answer

Sulu: custom entity type - FOS rest api routes are missing

I followed Sulu documentations for adding custom entity types to Sulu and at point: https://docs.sulu.io/en/2.2/book/extend-admin.html#configure-resources when calling : bin/adminconsole debug:router | grep event I should get all kinds of routes for…
MilanG
  • 6,994
  • 2
  • 35
  • 64
0
votes
1 answer

Sulu: Where to place XML file for custom entity?

I'm following documentation for adding custom entities in Sulu: https://docs.sulu.io/en/2.2/book/extend-admin.html#list-configuration-and-controller and it describes how to create XML file that additionally describes my custom entity type, but it's…
MilanG
  • 6,994
  • 2
  • 35
  • 64
0
votes
1 answer

How to replace the user/contact form in Sulu?

I want to know how to change/replace the user/contact form in Sulu i.e. https://sulu.rocks/admin/#/contacts/1/details. I want to remove the fields for Addresses, Bank accounts, etc. I tried to copy the…
Malte
  • 1
0
votes
0 answers

Sort selected contacts as ordered in admin

It's possible to sort contacts when using the contact selection content type in SULU Admin. However, I found no reference or example how the set order can be used in the respective display-loop. How can I get the contacts in the set order?
berkyl
  • 431
  • 4
  • 20
0
votes
1 answer

Create a Block with data from database in Sulu

I need to build a block with data from (Symfony) Entity. For example a carousel with last 3 item/record from database. This block can appear in more than just a page. I know that I can use a custom controller but is that the best technical choice…
0
votes
1 answer

How add new option at sulu administration interface?

What steps should I follow to add a new option to the left menu of the SULU administration panel? Following the documentation I did not succeed.
0
votes
1 answer

Sulu image format variations always stored locally even when master image stored on S3

We have configured Sulu to store uploaded media files in S3, however when various image sizes and formats are generated (according to the image formats specified in /config/image-formats.xml) the resulting files are stored on the local server in…
jamiemax
  • 179
  • 13