Cannot run li serve-sass command when using Hermes as a parent skin
Has anyone utilizing the Hermes theme as a parent skin been able to successfully leverage theli serve-sass command via the SDK? I've used the command heavily with our previous skin but with our new skin (which leverages Hermes as a parent skin) we get the following error: (node:5279) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): Error: ENOENT: no such file or directory, stat '/path/to/<sdk_project_name>/coreplugin/other/res/skins/theme_hermes'Solved2KViews0likes5CommentsLab / Idea / Unconference Meetup?
I have a couple things on my community backlog that probably require some level of customization - I tend to be looking for stuff in Atlas that already has some traction or headway AND I see lots of "under consideration" ideas AND I see lots of "Did anybody make an XYZ widget in their community..." questions BUT what I haven't yet found (beyond this forum itself) is an available time and place for Devs to get together on their own and either attack a specific common problem OR talk together through a top of mind issue. It could be anything from a KhorosLed affair or even just an Unconferencewe put on ourselves. Would be REALLY great if there was a vanilla lab stood up to do actual live-action work that participants could then try to leverage in their own environments later. Am I just not finding this yet? Do we need to bootstrap something? BlakeH- has this come up before?1.1KViews10likes26CommentsHome Page Styling issue
Does anyone know why I can't get rid of a max-width: 1200px; .lia-content>.lia-top-quilt>.lia-quilt-row-main, .lia-content>.lia-top-quilt>.lia-quilt-row:not(.lia-quilt-row-header):not(.lia-quilt-row-main):not(.lia-quilt-row-main-bottom):not(.lia-quilt-row-footer)>.lia-quilt-column That is the class that has that max-width and when ever I try and override that it doesn't do anything it keeps that max-width and then adds my override as a separateclass.Solved576Views0likes9CommentsThe old developer documentation
Hi everyone, wondering if anyone has screenshots of the old dev docs, api 1 and 2 overviews, before the overhaul that changed it completely to the current view. Doing a feedback session with Khoros and I'd like to demonstrate how the current navigation drives me nuts and the old way made it so much easier to find what I was looking for. Been using this community for a little over eight years and now I still have trouble finding the right api 2 overviews and navigating the pages.564Views1like9CommentsTinyMce/Editor on custom textarea
Hi, I try to use the Khoros TinyMce on a custom textarea element in DOM. I already tried this by using 'window.tinymce.init' or 'window.tinymce.EditorManager.execCommand('mceAddEditor', true, target_element)'. Both commands ends into a vanilla tinymce instance without the Khoros editor settings. Did anyone figure out how to get the Khoros settings of the TinyMce to initiate a TinyMce on a custom field? The target is to add the textarea by JavaScript and initiate the TinyMce after that. Greetings541Views2likes3CommentsCan i pass a pageableItem to common.widget.pager component using jquery
Currently working on creating a page with horizontal nav bar ( ul list ) and a content area. Based on the selected list item, paginated results should show up in the content area. I'm trying to use the pagination component and passing a pageableItem to it. Not sure how to reload the content area and also pass a new item to pagination component upon "click" on the above horizontal nav bar. Thoughts ?!471Views0likes0CommentsWe like the 'Since you were gone' feature here on Atlas - We recreated it and shared the component
We really like the 'Since you were gone' feature here on Atlas. We want to implement this on our Communities. We asked support if this is a component that is available in Studio, it is not. The'Since you were gone' feature is a custom made component just for Atlas. We would love Khoros to share the content of this component so we can fast-track our development of such a component. We feel the entire community here might benefit from sharing this with all of us 🙂Solved451Views3likes8CommentsSet the visitor UI language automatically
Background: Our instance supports 8 different languages for the user interface. Our CDN/Reverse Proxy detects a user's location and can set a user's language based on that. It will, at a minimum, set a cookie. In the past, in the page.init, we would detect if the cookie language was different than the session language and and return a redirect while adding the "?profile.language=xx" parameter. Unfortunately, this caused significant delays for users in China because of the extra round trip. Currently our CDN/reverse proxy rewrites all URLs as they pass through, adding theprofile.languageparameter to *every* page load. This causes some odd side-effects, especially in the admin panel. It's also very challenging to debug when something is off. Does anyone know the recommended approach to making sure that a user (including anonymous users) gets the Khoros page UI in their translated language? Our CDN/reverse proxy does place a cookie that we can read or it could deliver a special header. I imagine we could read this in page.init, but I don't see anywhere in the docs where we can tell the session to switch languages. This all gives hints: This seems to give some suggestion:https://developer.khoros.com/khoroscommunitydevdocs/reference/requestlang Which leans to info about page.init. Which I think leads me to the http.session:https://developer.khoros.com/khoroscommunitydevdocs/reference/httpsession-1 But, what's the attribute that needs setting? Is it "lang"? If anyone has a list of session attributes, that could be helpful. Other related threads I have read: https://community.khoros.com/t5/Khoros-Community-Product/How-can-users-be-directed-to-a-localized-community-based-on/m-p/564967 https://community.khoros.com/t5/Khoros-Community-Product/Launching-a-new-language-language-functionality/m-p/610975 Thanks! Mark435Views2likes12CommentsCSS performance enhancement vs dark mode
Just wanted to share an incompatibility I encountered between the Khoros Community CSS performance improvements and using theprefers-color-scheme: dark CSS media querywhich you might want to use for shipping a dark community theme. So I tried to enable our dark theme by adding to the header wrapper the following: <link rel="stylesheet" href="/html/assets/dark.css" media="(prefers-color-scheme: dark)"> ...but the result was that even for non dark mode browser some elements of this dark.css got included in Khoros' CSS performance improvement inline CSS. The result was that some elements showed styling of dark theme, resulting in low contrast / white text on white background: It looks like the CSS performance enhancement script looks for any styling and whether it applies to the current page. My workaround was restricting the dark theme to only registered users as the script is loading the page anonymously: <#if user.registered> <link rel="stylesheet" href="/html/assets/dark.css" media="(prefers-color-scheme: dark)"> </#if> Hope this helps anyone running into the same problem and ideally Khoros can add prefers-color-scheme for the CSS enhancements going forward.388Views0likes0Comments