Kentico 10 Preview Links and Bundled CSS - kentico

We would like to use the Show Preview link via the General tab to share a link to an unpublished page for review. Unfortunately, the page generated seems unable to resolve the bundled .css and javascript and generates 404s for those files.
Anyone know of a way for the preview pages to resolve the bundled css properly?

If your links are not resolving then you have incorrect or invalid syntax in your CSS.
Regarding turning off minimization and it working further confirms your syntax is not correct. The minimization engine fails when it finds incorrect syntax.
To check this turn on minimization and load a page. Download the CSS from the source and look at the last line. There will be an error in the CSS if it has failed to minimize.

Related

Getting CSP reports on www.pagespeed-mod.com

I have switched to using Content-Security-Policy for my website. I'm starting to see reports about the following not being allowed: https://www.pagespeed-mod.com/v1/taas
Does anyone know why the website is trying to load this file? I'm using Google Analytics and Tag Manager, but I don't think that I have any page speed mod installed. Maybe this is an extension in the user's browser? Or when they open developer tools? Another source I could think of is automatic optimization through Cloudflare which I'm also running on.
Extra info: The source of loading this script is https://3001.scriptcdn.net/code/static/1 which doesn't reveal much about who made that.
Had the exactly the same issue and preventing me from using Element Inspector/ debugger. It appears to be some Chrome extension you have installed gone rogue, see if you have extension called "Auto Refresh Plus" installed like i did before.
I also see reports on https://www.pagespeed-mod.com/v1/taas being blocked with the same source of loading. It seems to happen in short periods on the various resources I have reports from. This indicates that it is related to the user/browser and not related to the site itself.
The same can be seen with translators, extensions, security proxies etc. I have given up trying to attribute the source of anything that is likely not caused by legitimate site content.

Rotating banner images are displayed one below the other

When I try to implement rotating banner (RotatingImagesComponent)images are getting displayed one below the other in hybris 1905 on Any quick help is appreciated. I have tried SimpleResponsiveBannerComponent, but same effect.
I assume you're trying to add a slider/carousel to your storefront.
The RotatingImagesComponent is a container used to render multiple BannerComponent components in a carousel.
Try adding BannerComponent type of components inside the banners section of RotatingImagesComponent.
faced a similar issue in past, in my case it was because of conflict between different versions of the bootstrap file(stand-alone file and CDN). If no problem with the hybris, please check the UI side.
That looks like your static files (js, CSS, etc) were not loaded properly.
Check first the console and network in the browser's developer tools for the particular page. to identify the errors that might be there

Using Gatsby how to link to a static html file and open in the same page?

So I have my gatbsy blog with a link static. But when I click it says that gatsby can't find the page. Now I need to reload to actually get the static.html file.
Note that I'm using a simple a tag and not the gatsby-link. I'm not using pushState from history, so not sure how it actually does a soft load.
I want to open in the same page, not target _blank like the how has been "solved" here https://github.com/gatsbyjs/gatsby/issues/2928
Any suggestions on how to fix this?
Thanks
That should normally work. Perhaps you've installed https://www.gatsbyjs.org/packages/gatsby-plugin-catch-links/?=cstc which is catching the link and trying to resolve it within Gatsby?

IBM Connections Customization: Add custom jsp containing navigation, header, footer

We're currently adding a custom jsp file, which can be browsed by clicking a link in the (customized) navigation bar.
Said new page should look like a "native" page in connections and therefore of course contain headers, navigation, footers like any other page in IBM Connections. We added a <jsp:include> for the header.jsp file, which results in the links being shown in the resulting html. However, the styles and js are still missing.
To get around this, we included <lc-ui:dojo include="${javascriptModuleInclude}" /> into our page, since we observed this in other (native) connections jsp files. Sadly, that did not work out at all.
We can't find any help on this in the customization Documentations and the only thread in the official Connections Forum did not receive an answer http://www-10.lotus.com/ldd/lcforum.nsf/d6091795dfaa5b1185256a7a0048a2d0/b9b5303e92c5676d85257c040046ff8c?OpenDocument
Does anyone have insights or even a hint were to look for a solution here?
Customization Dir is located on your system in a directory like /local/IBM/Connections/data/shared/customization
customizationDir/themes/applications/profiles.css
override the css values for lotusPostDetails, you can check exactly what renders the css *rules wise in Firebug, and selectively override
Learn more info at
http://infolib.lotus.com/resources/connections/4.5.0/doc/accessible/admin/en_us/acc_p4.html
Subtopic... Determining where to save your customizations
You will need to restart the Connections Server before the customizations take effect.
you can add common.css as well.
also you can reference oneui as well http://infolib.lotus.com/resources/oneui/3.0/docPublic/index.htm
The bare minimum dependencies required to make the <lc-ui:dojo> tag work in a third party JSP page are:
lc.util.base-3.0.jar
lc.util.web-3.0.jar
lc.config.svc-1.1.jar
com.ibm.connections.directory.services.jar
Please keep in mind that this is not a supported use case — as you pointed out, you're reverse engineering native Connections JSP files. The Connections banner will probably be offered as a reusable UI component through the SBT in the near future.

ckeditor 3.0 causes "unauthenticated content" when simply included on an HTTPS page

When I include ckeditor aka fckeditor (version 3.0.1 revision 4391), which I downloaded from their site last week, into a page that is SSL encrypted, I get the Firefox broken lock icon and the warning "Warning: contains unauthenticated content". However, IE8 doesn't give this error at all. I checked the headers (Live HTTP headers), and everything is being included VIA SSL. Anyone have any solutions regarding this?
This happens by just including the script, like so
<script type="text/javascript" src="/js/manager/settings.js"></script>
I also found the same problem on our secure portal. Only those web pages using the "ckeditor.js" is giving this warning.
Tried for some time searching through the ckeditor js files to find anywhere which uses http instead of https.
"plugins/flash/dialogs/flash.js" is having the embed from "http://macromedia blah blah...". Changing it to "https://macromedia .. blah blah..." did not solve it although our general flash embedded pages works fine with this workaround. :(
I will try to find out some more in the code... tonight.
If you find solution please put it here...
[http://dev.fckeditor.net/ticket/3905][1]
This will be fixed on 3.1.x onwards as it says.
trying to checkout a development tag.
Checked out CKEditor from a development branch under 3.1.x
This is great! the warning is gone.

Resources