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, has anyone an idea why we can’t import new placeholders from `cms_page.csv` with `docker/sdk
Hello, has anyone an idea why we can’t import new placeholders from cms_page.csv
with docker/sdk console data:import --config=data/import/local/our-full-import-file_EN.yml
?
note: the path to cms_page is included in our-full-import-file_EN.yml
In cms_page.csv there are columns already like placeholder.content.en_US, placeholder.content.de_DE which seems to be working on import and here the values will change.
But we have placeholder.subTitle.en_US, …de_DE also, but here the changes doesn’t affect in database table -> spy_cms_page_storage - the values won’t imported 😞
Can anyone help with this problem?
Comments
-
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 ⚖️ - Guardians (admin)
Is this already solved or are you still struggling?
0 -
hello Florian, I’m checking again this by importing the files while a new install process. I changed the name to placeholder.sub_title.en_US … and. .de_DE to check if the camel case was the problem.
0 -
@florian.scholz the problem is already existing. We ain’t able to extend the cms_page.csv with more placeholders than content or title 😞 maybe there are fixed columns but thats not documented as far as I can see 😕
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 ⚖️ - Guardians (admin)
Did you extend this placeholder-list already? https://github.com/spryker/cms-page-data-import/blob/master/src/Spryker/Zed/CmsPageDataImport/Business/CmsPageDataImportBusinessFactory.php#L41
0 -
Ah so there is currently a fixed set and we can extend this with others? Thank you very much for this information, I didn’t found it yet. I think when we extend this we can later adjust more placeholders 🙂 Thank you.
0 -
@florian.scholz is it possible that you can look at this other Problem we struggle with? https://sprykercommunity.slack.com/archives/CKJRJM5FG/p1624378420311300
The probelm is, that we can just add the MAIN_NAVIGATION but if we want e.g. the SOCIAL_LINKS in Footer the widget in twig: {% widget ‘NavigationWidget’ args[‘SOCIAL_LINKS’, ‘navigation-social’] %} doesn’t work, the same problem we have with ‘payments’. We also can’t found any Code for the Widget e.g. a widgetPlugin or so.
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 ⚖️ - Guardians (admin)
“so there is currently a fixed set and we can extend this with others” - yes, seems like 🙂
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 ⚖️ - Guardians (admin)
Can you pls mark this question as solved once you can approve the approach?
0 -
Yes I will mark it as solved 🙂
Can you pls mark this question as solved once you can approve the approach?
Funny is that in cms_block you can extend just the csv file with new columns and it work, we were wondering about why this is another behaviour than cms_page ^^
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 ⚖️ - Guardians (admin)
? 😄
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