Page title
Hi all, I'm changing Community TKB to meet my client needs and I need to change the title of the page which currently is "<name> Knowledge Base" to "Support Articles" I tried to find corresponding text key (I found some but changing them did not make any difference), I also tried to enable text keys display and it seems that title does not have a key. It is being rendered by Page Title component (common.widget.page-title). Does anyone have any suggestions? Does anyone TomasTomasD8 years agoAdept348Views0likes7CommentsUnable to see Idea Statuses in the Idea Page
Hi, We created Idea Statuses in the Community Admin and it is not updating in the Idea Exchange Statuses widget in the Idea Page. We can only able to see "unspecified" option in the list and unable to see the rest of the Options. Can any one guide us how to resolve this issue. Regards, AbhishekSolved150Views0likes3CommentsPage Init on /plugins/common/feature/*
Hopefully this is a quick question to answer... Does the Page Initialization script run on all server requests or just requests to certain paths/pages? Context: I'm trying to run some logic prior to the Lithium SSO page redirecting to our SSO. Use case is that I want to be able to detect if the community needs to redirect the client to the standard SSO or a separate employee SSO. Both SSOs are already integrated but when a user attempts to access a restricted section of the community that requires login, they are always being directed to the customer SSO. Here's my page init code: <#-- Start Employee SSO redirect logic --> <#assign empCookie = http.request.cookies.name.emp /> <#assign requesturl = http.request.url /> <#if requesturl?contains(".com/plugins/common/feature/oauth2sso/sso_login_redirect") && empCookie == "true" > <#assign redirectreason = http.request.parameters.name.get("redirectreason", "none") /> <#if redirectreason == "permissiondenied"> <#assign referer = http.request.parameters.name.get("dest_url", "none")?url /> <#if referer != "none"> <#assign empredirect = "/plugins/common/feature/saml/doauth/post?referer=" + referer /> ${http.response.setRedirectUrl(empredirect)} </#if> </#if> </#if> <#-- End Employee SSO redirect logic --> My current theory is that requests to the Lithium built SSO pages run the page code first or don't execute page init at all. Hopefully I'm wrong. :)SolvedFranzG8 years agoGenius218Views0likes2CommentsV2 API: How to get online user details?
Hi, Following query is giving the count of online users SELECT count(*) FROM users WHERE online_status = 'online'LIMIT 1000 But when we are pulling the online users details by using following query, we are not getting online users instead we are getting offline user details SELECT id,online_status FROM users WHERE online_status = 'online' LIMIT 1000 is there any v2 API to get online user details including avatar? Appreciate your help in this regard. Thanks & Regards, PhaniSolvedphani8 years agoAdvisor240Views0likes3CommentsSDK - li serve-sass broken with latest skin
I've noticed that with the latest updates to the Responsive skins that the SDK no longer works properly, we cannot get li serve-sass to function as it looks for a file that isn't downloaded by the plugin. The result is that our workflow is now broken and we can't compile the skin locally, I've tried installing the SDK on a fresh machine with a new skin created in Studio and replicated the problem. When we run li serve-sass for the first time we get the following error: [08:42:33] Loaded gulp tasks in: 260 ms [08:42:33] Using gulpfile ~/Git-Repositories/responsive/gulpfile.js [08:42:33] Starting 'watch-res-sass'... [08:42:33] GETing responsive options [08:42:33] Finished 'watch-res-sass' after 260 ms [08:42:33] saved configs/responsive.conf.json [08:42:33] No directory found under coreplugins for res/feature/responsivepeak/. Returning default [08:42:33] No directory found under coreplugins for res/feature/responsivepeak/. Returning default [08:42:33] No directory found under coreplugins for res/feature/responsivepeak/. Returning default [08:42:33] No directory found under coreplugins for res/feature/responsivepeak/. Returning default [08:42:33] No directory found under coreplugins for res/feature/responsivepeak/. Returning default [08:42:33] Server started http://localhost:9000 [08:43:04] core plugin downloaded successfully however the service doesn't start and loading http://localhost:9000 in a browser window just gives a blank page with "cannot get /" instead of the usual structure to navigate to the CSS output file. If I stop and restart the li serve-sass command the following error is returned: [08:47:55] Loaded gulp tasks in: 259 ms [08:47:55] Using gulpfile ~/Git-Repositories/responsive/gulpfile.js [08:47:55] Starting 'watch-res-sass'... [08:47:55] Finished 'watch-res-sass' after 455 ms [08:47:55] Server started http://localhost:9000 events.js:141 throw er; // Unhandled 'error' event ^ Error: res/skins/responsive_ga/sass/skin.scss Error: File to import not found or unreadable: responsive_peak/sass/vendor Parent style sheet: stdin on line 12 of stdin >> @import 'responsive_peak/sass/vendor'; ^ at options.error (/usr/local/lib/node_modules/lithium-sdk/node_modules/gulp-sass/node_modules/node-sass/lib/index.js:292:26) it appears under the structure changes it cannot see one of the core vendor sass files and fails compilation on all machines we have using the SDK even with new skins created using the guide at https://community.lithium.com/t5/Responsive-for-Developers/Migrating-to-Lithium-Responsive-GA/ta-p/252459 Has anyone else had this or a similar issue with li serve-sass not working? We really need this sorted as it's stopped our workflow entirely.172Views2likes1CommentAPIv2 Query for User's Topics Participated In?
Hi Lithium Developers, It looks like LiQL aka APIv2 won't allow a single query which searches for all unique topics in which a user has participated. Can you confirm? We can get a list of all of the user's posts aka topic starters and replies in one list: SELECT * FROM messages WHERE author.id = "101" ORDER BY post_time DESC We can get a list of the user's topic starters, sorted by conversation.last_post_time: SELECT * FROM messages WHERE author.id = "101" AND depth = 0 ORDER BY conversation.last_post_time DESC But when we remove the depth = 0 restriction... SELECT * FROM messages WHERE author.id = "101" ORDER BY conversation.last_post_time DESC We get error: "invalid query syntax for SELECT * FROM messages WHERE author.id = '101' ORDER BY conversation DESC" Is there a way to construct a single queryso that it searches for all of a user's posts but givesonly the distinct topics, and sort the results by conversation.last_post_time? If the user only posted the topic starter, that's one of the results. If the user posted a topic starter and one or more replies to that topic, that topic is one of the results. If the user did not post the topic starter but posted one or more replies to the topic, that topic is one of the results. No can do? Why not? How does Lithium query for the sorted items it shows in the View Profile Page - Topics Participated In list? Is this possible with one query in API v1? I attempted toduplicate the Topics Participated In behavior in a custom component. For users who have made several hundred or more posts, the master query and my custom code logic cause very lengthy delays loading the view profile page.The logic: 1) Query for *all* of the user's posts. Collect only those posts' conversation ids and conversation last_post_times. 2) In Freemarker, while iterating over all of the posts, discard duplicate conversations. 3) Use Freemarker arraysort to sort the unique conversations by their last_post_times. 4) Return a subset of the list for display on a page, e.g. the first 10 aka most recent 10. This code is inefficient when there are a lot of results. Looking for alternatives. Thank you, Davesullysnack8 years agoKhoros Alumni (Retired)210Views0likes3CommentsConvert a string into a json object
Hi all Is there a way to convert a string into a json object. My case is this one. To handle multiple winners in contest, i use the annoucement field where a i put a formatted message : "{winners:[{id:xx),{id:yy},...],order:true}" when a get the datawith an API call, result is a string. The only way to "convert" it a json is to put an ?eval which is quite ugly and causes some freemarker errors Is there custom freemarker builts-in to make this? Thank you for your helpjferrandis8 years agoExpert336Views0likes7CommentsGet bookmarks for other users
Hello, Is it possible with or without the Lithium API to retrieve a list of bookmarks for OTHER USERS, not yourself (or the user you are logged into the API with)? Currently, the API call seems to only support /global/ or /user/self/ parameters, but not /user/id/[user id]. Thank you!NitinWTE8 years agoContributor87Views1like0CommentsMandatory labels Functionality
Hi All, We would like to know is there away to find out which Category,Board has Mandatory labels in the Community. As per my observations we can only do it manually from Community Admin. Is there anyway we can find it by settings import or API Calls. Regards, Abhishek96Views2likes2CommentsSetup content filter for arabic language
Hi guys, I'm trying to add a content filter for login names using regex functions (/t5/Community-Moderation/Examples-of-regular-expressions-for-content-filters/ta-p/39182). The aim is to prevent users from typing their user name in arabic letters. The regex I'm using uses different ranges of unicode sequences to do this. Unfortunately, this approach does not work: r:[\x00-\x2f,\x3a-\x40,\x5b-\x60,\x7b-\xc3,\xc5-\xd5,\xd7-\xdb,\xdd-\xde,\xe0-\xe3,\xe5-\xf5,\xf7-\xfb,\xfd-\xff] If I write the regex using arabic letters instead, the filter works fine, but I'm not sure that this regex matches all existing arabic letters: r:[غظضذخثتشرقصفعسنملكيطحزوهدجبا] Does someone handled some similiar issues and got some best practices or advices how such content filters should be configured? Thanks and kind regards, Christiancike8 years agoChampion91Views0likes0CommentsBulkdata API - Language
In the documentation for the Bulk data API there doesn't seem to be a field/column for language of a community. However the language is in the name of the file ingested from the API call. In my case, we are running 10 separateinstances, each with a different language.For processing purposes it is useful to segment by language, is there some sort of field where I could get language? also, does the field: request.headers.referrer.host return the url of the page that an event (such as a view) occurred?sstroud1238 years agoContributor103Views0likes0CommentsREST API exception for archived tkbs
Hi Everyone, I am writing a search API for all active tkbs in our community. A simple search something like: SELECT id, board.title, subject, view_href, author.login, conversation.style, attachments, attachments.count(*), post_time, post_time_friendly FROM messages WHERE attachments.count(*) > 0 AND conversation.style='tkb' AND depth=0 ORDER BY post_time DESC and I pull all data as json format in EndPoint. as Admin, I'm guessing I get all tkbs... The question is : -How to show only active tkbs? - or How to write an exception to not to show archived tkbs? - is it any API parametersfor that? I did extensive search and was not able to find any API to check if the article archived/active or not. Help?irach158 years agoMaven87Views0likes1CommentGetting tag from URL
We are trying to edit the TagViewPage and need to know which tag is currently being displayed with Freemarker. I tried every attribute or parameter call I could find but to no success. Currently, my work around is: <#assign url = http.request.url /> <#assign urlSections = url?split("/") /> <#if urlSections?size gte 5> <#assign tag = urlSections[5] /> <#else> <#assign tag = "" /> </#if> (I'm using 5 since the URL will end up being this [for now]: https:(0)/(1)/(2)domain.com/(3)t5/(4)tag/(5)TAG_NAME/tg-p/board-id/BOARD_ID) Anyove have a better idea or know of a call that will work? Thanks.SolvedInactive User8 years ago269Views0likes3Commentskudos component - vertical & horizontal question
Hi Guys, For this component, <component id="kudos"/> when it is put on forum messages, it has horizontal style; when it is put on tkb or idea messages, it has vertical style. Is there a way to specify vertical or horizontal on the component xml? eg.<component id="kudos" style="horizontal"/> or like<component id="kudos" pattern="horizontal"/> I already have a solution to change the button without the help of xml. But I am just thinking it would be very handy for people.peterlu8 years agoChampion324Views0likes10CommentsScope a text key definition for custom quilt
Hi Lithium, I read up here how to customize the text key for the title of an internal component and scope it to CategoryPage pages only, here: http://lithosphere.lithium.com/t5/faqs-email-templates-and-text/Scope-a-text-key-to-a-page-or-component/ta-p/109017 But it seems I am unable to scope the text key for a custom CagtegoryPage.GigaPower quilt to make the text different there thanwhat shows up on regular CategoryPage pages which don't use a custom quilt. Tests... solutions.recent_solved_threads.title@component:solutions.widget.recently-solved-threads = New to U-verse Solutions This applies to the recently-solved-threads component on all pages. solutions.recent_solved_threads.title@page:CategoryPage@component:solutions.widget.recently-solved-threads = New to U-verse Solutions This applies to the recently-solved-threads component on all CategoryPage pages including our custom quilt CategoryPage.GigaPower page. solutions.recent_solved_threads.title@page:CategoryPage.GigaPower@component:solutions.widget.recently-solved-threads = GigaPower Solutions It looks like this does not apply anywhere. The default "New Solutions" text shows up. Maybe I'm not using the correct format. Can I differentiate text of a component placed in a custom quilt, versus other pages of the same original quilt type e.g. CategoryPage? Thank you, DaveSolvedsullysnack8 years agoKhoros Alumni (Retired)339Views0likes2CommentsOveriding the scope text keys
Hello, Can anybody help me here how to override the existing title header say example want to change the Latest Posts and Latest Topics title to our own titles. I tried based on the document, but it is not working. Any solutions will be appreciated. http://community.lithium.com/t5/FAQs-email-templates-and-text/Set-the-scope-of-a-text-key/ta-p/109017 I am providing the details of which I tried out. None of them works. Not sure what's wrong here. module.recent-messages.title.all@category:<CategoryPageID>@page:<PageId>@component:forums.widget.recent-messages = Custom Title module.recent-messages.title.all@page:<PageId>@component:forums.widget.recent-messages = Custom Title module.recent-messages.title.all@component:forums.widget.recent-messages = Custom Title This works, but we want to have a custom title based on context of the page. module.recent-messages.title.all= Custom Title Your help will be really appreciated. Regards, Santhoshsanthoshkumarks8 years agoContributor238Views0likes5CommentsAbsolute URL from view_href
Is it possible to get absolute URL from such query? SELECT * FROM messages WHERE kudos.sum(weight) > 0 AND author.id='3' ORDER BY kudos.sum(weight) DESC I know it is possible with API v 1 and can be achieved like this: &restapi.response_style=view but in this case I need to use API v 2 and I have no idea what to do.Solvedomygoodness8 years agoMentor270Views0likes6CommentsGetting details of user who updated status of thread in idea board
Hi, We are trying to create a component which needs data of Users who updated the Status of the thread in an Idea Board. We have gone through the community API, it seems Lithium API response doesn't provide this data. Is there any other way to grab details of users? Thank you, Abhishek.86Views2likes0CommentsHow to show only the groups you are part of in a private board?
I'm using the My Groups component on a private board and only want the groups from the private board to show in the My Groups component (not all groups I have access to from every area). I've just been told this is not possible from the My groups component, and we would have to create a custom component for this. Has anyone here tried to do this or can give me some suggestions? Thanks Em52Views0likes0Commentsbatch-processing checkbox in custom components
Hi all I made some custom components on the forum page and blog page to alter the display of the message list. As i use a custom comonent, the standard "batch-processing-checkbox" component non longer works when i include it in my message list. I guess it's because the context.env.message is not set. Does anyone know how to make the standard"batch-processing-checkbox" component work? Is there a custom param to pass (ex:<@component id=""batch-processing-checkbox" paramName="paramValue" />) is there a way to copy the way it works? Thank you for your helpSolvedjferrandis8 years agoExpert263Views0likes2CommentsRecreating Badge-List Component
Hi all, I'm working on recreating the Badge-List component as a custom component. I'm nearly finished, but have encountered two problems. 1. In Admin settings, you can make a badge"Visible" or "Hidden" to users (labeled below as "Status"). Unfortunately, I can't find where the "Status"is accessible in the V1 API. Here's the standard badge object that is returned from the API: You'll notice that the "Status" isn't a part of the returned XML. Is the "Status" accessible at all? I can't seem to find it. 2.As an admin looking through a user's badges, I can hover over any earned badge and "Revoke" that badge. What sort of API call do I need to make to replicate the "Revoke" functionality? Can this be replicated? Thanks for taking time to read through this. Any guidance would be appreciated!Solved371Views0likes5CommentsAdd a css class to a OOTB component as a parameter -- or anything, really?
Wondering if there's a way to add a css class to an OOTB component using the param functionality. For example, I'd like to add "some-class" to the "solution-info" component to easily re-style it (which turns out to be difficult), i.e., <component id="solution-info"/> Gives us, I think: <span class="lia-thread-solved lia-component-solution-link"> <a class="lia-link-navigation lia-forum-topic-page-solution-link" id="link_7" href="#somelink">Go to Solution</a> </span> I want to be able to add the class "go-to-solution-arrow" or the like to it. I'd like to do something like this: <component id="solution-info" param_name="class" param_value="go-to-solution-arrow"/> and have it render <span class="lia-thread-solved lia-component-solution-link go-to-solution-arrow"> <a class="lia-link-navigation lia-forum-topic-page-solution-link" id="link_7" href="#somelink">Go to Solution</a> </span> Any solution that gives me the final result via the quilt or layout would be helpful.Inactive User8 years ago156Views0likes2CommentsAdding conditions in layouts
Is there a way to add IF condition to layouts? I would like to modify layout ofviewprofilepage and create two separate views in one layout: 1) view that is visible only for user lets call it "private profile" where I would like to hide side content and set rest of content to 100% width 2) view that is visible for all users lets call it "public profile" where I would like to show side content with contact and status informations. For now both views are using same layout viewprofilepage and in private view sidebar is empty but still has width.omygoodness8 years agoMentor170Views0likes2CommentsPrint version of a page canonical ref
Hi all I'vebeen given a list of 'duplicate' pages by our SEO team. I can see that most of these pages have the canonical setting to be the original post, so that's fine. However, I see the print version has a completely different URL and therefore a different canonical reference. If I search for the post titleon Google, it then appears twice, once as the original post, and once as the print page, and if I click on the print page linkI get the print version - out of the context of the community, so it's meaningless to the user. Is there a way to change the canonical reference on the print version so that it's the same as the original post? I don't see the topics dropdown on the print page.Hayley8 years agoMentor150Views1like2CommentsMethod to Revoke a Role in Bulk (But Not All Members Granted)
There is a CSV role upload process, which works quite well. Is there a similar revocation process, using a CSV file upload? I have roles with tens of thousands of members granted, and I need to revoke from a list provided in a spreadsheet. I do not want to completely remove and re-create the role, just revoke from a couple of thousand currently granted the role in question.88Views0likes1CommentTextkey/Tag for Email Address
Currently we have IP address showing in our Profilecards using this code <#if isAdmin> <li> <#assign userIP = rest("/users/id/"+user_id+"/settings/name/user.last_visit_ipaddress?restapi.response_style=view").value /> <span class="label">IP Address:</span> <span class="value">${userIP}</span> </li> </#if> I'm looking to add a possible option to display the Email Address as well if Admin. What would be the coding I would need to add in, and/or what is the textkey for user Email address? Thanks!RogersRoland8 years agoExpert314Views0likes10CommentsRequest query with API v2 over HTTP
Hi Lithium Support, I had try to make a call to staging with below query but we realize the data returned from the API and data from https://communitystg.digi.com.my/t5/Prepaid/bd-p/aPrepaid and https://communitystg.digi.com.my/t5/Postpaid/bd-p/aPostpaid are slightly different. Sample query https://api.stage.lithium.com/community/2.0/our-digi-tenant-id/search?q=SELECT+*+FROM+messages&api.pretty_print=true (with header) Can we request the query needed for above 2 page on the data of Latest Post, Announcement and Top Tags ? 1. Latest Post - I had try to call it but getting similar but different data from above url. (Messages Table) 2. Top Tags - We able to call it but all query return 0 array. (Tags Table) 3. Announcement - I can't found related Table to query the data from Lithium. (Reference Doc : https://community.lithium.com/t5/Developer-Documentation/bd-p/dev-doc-portal?section=commv2&v2.main=collections )216Views0likes3Commentshref path difference between component and endpoint
Hi, Im trying to (re)load the idea's dynamicly with AJAX. <#assign max_image_width = settings.name.get("layout.message_body_image_max_size", "1000") /> <#assign image_resize_css = "lia-message-body-content" /> <#assign statusUpdates = rest("2.0","/search?q=" + "SELECT * FROM messages WHERE conversation.style='idea' and depth=0 limit 15"?url)/> <#if statusUpdates.data?has_content> <#list statusUpdates.data.items as message> <#assign rest_call = "rest_2.0:/messages/${message.id}" /> <div class="idea-tile idea-${message.id}" > <@component id="ideas.widget.idea-message-view" message=rest_call maxWidth=max_image_width resizeCss=image_resize_css /> </div> </#list> </#if> This show the idea widgets with the ability to give kudo to it. When i run this from my component, it works great. When i put it in an endpoint to enable some AJAX functionality all href links go to a 404.. corrupted links - go to detailpage of idea = corrupted - give/revoke kudo = corrupted - etc etc.. all 'forwarded' links = corrupted/bad/wrong For example the kudos result : Examplecode in the Component: href=https://community.lithium.com/t5/ideas/v2/ideaexchangepage.kudosbuttonv2.kudoentity:kudoentity/kudosable-gid/5481?t:ac=blog-id/idea-suggestions&t:cp=kudos/contributions/tapletcontributionspage 200 - OK Examplecode in the Endpoint, which is called by the Component: href=https://community.lithium.com/[communityname]/components/componentdisplaycontributionpage.kudosbuttonv2.kudoentity:kudoentity/kudosable-gid/5481?t:cp=kudos/contributions/tapletcontributionspage 404 - error Is there a way of giving the right 'base' path to an endpoint?Willem8 years agoGuide373Views0likes10CommentsPlugin upload failed
Hello, I have problem with "li submit-plugin". Yesterday everything worked fine and I didn't change anything. Token is valid, URL same. $ li submit-plugin [15:37:27] Loaded gulp tasks in: 1.14 s [15:37:35] Using gulpfile D:\lithium\gulpfile.js [15:37:35] Starting 'plugin-build'... [15:37:35] Starting 'clean-tmp'... [15:37:35] Starting 'clean-plugin'... [15:37:35] Starting 'clean-plugin-zip'... [15:37:35] Finished 'clean-tmp' after 150 ms [15:37:35] Finished 'clean-plugin-zip' after 4.48 ms [15:37:35] Finished 'clean-plugin' after 78 ms [15:37:35] Starting 'clean'... [15:37:35] Finished 'clean' after 4.6 μs [15:37:35] Starting 'plugin-skins-vars'... [15:37:35] Finished 'plugin-skins-vars' after 17 ms [15:37:35] Starting 'plugin-res'... [15:37:35] Starting 'plugin-web'... [15:37:35] Starting 'plugin-git-version'... [15:37:35] Finished 'plugin-git-version' after 15 μs [15:37:35] Finished 'plugin-res' after 436 ms [15:37:35] Finished 'plugin-web' after 439 ms [15:37:35] Finished 'plugin-build' after 689 ms [15:37:35] Starting 'plugin-verify'... [15:37:36] Tested 482 tests, 482 passes, 0 failures: PASS [15:37:36] Tested 26 tests, 26 passes, 0 failures: PASS [15:37:36] Tested 27 tests, 27 passes, 0 failures: PASS [15:37:36] Finished 'plugin-verify' after 486 ms [15:37:36] Starting 'plugin-ready'... [15:37:36] Done compiling plugin: D:\lithium\plugin [15:37:36] Finished 'plugin-ready' after 234 μs [15:37:36] Starting 'plugin-upload'... [15:37:36] Finished 'plugin-upload' after 15 ms [15:37:36] Starting 'plugin'... [15:37:36] Finished 'plugin' after 5.62 μs ? Would you like to upload plugin to server? Yes [15:37:44] Uploading plugin [15:37:52] [gulp] Error in plugin 'submit-plugin': Error: [UPLOAD_FAIL] Wtyczka została pomyślnie załadowana i zweryfikowana. Podczas procesu rejestracji wtyczki wystąpił błąd. [15:37:52] Plugin upload failed "Error: [UPLOAD_FAIL] The plugin has been successfully loaded and verified. During the process of registration of the plugin error occurred." Any ideas what happened?Solvedomygoodness8 years agoMentor198Views0likes3CommentsActiveCast TalkBack - User not logged in
Running Lithium version 16.8 Implementing theActiveCast TalkBack plugin. The plugin loads comments from our specified thread, however both the leave comment and login forms are rendered at the same time. When checking to see if the user is logged in this API method always returns false regardless of wether the user is logged into the forum LITHIUM.ActiveCast.User().isUserLoggedIn() The widget is being used on an external page hosted on a domain that has been whitelisted. Our expectation is that the leave comment form would only be visible if the user is logged in, and the login form would only be shown if the user is not logged in. If this is supposed to be the case can anyone provide help in getting this to work as expected. We are loading the plugin by pulling this script https://community.example.com/t5/activecast/talkbackpage And initialising the plugin as follows LITHIUM.ActiveCast.getTalkBack(boardId, threadId, options);thomaswelton8 years agoContributor85Views0likes0CommentsUsed API to move messages, you won't believe what happened next
Hi all. I just used API v1 to bulk move some messages and now the top of my entire notification feed is full of messages posted between now and 2015. My guess is that it happened because, when moving messages manually there is a fairly new option not to notify users, and the API doesn't have a flag to disable this? Had a look at the API v2 documentation and that doesn't look like it has a flag either. Any thoughts or suggestions?276Views1like7Comments"Do Not Notify Subscribers" when moving posts with API?
Hi, Is there a way to enable the "Do Not Notify Subscribers" option when moving threads using the API? We're creating an archiving component but it's triggering notifications, lots and lots of them, and we don't want to spam our users. Thanksfuenteso8 years agoLeader135Views0likes3CommentsDefault loaded data
Hi, Can i 'access' the original data set of loaded idea's somehow? When the page gets loaded, also the first set of ideas get loaded, but without me accessing the data it is overhead of loading time. If the answer is yes: how? and can the query be manipulated before it gets loaded? If the answer is no: Can we turn off the initial idea data set to be loaded? Bit more info: The is now an AJAX mechanisme that adds 15 new results dynamicly or reloads the data set based on if filters change, without a pagerefresh.Willem8 years agoGuide59Views0likes0Comments16.x Hiding Header on certain pages
Our QAs have noted that the header, specifically this CSS for Peak 16.8 + @media screen and (max-width: 767px) .PostPage .lia-quilt-row-header .lia-component-quilt-header .lia-quilt-row, .ReplyPage .lia-quilt-row-header .lia-component-quilt-header .lia-quilt-row, .EditPage .lia-quilt-row-header .lia-component-quilt-header .lia-quilt-row { display: none; } This CSS is hiding the header quilt on certain pages.. so the sites Logo and master nav is just gone.. What's the reason for the decision to hide this element?60Views0likes0CommentsUsing jQuery addClass not working
Hi all, I'm trying to use jQuery to target the current URL and dynamically add the 'active' class to the <a> tag in our global navigation. I've nicked the existing blog page layout to create a new section and the Freemarker page.name value was returning the same for both sections, so I was unable to use Freemarker to add the class from what I can see. On with my point - I've written the following jQuery and chucked it into an <@liaAddScript> tag in the Hitbox section of our wrapper. However, it's not working! ;(function($) { $(document).ready(function() { if (window.location.href.indexOf("Digital-life") > -1) { $('#blogMenu').addClass('active'); console.log("Digital Life"); } else if (window.location.href.indexOf("News") > -1) { $('#newsMenu').addClass('active'); console.log("News"); } else { console.log("Failure"); } console.log($('#newsMenu')) }); })(LITHIUM.jQuery); I added the various console.log() statements to test whether the if / else was evaluating to true. When I run the final console log to query the #newsMenu ID it's actually showing it has a class of 'active', but the HTML isn't changing and as a result the menu isn't displaying the desired styling. I believe the if / else is working correctly, just something to do with what's contained in there not working (apart from the console.log). Has anybody encountered similar? Or can recommend any steps to take to get this working? I've even checked it with a Back-End Developer friend of mine and he's flummoxed, so hoping it's to do with something on the Lithium platform. Thanks, KevSolvedKev_B8 years agoAdvisor184Views0likes2CommentsCustom User Online Component
Hi all! Users of our community are able toviewitin twolanguages. They can select language in profile settings and via the next element: <ul class="header__lingvs"> <li><a class="sw_lang" title="Russian" href="/?profile.language=ru">Rus</a></li> <li><a class="sw_lang" title="Ukrainian" href="/?profile.language=uk">Ukr</a></li> </ul> When userclicks on the one of these buttons, language changes, but user's being redirected to the main page of community,no matter on what page hewas before. Adding theprofile.languagesetting to any other page address has no effect- pagejust refreshes with with this setting in the end. Is it some way to switch language and stay on the current page? Thanks in advance, YuriiSolved540Views1like8CommentsGetting Image from context object
Currently I am using <img alt="My Image" src="/html/assets/myImage.png" height="38" width="293"> this syntax to get my image from assets but now i want to get it from context object .... something like <img alt="My Image" ${asset.get("/html/assets/myImage.png")} height="38" width="293"> but my image is not getting displayed on site.... Can anyone suggest where I am going wrong ?107Views0likes2CommentsREST: Authentication ticket
I need to get a users authentication ticket in order to do a specific action. Basically, the system does not allow users to 'mark all as read' from the 'unread posts' page without marking the entire community as being read. What I am trying to do is place a button on the unread page but it requires a users authentication ticket to do so. /t5/forums/forumpage.markread/board-id/${coreNode.id}?t:ac=board-id/${coreNode.id}&t:cp=boards/contributions/markedactions&ticket=HU5c6rFKqjfb_4 Without the ticket, the URL returns as there being an authentication error. I have read in another thread someone asking the same thing but was told byLithium that the ticket was just for their reference. But that isn't right as omitting the ticket in the query string makes the action not work. Subsequently, the ticket only works on a single user so its locked down. I need this authentication ticket to make the link work and do what I need it to do. Is there a way to get a users authentication ticket via rest so I can use it in my component for my custom button?jaread838 years agoChampion217Views0likes6Comments