Product images in storefront are missing after migration to Intershop 7.9 - intershop

After migrating to Intershop Commerce Management 7.9 the product images in list and details views are missing. Only "No Image Available" is displayed.
In the back office the images are still assigned correctly and visible.

Reason:
Deprecated methods from bc_image have been removed in release 7.9, see "Guide - 7.9 API Changes"
https://support.intershop.com/kb/index.php/Display/2X8235
One of the deprecated methods is ImageContainerBO.getImage(), which was still referenced in ISML template app_sf_responsive/staticfiles/cartridge/templates/default/modules/common/Image.isml
<isset name="image" value="#imagecontainer:Image(imagetypeid, imageview)#" scope="request">
Fix:
Just change Image to ImageBO:
<!--- determine image --->
<isif condition="#isDefined(imageview) AND (imageview NE '')#">
<isset name="image" value="#imagecontainer:ImageBO(imagetypeid, imageview)#" scope="request">
<iselse>
<isset name="image" value="#imagecontainer:PrimaryImageBO(imagetypeid)#" scope="request">
</isif>

Related

In alfresco document property page title is not getting displayed

After uploading document in alfresco site I am clicking edit properties,
but the title at header is not getting displayed properly.
please refer below attached image to understand issue.
Regarding this I have checked the logs in browser console as well as server logs at repository level.
But there is no error.
So I am not getting how to resolve this issue.
Also I have observed that if we open document and then click on edit properties, then its getting displayed properly.
Please suggest me, what will be the issue and how to tackle this type of problems.
Is this a custom form?
If you have defined it in share-custom-config.xml you could insert a template to display the name too.
EDIT:
It might work this way, i havent tried it:
in your form definition
<appearance>
<field id="my:nameType" label="Title Type" mandatory="true" read-only="true">
<control template="/org/alfresco/components/form/controls/custom.ftl">
<control-param name="titleType">My Type</control-param></control>
</field>
</appearance>
you should implement you custom.ftl to display what you want

RTEs accessibilityicons missing in TYPO3 7.6

After upgrading my project from TYPO3 4.x to TYPO3 7.6 there were many broken icons in the front-end:
<a href="mailto:mail#example.com" class="mail">
<img src="typo3/sysext/rtehtmlarea/res/accessibilityicons/img/mail.gif" alt="">mail(at)example.com
</a>
The directory typo3/sysext/rtehtmlarea/res/accessibilityicons/img/ is not there anymore.
How to fix that?
As the directory structure of the extension rtehtmlarea is aligned to the Extbase structure so that the location of some directories changed (Thx to Georg Ringer). The icons are located in typo3/sysext/rtehtmlarea/Resources/Public/Images/ now.
You can easily change the whole content with this SQL snippet:
UPDATE tt_content
SET bodytext = REPLACE(bodytext,
'rtehtmlarea/res/accessibilityicons/img/',
'rtehtmlarea/Resources/Public/Images/');
This rewrites all occurrences of the icons to the new path.
Sometimes also this old path is used: typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Browsers/img/mail.gif
You can adjust obove SQL statement for this too.
Please backup your database before.

Alfresco Share 3.3 - How do I get my new custom type to appear in the Create Content drop down?

I have created a custon type. I can create a Plain Text content item in Alfresco Share and Convert Type to my custom type (my:foo). So far so good.
But, how can I add my custom type to the Create Content drop down?
I tried this by creating $TOMCAT/shared/classes/alfresco/extension/web-client-config-custom.xml
<alfresco-config>
<config evaluator="string-compare" condition="Content Wizards">
<content-types>
<type name="my:foo" />
</content-types>
</config>
</alfresco-config>
But this has not helped. Any ideas?
You haven't specified exact version (3.3a through 3.3g), there are lots of changes from minor to minor version.
Take a look at this topic, you could use some hints.

Plone: Simplesocial like button issue

I need to use the collective.simplesozial on a site.
Through the rules I copied the portlet div into the site:
<after css:theme="#content" css:content="#viewlet-below-content" />
I tried to get the ploneonly package and the default package onto the site, but nothing helped out. (The default package is always on).
iframe.js
simplesocial.js
simplesocial_fanpage_post.js
are successfully included. I don't get any JS errors.
The Likebutton is enabled.
Does anyone have an idea what could be missing, or what could be wrong?
jQuery version is 1.7.2
Plone version 4.2

Plone imagemaps error with zopyx.tinymceplugins.imgmap

I'm using Plone 4.2. I had the need to manage imagemaps in my application so I installed the following product: http://pypi.python.org/pypi/zopyx.tinymceplugins.imgmap. This product uses TinyMCE to edit the images and add links to them.
After installing this product, I noticed that I am now unable to view my TinyMCE controls while editing a content type. Looking at my browser's error console, I notice that all my *.kss cannot be read. This is the error that is displayed for all *.kss files:
Error: The stylesheet http://localhost:8082/plone/portal_kss/My%20CMS%20theme/++resource++tinymce.kss/tinymce.kss was not loaded because its MIME type, "text/plain", is not "text/css".
Source File: http://localhost:8082/plone/folder-test/image-maps-test/page-with-imagemap/edit
Line: 0
I do not understand why there should be error regarding the MIME type. Anyone has a clue on how to fix this?
Additionally, I get the following:
GET http://localhost:8082/plone/portal_javascripts/My%20CMS%20theme/plugins/imgmap/editor_plugin.js 500 (Internal Server Error)
Just to answer my own question:
I opened the product's skins.xml file
(i.e. zopyx.tinymceplugins.imgmap-0.3.1/zopyx/tinymceplugins/imgmap/profiles/default/skins.xml)
This is how it looks like:
<?xml version="1.0"?>
<object name="portal_skins" allow_any="False" cookie_persistence="False">
<object name="zopyx_tinymceplugins_imgmap"
meta_type="Filesystem Directory View"
directory="zopyx.tinymceplugins.imgmap:skins/zopyx_tinymceplugins_imgmap"/>
<skin-path name="Plone Default">
<layer name="zopyx_tinymceplugins_imgmap"
insert-after="custom"/>
</skin-path>
<skin-path name="Sunburst Theme">
<layer name="zopyx_tinymceplugins_imgmap"
insert-after="custom"/>
</skin-path>
</object>
It appears that the product has been geared towards specific themes.
Now, my application has a custom theme i.e. MyCustomTheme. When I inspect my portal_skins
Site > Zope Management Interface > portal_skins > properties
I notice that indeed the "Sunburst Theme" has included the zopyx_tinymceplugins_imgmap skin layer in the 'Plone Default' and 'Sunburst Theme', but NOT in my 'MyCustomTheme'. It has added it right after the custom layer.
So I go ahead and manually add zopyx_tinymceplugins_imgmap in MyCustomTheme, just immediately after the custom layer.
This manages to fix it, and I can now view my TinyMCE controls. I believe there must be a better way to have it work.
Hope this helps someone in future.
UPDATE: See this for a better solution.

Resources