Issue with theme integration Magento 2 - magento2

We are currently working on Magento 2 Community edition . We are stuck with front end integration.
We have created a custom theme inherited from Luma. But we are not able to add custom css/js files with default_head_blocks.xml file. Seems like default.xml is not getting overrided. It would be really great if you can help as soon as possible since we are stuck for last 2 weeks.

Related

Edit a chart dashlet query in sugar crm ce 6.5

I'm a php developer but haven't yet worked with Sugar CRM yet. Where do i find the files for dashlet charts?
Tried editing the files inside modules/Charts/ but there were no change found in front end.
modules/Charts/Dashlets/{Dashlet}/{Dashlet}.php
Taken from the documentation, which also includes a guide.
You'll ideally want to make the changes in custom/modules... though.

Magento 2 : whatever changes I did are reset after 1 or 2 days

I have a question I am working on my client's site and he migrated the site from Magento 1.9 to Magento 2.1.0, also the magneto 2 theme from swissup lab is installed to site.
Basically, I need help in this, whatever changes I made to site it reverts after 1 or 2 days. Is this happen because I haven't created a child theme and do changes?
Changes like,
add smartchat script to header file.
add quantity increment decrement buttons to product, page and cart page.
add footer links etc.
I have done these changes to the files using template path hints and add code to files.
It would be better not to edit Magento files directly and make the desired changes using modules.
Because, when a client will update his Magento or theme, you may lose the changes that were made.

Segment resolving in AEM / CQ5 using initializeTeaserLoader adding multiple divs inside campaign target

The below code is part of teaser.jsp (/libs/cq/personalization/components/teaser/teaser.jsp)
<script type="text/javascript">$CQ(function() {
initializeTeaserLoader(<%=allTeasers%>, "<%=strategy%>", "<%=targetDivId%>", "<%=(WCMMode.fromRequest(request) == WCMMode.EDIT)%>", "<%=trackingURLStr%>", "<%=resource.getPath()%>");
});</script>
Similar code we used in our customized teaser jsp.
The aboveinitializeTeaserLoader method is adding multiple divs inside the target div at the first time when offerpage is resolved.
Ideally it should have only one resolved div. Is there any solution for it?
Note: On page refresh functionality is working fine. But our application is single page application may be this issue is coming.
Its seems to be an existing issue with OOTB teaser component.Apparently same thing happened in our project, we were using Angular Js on top of AEM (6.1).
We we went to ADOBE with a ticket and got one patch for the same problem (and few more, not relevant to this question).
Most probably if you go ahead and use 6.2, this problem should not persist.
Good LUCK (y)

TYPO3 Calendar plugin/extension. Which one to choose?

I have no clue about where to get started with my calendar plugin. Can you please suggest me if it's easy to create one from the scratch or use an existing one and modify it. If it's the later, which plugin would be better. The following are some key functionalities of my calendar:
The created events should be approved by someone (maybe an authorized group or something).
The events should be customized to be displayed only on specific pages or all the pages.
Add media library
Now, which one would be a better idea...to start a new one..or build on an existing one ? . I'm using TYPO3 6.1.0. and extension builder for creating an extension/plugin.
Thanks
The most popular calendar TYPO3 extension is cal. I think, it's the most complete one.
http://typo3.org/extensions/repository/view/cal
Currently on TER You could find versions which are compatible with TYPO3 CMS up to 6.2.99. You could or participate in its developement, or You could fork it, or You could be inspired by it's functionalities and make Your own.

In Magento, how can I preview a page before saving it?

I am using the Magento ver. 1.4.0.1 Community Edition. The problem I am running into is that Magento only allows me to preview pages that I have already saved. This works fine if I am creating a new page - but what if I am editing a current page? I want to be sure that the changes I make look good on the site before saving them.
Does anyone know of a way to preview a static cms page before saving the changes made? I'm open to using some sort of plugin if anyone knows of one.
Thanks
Currently there isn't one in Magento, you'll just have to save it and view it.
A lot of the work I've done in Magento has been done on a development server, once everything was set it got moved to the production server. I'm not saying you need two servers, but having at least a development instance of Magento will help when editing a live site.
for non-trivial changes, I normally create a new page with a URL that's not linked anywhere and then load that up to preview, before copying the content/settings to the real page.