I am currently developing my first ever Magento project and have run into a problem I am not able to figure out. Modifying catalog_product_view.xml leads to missing elements such as the review tab and the add to wishlist button. Any reason to why this is happening, and what steps can I take to avoid it? My main problem with it is that it also leads to some extension elements not showing. Thanks.
Related
I have created a component in my project that is purely an ion-slides UI component. I've injected into the main page of my side-drawer template app and I'm experiencing a number of issues/annoyances:
The content doesn't always center within the main pane. It seems as though the width of the individual ion-slide items all get set with an inline element style width that is greater than the pane width! I've realised that this only happens when the whole app is loaded. If I click on the side menu item of the page to reload it individually, the issue disappears. This leads me to believe it's an issue with the order that components are rendered. Can anyone help me understand what is happening? Is it a bug?
Undesired behaviour
I can't work out how to get navigation arrows to display/work - is this possible?
https://stackblitz.com/edit/angular-ionic4-test-yuppm1?embed=1&file=src/app/app.module.ts
The above Stackblitz should help to give you an idea of my setup but it doesn't show the problem I'm experiencing. It does show one other peculiarity though:
With loop set to true in the options, when you get to the last slide and you go to the next slide, it jumps to second element rather than the first! Any help on understanding why this is happening will be appreciated.
Thanks
I am making a form in ms-Access and needed buttons. A problem I am sure lots of you got is the flickering of certain button when going over them. I have searched around and found the same problem multiple time and never found the right answer.
People suggested things like changing labels to disabled textbox but it didn't work. I also tested it without anything else but buttons and it still does it. One of the first suggestion i actually found was disabling the theme, but still nothing. The latest tested suggestion was a pop-up window of the form and it still fail to fix the problem.
If you want to test it, just create a blank form and but multiple button. To see the effect more clearly, disable them all. Then go over them with your mouse multiple time and you'll eventually see the visual-glitch.
Is there reasons why those glitch happen? It seems to have been there for around 10 years. If you got a workaround, i would really appreciate it.
I'm trying to move the navigation menu on a Magento 2 installation. I've created a child theme of the default blank theme and I want to move the navigation menu into the header of the site. At present I've accomplished it in CSS but I would rather move it in the code as it will be cleaner.
I've tried following other posts on this site along with the Magento Docs but all I seem to achieve is making the navigation menu disappear. Below is the code I'm using. It's probably something really small and stupid that I'm doing wrong but I was wondering if anyone out there could look at the code with a fresh set of eyes and spot the error of my ways ;)
Any help gratefully appreciated:
Code:
<move element="nav-sections" destination="page-header" after="block-search"/>
Thanks
Kev
I'm not sure where you want to move it, the following moves it to the very top:
<move element="navigation.sections" destination="after.body.start"/>
In htdocs/vendor/magento/module-theme/view/frontend/layout/default.xml you can finde some destinations that fit your needs.
When I use Hflex property in a included page in a MVVM approach, it doesn't work.
The problem happens when I include some page inside another, and this page has components whose sizes are controlled by hflex property. I already tried to force the rendering of the components using invalidate on parent window load, or Clients.resize(component) when it is created inside the viewmodel class, but with no success. It just happens in this case: pages included in a MVVM scenario.
Here is a way to see the error: http://zkfiddle.org/sample/3bj6e5j/9-Hflex-not-working-with-include-pages-inside-div#source-1.To see the problem, click in the "Open" label, then a combobox is shown. You can see that the size of the combobox is only updated after resizing the browser window or after clicking in the dropdown button
If I explicitly resize the browser window, then the components are correctly sized.
Could anyone give any idea on how to solve it?
It's actually the javascript who does the fault,
Let me explain more. First you set the src of the include correct.
This is before the javascript is called, and your div don't really have a width at that moment.
So it takes that size, what you see.
Then the javascript is called and and actually he show's the div, but with the rendered with of the include at that moment.
How can you fix it : use zUtl.fireSized.
Here is your working fiddle.
I got another problem with Neos. Whenever I try to add a new Page/Shortcut/... the Backend, the top left area becomes mostly unuseable. Top left area after I tried to add new elements
I cannot switch pages, but can edit the current page.
When I push things to live, or refresh the site, the added 'null'-pages disapeer.
Copy/Paste works without problems.
As long as I not try to move things in top left area no error appears.
And no javascript request or network traffic is visible when creating new page elements.
But I don't know how to get rid of this and even don't know where to start search.
Hope you help.
Nice, with a shot in the dark(hope that I used that right) I,ve figured it out. Somwhere in my CSS was something that was in conflict with Neos, so that the inputfield disapeared.
So the solution for that problem was to disable all my css.