What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Hello. Can I do this on Yves category/edit?id-category=2 ?
Hello.
Can I do this on Yves category/edit?id-category=2 ?
Comments
-
No, editing a category is an action which should be done in Zed and the specific action you ask for is therefore only implemented in the Zed backend (see \Spryker\Zed\Category\Communication\Controller\EditController)
0 -
Ok, Thanks
0 -
How I can get url category in Zed ?
0 -
What do you mean by
How I can get url category in Zed
?
0 -
I need get url by IdCategory
0 -
categoryFacade->read(33) example return null in url key
0 -
SELECT * FROM spy_url WHERE fk_resource_categorynode = 33;
Will show you in the database if there is an url set for your category.
Because urlβs are linked against category nodes it might be the case that your category id is not equal to your category node id.If this query does not return anything, I assume that during the import/creation of this category no URL was generated/imported, so this would be my next step to check
0 -
Wich facade is this?
0 -
Or I need use queryContainer?
0 -
You need to go directly into the database (see https://www.jetbrains.com/help/phpstorm/connecting-to-a-database.html on how to connect using PHPStorm) to execute the query above.
0 -
I find this data in Db π How I need right get them from there π
0 -
src/Spryker/Zed/Url/Business/UrlFacadeInterface.php - in here all methods what I need is deprecated
0 -
In \Spryker\Zed\Category\Business\Model\CategoryReader::findCategoryById it executes post reader plugins, which will add data from other modules (like URL) to the category transfer object.
But as far as I can tell there is no such plugin which will expand the category node with the according url.So you can write such a plugin which implements
CategoryTransferExpanderPluginInterface
or you use the deprecated methods of UrlFacade. I would suggest the first solution as it seems to be future prove.0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 929 Developer Corner
- 787 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random