Have a URL only visible to a specific role
Thisworks just fine. <#if user_has_role?? && (user_has_role == "admin" || user_has_role == "partner" || user_has_role =="customer") > <li><a href="">Manage</a></li> <li><a href="">Cases</a></li> <li><a href="">Knowledge</span></a></li> <li><a class="first" href="#">Community</a></li> The code below, I'm having problem getting it to work properly. The link appearsfor Partner and Customer but I only want it to appears for thePartner role. When I removed the Customer role, it doesn't display for Partner or Customer but when I add the Customer role back, it works but it appears for both roles. <#if user_has_role?? && (user_has_role == "admin" || user_has_role == "partner" || user_has_role =="customer") > <li><a class="second" href="#">Partner Portal</a></li> </#if> This is my code: <ul> <#if user_has_role?? && (user_has_role == "admin" || user_has_role == "partner" || user_has_role =="customer") > <li><a href="">Manage</a></li> <li><a href="">Cases</a></li> <li><a href="">Knowledge</span></a></li> <li><a class="first" href="#">Community</a></li> <#if user_has_role?? && (user_has_role == "admin" || user_has_role == "partner" || user_has_role =="customer") > <li><a class="second" href="#">Partner Portal</a></li> </#if> <#else> <li><a href="http://support.purestorage.com/">Knowledge</span></a></li> <li><a class="first" href="#">Community</a></li> </#if> <#if user.registered> <#if config.getString("phase", "stage") == "stage"> <li class="last"><a onclick="logoff();" href="#">Log Out</a></li> <#else> <li class="last"><a onclick="logoff();" href="#">Log Out</a></li> </#if> <#else> <#if config.getString("phase", "stage") == "stage"> <li class="last"><a href="">Sign In</a></li> <li class="last"><a href="">Register</a></li> <#else> <li class="last"><a href="">Sign In</a></li> <li class="last"><a href="">Register</a></li> </#if> </#if> </ul> Any help would be greatly appreciated. Thanks!skylinegtr9 years agoMentor100Views0likes2CommentsUsing Time zone in API
I asked a question about using different times in the API, and got a response on how to get a timezone of a user, but no answer on how to add a timezone to the API. My previous question is here: https://community.lithium.com/t5/Developers-Discussion/Help-with-API-time/m-p/227202/highlight/true#M10332 I need to know what parameter to pass a v1 api call to set the timezone for the call. Specifically for something like this: /restapi/vc/metrics/name/posts/history/daily?date_start=2016-05-05&date_end=2016-06-06&"Timezone Parameter Name goes here"=Pacific/Fiji"This is an example timezone returned from thesuggested API call from my last post"jordanepotter9 years agoMentor149Views1like0CommentsREST API - Find all forums and boards under category
I'm trying to build an outline of our categories and the forums and boards associated with them. I have been searching the documentation for about an hour and I cannot figure out how to find forums linked to a category. <ul> <#list rest("/categories?restapi.response_style=view").categories.category as category> <li>${category.title}</li> <ul> <!-- Find all forums/boards linked to category --> </li> </ul> I've been able to find the boards linked SELECT * FROM boards WHERE parent_category.id = '<ID>' But I can't find the forums at all.bnlucas9 years agoAdept204Views0likes5CommentsNotification Default Settings
Hi, We unchecked "Notify me when I post, reply, submit a review, or comment" option in the Community Admin Settings. But still we are seeing it is enabled in User "My Settings" page. If we disable this option in CommunitySettingsit should over take all the Default settings of the all users? Regards, Abhishek88Views0likes2CommentsCan I get multiple users from a single call?
I'm using the /users/email endpoint to search for users based on their email address. Sometimes, I have reason to search for 20, 50, 100 users this way at a time. Is there a way I canissue a single call that searches for multiple email addresses and returns multiple userprofiles?ryanplant-au9 years agoHelper87Views0likes1CommentCustom Component: connect to and render a Github distribution
I'm looking for how to create aCustom Componenttoconnect to andrender a Github distribution. Think about as I'm new to render from Github :-). I know how to create a custom component in Lithium. The component can be: -configured "talk to" a Github distribution/pull, render a link to the bits, possibly provide a tree-control/representation of prior versions, as well as other logical elements to enable a community visitor to see a download and initiate it from community(vs. leaving to visit GitHub) to get posted tool/script... ---------------------------------- any ideas? Samples? as more details as possible, I have no idea how to start...irach159 years agoMaven267Views1like5CommentsLithium-Klout SDK Installation Problems
Hi all, Installing and setting up the Lithium-Klout SDK as part of a new workflow here for our community and we're running into a few issues. While the dependencies of Node.js (v6.2.1) and NPM (v3.9.3) are installed alongside successful installation of the Lithium-Klout SDK. We run into problems starting with npm install -g lithium-sdkwhich appears to run correctly but the console output shows the following snippet [execsync v1.0.2] Attempting to compile native extensions. [execSync v1.0.2] Native code compile failed!! > ws@0.4.32 install /Users/rth77/Git Repositories/node_modules/karma/node_modules/ws > (node-gyp rebuild 2> builderror.log) || (exit 0) Furthermore with everything set up running the li create-projectcommand returns the following error: module.js:442 throw err; ^ Error: Cannot find module 'has-color' at Function.Module._resolveFilename (module.js:440:15) at Function.Module._load (module.js:388:25) at Module.require (module.js:468:17) at require (internal/module.js:20:19) at Object.<anonymous> (/usr/local/lib/node_modules/lithium-sdk/node_modules/gulp-util/node_modules/chalk/index.js:4:16) at Module._compile (module.js:541:32) at Object.Module._extensions..js (module.js:550:10) at Module.load (module.js:458:32) at tryModuleLoad (module.js:417:12) at Function.Module._load (module.js:409:3) Does anyone have any ideas how we get around this? Thanks192Views0likes4Comments[SDK] error on doing li create-project
Hey folks, I am working on a project to override some of the CSS components. I am using the node lithium SDK and I get the error when I do : li create-project with both internal stage URL and the one from lithium ({lithium-link}.stage.lithium.com). I am on OSX10.10.5 node --version v4.2.1 npm --version 2.14.7 npm ls -g lithium-sdk --depth=0 /Users/<user>/.nvm/versions/node/v4.2.1/lib └── lithium-sdk@1.0.2 ? What is your repository name? Only lower case characters, numbers or hyphens (-) are allowed. lithium ? What is the URL (include port if exists) to the dev/stage site that you will connect to (beginning with "https://")? <stage https URL> ? Do you have a plugin token (if not press enter)?<token> readline.js:924 throw err; ^ Error: Module did not self-register. at Error (native) at Object.Module._extensions..node (module.js:460:18) at Module.load (module.js:356:32) at Function.Module._load (module.js:311:12) at Module.require (module.js:366:17) at require (module.js:385:17) at bindings (/usr/local/lib/node_modules/lithium-sdk/node_modules/xml2json/node_modules/node-expat/node_modules/bindings/bindings.js:76:44) at Object.<anonymous> (/usr/local/lib/node_modules/lithium-sdk/node_modules/xml2json/node_modules/node-expat/lib/node-expat.js:4:32) at Module._compile (module.js:435:26) at Object.Module._extensions..js (module.js:442:10)gstelang9 years agoMentor216Views0likes5CommentsGoogle Tag Manager (GTM) dataLayer implementation help needed!
Did anyone implemented GTM dataLayer? We've added a dataLayer with custom parameters. I've done some search but was not able to find any additional info, except that is not much to pull fromLITHIUM.CommunityJsonObject.... Code snippet: <script> window.dataLayer = window.dataLayer || []; window.dataLayer.push({ 'event': 'dataLayer-loaded', 'userLoggedIn': (!LITHIUM.CommunityJsonObject.User.isAnonymous), 'region': '<user region>', 'articleType': LITHIUM.CommunityJsonObject.Page.name, 'pageType': LITHIUM.CommunityJsonObject.Page.object.type, 'articleImageCount': '<numerical amount of images in the article>', 'articlePostDate': '<date the article was posted>', 'articleUpdateDate': '<date the article was updated>', 'articleHelpful': '<number of people who voted article helpful>', 'thumbStatus': '<thumbs up number>', 'contributor': '<article contributor name>', 'primaryAuthor': '<primary author>', 'labels': '<article label>', // add in pipe delimited list if multiples 'tags': '<article tags>'// add in pipe delimited list if multiples }); </script> .................................. as you can see, I'm able to pull very little data fromLITHIUM.CommunityJsonObject :-( I can get most of this data if I'm creating a custom component and use FreeMarker via APIs inside community... But How Can I pass that data to those dataLayer variables??? I'm not a big JS Developer to create my own logic and functionality. I'm able to understand others' code and do adjustments. I'm the only Dev in my team and if I can't do that means we don't have it... ............................. Any help and codesnippetsappreciatedmuch. I'm calling for help!Solvedirach159 years agoMaven620Views1like13CommentsText key for granular search
Hi all, I am trying to find the text keys that are used in the granular search but I can't seem to find them. I noticed someone else asked this questions a while ago but never got an answer to their initial question. http://community.lithium.com/t5/Developers-Discussion/Change-selected-value-for-search-form-granularity-dropdown-list/m-p/164591#M6528 I would assume the text in the granular search are text keys but I am unable to locate them. I have seen some other communities have managed to change this setting but whether that is a backend change done by Lithium or a text key isn't clear to me. I have had to use Javascript to replace the text value for the options but i'd rather not do that if its possible to just change them in Studio.Solvedjaread839 years agoChampion180Views0likes2CommentsConditional Execution in Email Templates
We are deploying a large number of badges, and would like to customize the emails beyond just the badge name, recipient, and name of community. Specifically, we would like the Subject and Body Copy to be variable, based on the badge name. Do the templates accept If/then/else or (better) Case statements? Is the syntax FreeMarker?483Views0likes1CommentAdding a recipient for notifications
Hi all. Apologies if this is not in the right section, please let me know. I am looking for information regarding the email templates and if it is possible to have a notification go to an additional recipient other then the author of a topic or an author of a solution. Use case. If an answer is marked as accepted within a thread 2 notifications can be send out. Accepted Solution Notification:Notifies a member that a reply to a topic or an answer to a question the member has been following has been accepted as a solution. Answer Accepted as solution notification:Notifies the author of an answer that their post has been accepted as a solution. I would like to add my user account or email address as a recipient of those notifications. Is this a possibility? Thanks! Wendy79Views6likes0CommentsHow are Total Page Views calculated in the Event report?
I'm new to Lithium's API and have been tasked with pulled data from our community. I've gotten the data I want, but the analyst I'm comparing numbers with is getting numbers drastically lower that what the Event report in lithium shows. To compare she is summing up the total of records with an action.key = "view" in our data source that pulls from the API. That total is much lower than Lithium's Event report total. Is this the proper way to calculate Total Page Views?Brandon11159 years agoContributor68Views0likes1CommentLithium/Eloqua integration
Hi all, My community is currently interested in an Eloqua integration. I understand it's quite easy to execute (download some EQ scripts, configure in studio), but I was wondering if anyone could tell me what the actual integration looks like. Is there some kind of dashboard on the Lithium side or Eloqua side? How do you determine what data gets passed between the two, etc? Is there reciprocity? We are so far interested in filling out our Eloqua contact profiles with user data from Lithium, but this could possibly expand to surveys, etc. I've already seen some posts on here about Eloqua, but nobody really dives into this. Thanks! KatieKaitlinSaxton9 years agoAdvisor73Views2likes0CommentsBulk data API - discern & filter company by email domain?
Hello, Essentially a user wants to be able to track certain members belonging to a company, let's just say Google. She wants to create a dashboard to track all Google employees on our community. Obviously an easy way to do this is to use roles or specific interaction areas, but it was suggested we attempt to use API instead. Before I try to piece together the code, I want to know if this is even possible. Basically my logic flow is searching for member email addresses containing "google", while ignoring the '@'and before, and the '.' and after. Pattern matching. Then returning results about say, how long they're logged on. Not exactly sure of what results the user wants at this point. Does anyone have any ideas about this? As far as I'm aware, there is no real way to pull data based on an email address. Thanks!SolvedKaitlinSaxton9 years agoAdvisor212Views0likes2CommentsKeep "read"-flag after moving thread
Hi guys, when moving a thread to a new location we determine that the "read"-flag from the user_context is reset to false. So every user who already read a thread lost this mark and see the thread as "unread". Is there a way to keep this flag while moving a thread or is this the default behavior? Thanks and best regards, Christiancike9 years agoChampion49Views0likes0CommentsQuery messages by tag using API v2
Hi, I'm currently working on a component which show all messages for given tag. To get all messages I want to use REST API v2. My request looks like this: SELECT * FROM messages WHERE depth = 0 AND conversation.style IN ('forum', 'group') AND tags.text IN ('Router') LIMIT 10 OFFSET 0 The tags.text constraint is listed within the documentation of the message resource. But if I read the JSON response, the tags object only contains the query attribute. Is there another way to query all messages for a given tag by using API v2? Thanks and kind regards, Christiancike9 years agoChampion208Views0likes5CommentsNew to lithium. Need API help!
Hey there! I'm looking for any advice on how to get recent blog posts and their information from an API call. Specifically, I'm looking for a way to access things such as "title","description","date", etc... I think that I'm just having issues with the naming conventions of the API: posts, messages, boards, threads... Any help or clarification would be greatly appreciated!niqolus9 years agoContributor158Views0likes3CommentsBulk Data API - Too Many Fields Error
Hello Lithium Developers and NaokiT, More questions about the Bulk Data API and how to best use it so it will not break our mapping structure. If we use the curl script and specify all the available fields (52 of them) I receive the following error. {"code":"InvalidArgument" message:"Too many fields in parameter"} 1) If I do not specify the fields will the order always stay the same? Probably not as new fields are added (i.e. sso.user.id was added recently)? You can see in the attached that since Nov 2015 there have been more fields added the the structure has changed. 2) I figured out that I can specify 20 fields in the CURL script, but anything over 20 will result in the error. Is there a CURL script to specify the fields we do NOT need? I would not need 6 of 52 fields for example. How can we maintain the structure and not have our file break if new fields are added in the future? Is there a way to specify or keep the structure intact so we do not have to maintain our mapping structure if/when Lithium adds more fields? 3) If we have to run 3 separate scripts so we can get the specificity we need? What would be the unique key we can use to merge all the data back together? However, the best case would be ability to specify all fields and not have to merge the fields later? Otherwise, can you clarify how often new fields are added to the build data api? Thanks, TimSolvedtmarshall9 years agoAdvisor596Views0likes7CommentsIs it possible to create a new message board using rest api?
I am writing a java program that posts information to our message boards. It gets the board id from a configuration file that we load in. Is it possible to create a new message board with the boardId if the boardId doesnt exist? Is there a rest call I can make to do this, or would all the boards I want to create have to be manually created with the desired board id? Thanks.locus2k9 years agoContributor140Views0likes2CommentsUtterly stuck with component
Hi, I am seeing a very strange error which I cannot figure out. I have 2 components that both work the same way, I have literally copied and pasted the same snippet into both components but I'm seeing an error on one. I have <#attempt> <#assign msg_id = rest("/categories/id/${categoryName}/threads/style/blog/featured?page_size=3").threads.thread.id /> <p>Featured Article Present - ${msg_id}</p> <#recover> <#-- If no article featured, get the third article in the list --> <#assign msg_id = CheckList.id /> <p>No Featured Article Present - ${msg_id}</p> </#attempt> The CategoryID variable is assigned and the call is pulling the first featured article in the category. If there is no featured content it pulls a different article. The calls work fine, both when there is a featured content and without. However, if I remove either <p> content I get an error. The idea was that if there was no featured content present, the call would return an error, then the recover snippet would run and that never has an error. But if I remove <p>Featured Article Present - ${msg_id}</p> I get an error, whether or not there is featured content present. I have been banging my head on the wall for about 4 hours with this now, I cannot see why it wouldn't run, I have this in another component almost word for word the same without issue. If you could help me out you would save me a stroke. Thanks, Dom91Views0likes1Commentrecommendations.widget.recommended-content-taplet without placeholders
Hi guys, we are using therecommendations.widget.recommended-content-tapletto show related for each thread. Sometimes placeholders of moved posts are listed within the component. Is there a way to exclude this threads from the component without writing a custom component? Thanks and best regards, Christiancike9 years agoChampion104Views0likes2CommentsGitHub connect to Lithium
Hi everyone, any ideas on how to connect GitHUb to Lithium community? I asked it here...no response :-(... https://community.lithium.com/t5/Developers-Discussion/Custom-Component-connect-to-and-render-a-Github-distribution/m-p/214541/highlight/true#M9879irach159 years agoMaven115Views0likes1CommentHow to retrieve Hits per an article based on days
Hi, Lithium tracks the hits per an article since the published date. Can this data be converted to a set time period. Ie. Total hits per an article in the last Xdays If so how? Thanks in advance for your help, HaymenHaymen9 years agoContributor109Views3likes1CommentUser Sso Registration Page - user-sso-registration-form
Hi - I'm trying to understand what others have done with the user-sso-registration-form? There was a post about a year ago, about trying to pop the registration page in a modal window, http://community.lithium.com/t5/Developers-Discussion/user-sso-registration-form-in-a-modal/m-p/202800#M9050, but there is no response? It appears to update theuser-sso-registration-form that professional services are needed, but didn't know what others have done to improve the standard form or have used Lithium professional services? Example: Today Possible new form (new modal, new window, etc) Would this require professional service, or just CSS updates?tmarshall9 years agoAdvisor236Views1like4CommentsHelp with LiQl query
Hey, I'm trying to get a count of all unique users who logged into the community within the past 30 days. It would appear the only way to do this is using Liql/API call however i'm no developer... Anyone care to share some code which would help me get a count for this? Thanks97Views0likes1CommentSASS interpolation supported?
Working on some page styling I would like to include resources that are part of an external framework with it's ownversioning scheme. In order to be able to quicklyswitch theversion I have a variable defined in our _variables.scss $assets_path: "https://myassets.example.com/framework/2.0.418"; ..and then would like to reference it in thecomponent's SCSS file via (highlighted in bold): background: url(#{$assets_path}/img/logo-sprite.svg) -123px 0 no-repeat; Unfortunately Lithiumis responding with "An Unexpected Error has occurred." Is SASS interpolation supported by Lithium? Or am I using it wrongly? Documentation on SASS interpolation: http://sass-lang.com/documentation/file.SASS_REFERENCE.html#interpolation_88Views0likes1CommentCustom Content Links By Language
Our community uses a couple custom content modules to display promotional text + links throughout the site (see example images). The text itself is localized via text keys to adjust based on a users language setting. Question: is it possible to adjust the custom content code so that corresponding link also adjusts based on a users language setting?Solvedadsk_cmgrs9 years agoDirector172Views0likes2CommentsWay to identify if a user has participated in a thread
Is there a way to configure the board view to have some kind of icon or indicator to show that the reader has participated in a thread? When viewing the recent threads page you get an icon on the far left instead of the avatar and it can change between a grey speech bubble (default), red speech bubble (hot topic) or a speech bubble with an arrow (indicate you have particpated). Is it possible to show some kind of icon or indicator for this on the board view (where you can see all the threads in a board) in a similar way to the recent threads page? Many thanksjaread839 years agoChampion87Views0likes2CommentsAPI to get an email template
Can the API access the Email templates like"Studio / Text Editor / Email Text /email_content.template.mentions.text"? I understand that we cannot create custom triggers for these emails from an external app, but is there an API I can use to get the template (hopefully localized) so that we can send the email from an external service. We would do all the text substitution on our end, we just need to pull down the template. Best case scenario: create an endpoint on Lithium pass in the variables that would be used for text sub into the endpoint use endpoint freemarker to get the needed template use endpoint freemarker to perform text sub return the localized email from endpoint to our external appb_poplin9 years agoExpert103Views0likes2CommentsLithium Avatar API Pulls
Hi We are trying to pull data from Lithium API please provide some steps to pull datasankulseth9 years agoContributor105Views0likes3CommentsXML file as post or Article
Is it any way to post XML file as Article or any way around? For example, I need to convert XML file to table and post it as Article <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" href="test_xml.xsl"?> <catalog> <book id="bk101"> <author>Gambardella, Matthew</author> <title>XML Developer's Guide</title> <genre>Computer</genre> <price>44.95</price> <publish_date>2000-10-01</publish_date> <description>An in-depth look at creating applications with XML.</description> </book> <book id="bk102"> <author>Ralls, Kim</author> <title>Midnight Rain</title> <genre>Fantasy</genre> <price>5.95</price> <publish_date>2000-12-16</publish_date> <description>A former architect battles corporate zombies, an evil sorceress, and her own childhood to become queen of the world.</description> </book> <book id="bk103"> <author>Corets, Eva</author> <title>Maeve Ascendant</title> <genre>Fantasy</genre> <price>5.95</price> <publish_date>2000-11-17</publish_date> <description>After the collapse of a nanotechnology society in England, the young survivors lay the foundation for a new society.</description> </book> <book id="bk104"> <author>Corets, Eva</author> <title>Oberon's Legacy</title> <genre>Fantasy</genre> <price>5.95</price> <publish_date>2001-03-10</publish_date> <description>In post-apocalypse England, the mysterious agent known only as Oberon helps to create a new life for the inhabitants of London. Sequel to Maeve Ascendant.</description> </book> </catalog> I uploaded a conversion filetest_xml.xsl to Studio. However, when I try to post XML file directly to Article body, it goesas plain content and all top code iscommented out. <!---<?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" href="test_xml.xsl"?>----> Is it any way around it to have a table as XML converted file? Help appreciated.irach159 years agoMaven85Views0likes2CommentsTimerange filter on KudosLeaderBoardPage
Hi guys, the Kudo leaderboard can be filtered by different timeranges using a filter on the KudosLeaderBoardPage. Filters are: Yesterday (last 24 hours) Last week (last 7 days) Last month (last 30 days) Last year All Taking a closer look into the wording of the filter options, some of our users are a little bit confused. Let me explain this more in detail and using an example: Image a user opens the KudosLeaderBoardPagetoday (27th may 2016). In our opinion the filter yesterday should retrieve data for the 26th may 2016 from 0:00 to 23:59. In comparision to this a filter "last 24 hours" would mean the last 24 hours from now (27th may 2016, 8:45 am) to yesterday (26th may 2016, 8:45 am). Same issue with the filters for "Last week (last 7 days)" and "Last month (last 30 days)". Can someone provide information on how the filter works in detail or how the timerange is calculated using on of the filters? With these information we may change the wording on our side (using text keys) and make the filters more self-explaining for our users. Thanks for your answers and best regards, ChristianSolvedcike9 years agoChampion91Views0likes1CommentInclude a style which is only available on page load in Studio Editor
Hi, We have some common styles shared across our site to have consistent look and feel. This CSS is downloaded via CDN and it is only availablewhen our siteloads. I want to do something like this in studio editor .lia-link-navigation { @include text-info; // text-info class is only available when the page loads and therefore, throws an exception } Instead of copy pasting the style for text-info inside lia-link-navigation, how can I do this?gstelang9 years agoMentor98Views0likes2CommentsHow to overide CSS for a standard search component
Hi, I've been working on an issue that I can't seem to solve. We are using the standard search component (common.widget.search-form) for our custom community portal. We need to style it to match our branding, but I can't get any CSS I add to our CSS skin file to overide the default CSS. Of course I don' t have access to the id or class selectors that are used for the input box of the standard search component, so I use the browser inspect mode to find the selectors.When inspecting the element that I need to style, I can chose Copy Selector and itprovides the id as the selector of the element: #messageSearchField_6faf4e5e8c8ec1 (Which I assume is simply '#messageSearchField') or if I remove the ID, it returns: #form_6faf4e5e8c8ec1 > span.lia-search-input-wrapper > input.lia-form-type-text.lia-autocomplete-input.search-input.lia-search-input-message otherwise, my CSS column in the Chrome inspector gives me this selector: #lia-body .lia-content .lia-component-common-widget-search-form input.search-input How do I reference (select) the input element in my CSS skin file based on the above? I've tried several of the above, and I can't get the style override to work. For example: #lia-body .lia-content .lia-component-common-widget-search-form input.search-input { width: 504px; height: 23px; float: left; margin-right: 10px; border-color:red; } * I've even added '!important' at the end of each attribute to see if it will override. I'm fairly new to CSS, so its possible I'm just not selecting the input element correctly. Any help is appreciated!Solvedscottc9 years agoAdept262Views0likes2CommentsLithium SDK: unable to upload changes
Hi, We are unable to upload changes performed inlocal SDK plugin repository. Following is the command which we used to upload. command: li submit-plugin Studio version showingPlugin checkin record. But we are not seeing the changes in component which we performed before upload inlocal SDK plugin repository. Attached upload logs. Community URL:https://italent.demo.lithium.com/ Your help could be highly appreciated. Thanks & Regards, Phaniphani9 years agoAdvisor323Views0likes6CommentsBadges v. 1.1 and the component title
Hi, after upgrading to the latest versions of the features, including Badges 1.1, the component title which used to be 'Badges' has now gone hiding. Thisobviously could be related to the newer versions of the responsive stuff and codebook, too. Old: New: I might have missed some documentation somewhere but do I really need to create a custom component (a simple one but still) just to be able to show the title? As there's nothing title-related in the markup so it's not hidden, it's just not there anymore. Cheers, .MSolvedmiikka9 years agoMaven120Views0likes1CommentSetting permissions for a user via API
Is there a way we can set the user permissions for the user in context via API? e.g. there is a context object available to fetch if a user has permission to do a certain thing, which ispermissions.hasPermission("permission_identifier") any way I can use any such API to toggle the permission for a user in context? Like, disable kudos based on his login IP for a particular board?132Views0likes3Commentshow to read/create FormData object in FreeMarker?
Hi, We are using endpoints to connect withthirdparty API by using http.client FreeMarker Objects. For one of the third party POST api call we have to send the multipart/form-data request, for that we have to build the FormData object. In Javascript we can achieve this by using FormData. E.X.:var data = new FormData(); data.append("content","<p>Hello World</p>"); How can we achieve this using FreeMarker? Your help could be highly appreciated. Thanks & Regards, Phaniphani9 years agoAdvisor216Views0likes3CommentsREST API for getting solved threads by a particular user
Hi, I need a V1 or V2 REST API call that could fetch all the solved topics whose solutions were authored by a user with id: 'X', whether the topic was started by user 'X' or not. Any help would be appreciated. Thanks and regards, Madhukandulmadhu9 years agoAdvisor100Views0likes1CommentPayPal community forum latest posts using REST API
Hi, I am using paypal extention to make payment in my magento website, But at the time of payment with paypal it gives a error : "Das PayPal Gateway hat die Anfrage abgewiesen. The totals of the cart item amounts do not match order amounts (#10413: Transaction refused because of an invalid argument. See additional error messages for details)." In English : "The PayPal Gateway rejected the request. The totals of the cart item Amounts do not match order Amounts (# 10413: Transaction refused Because of an invalid argument See additional error messages for details.)." and my total is correct , there are no problem in total. Any idea what to do Thankyou in advance.shekharsaini9 years agoContributor69Views0likes0CommentsHow to change Category title background for each Category?
Hi I need to change the category title background for each category using css. Currently If I change category title background in CSS it applies the change to all to categories on the forum but I want to make the change to individual category and not to all. i have attached the screenshot for this. Thanks Syedsfuaad9 years agoContributor100Views0likes1CommentPassing encrypted user name and password to the authentication api
Hi, Our community is enabled with HTTPS. We use https URLs for API. But Lithium providing response even though if we call API with http. 1. How to restrict API to allow only HTTPS calls? 2. Does Lithium has any encrypted mechanism to pass encryptedusername and password to the user authentication API?shhouji9 years agoMentor73Views0likes0CommentsOOB search page to display all the solutions posted by a user
Hi, The following OOB search page displays all the topics of the user which are solved: "baseURL/t5/forums/searchpage/tab/message?solved=true&author_id=user-id " ButI am looking for an OOB page that would display a list of solved threads whose solutions are posted by particular user. Thanks, MadhuSolvedkandulmadhu9 years agoAdvisor165Views0likes3Comments