ContributionsMost RecentMost LikesSolutionsRe: Embedding styles into custom components - thoughts please Thanks VarunGrazitti and him_varma for your help. Since posting my question, I've actually done both?!? I moved all 'page-specific' CSS into the associated custom component so clear out the SCSS and then undertook a massive SCSS rebuild to rationalise/merge what was left into SCSS modules so that all associated CSS was stored together. Then I moved the component CSS back into the SCSS. It seemed to work, although now I'm retired so I'm not sure how well its working! The site definitely loaded quicker once the SCSS was rebuilt. Search results filtering bug The search results in Community will filter down into a particular board when you select a result and then return to the search results page using the BACK button. I’ve included screenshots below which hopefully help, but the issue we’re having is: Complete a search from the Community homepage Results displayed are from posts on all boards If you select a result you are taken to the thread. For example, clicking on the first result in the screen capture above, I am taken to the thread on the "General Tax Questions" board. When you use the BACK button, the search results have filtered to only show results from the category (Tax) that this board (and the post) belong to. In the above screenshots, you can see the original results were 140, however after selecting the top result and hitting back, the results have dropped to 51 – because it’s now only searching the Tax boards. It also won’t allow you to ‘unfilter’ from the board – so the only way to get all the search results again is to return to the front page and complete another search. Can this be added to the 'bugs' list please? Thanks, Paul. Is there a list of quilt URLs anywhere? Hi Khoros This has been bugging me for ages. I want to look at a quilt on our Staging site to see what it does, and if it will serve a useful purpose for our site, but I can't find it because I don't know the URL or pathway to get to it. For example, what does the Search Experiments Page look like/do and/or how do you get to this page? I have found https://community.khoros.com/t5/Community-FAQs/Khoros-Platform-URLs/ta-p/32509 but this doesn't give me the URL to all quilts. Is there doco that tells me the URL and/or the pathway to get to an OOTB quilt? Global replace text in post body Hi We want to globally change the name we use in signatures within posts (for privacy purposes). For example, I've been using "PaulM" and I'd like to change all instances to "Paul" instead. I realise we should be using the auto-signature block feature in our profiles -- we've switched to this approach -- but is there a way to globally replace "PaulM" with "Paul" in the body of a post or reply? Thanks in advance Paul How does AP1 v2 "matches" work? Hi, Here's my API query: https://community.ato.gov.au/api/2.0/search?q=SELECT id, view_href, body FROM messages WHERE body matches 'house-rules' LIMIT 10000 The plan is to find any links to "/t5/Getting-started/House-rules/ta-p/6" so that we can update the link to point to our FAQ page but the results include all occurrences of "house", "rule" and both. If anyone can shed some light on this behaviour, I'd really appreciate it. Re: Cannot insert Terms of Service using jQuery Hi AdamN Thanks for your help. Your suggestion didn't work when I tried to use the text key directly but by #assigning it first, it works great! woo hoo!! I couldn't have done it without your help! In case anyone else wants to do this, here's my working solution: <#assign tos> ${text.format('page.user_signup.terms_of_service')} </#assign> <@liaAddScript> (function($) { $(document).ready(function() { $terms = "${tos?js_string}" $('.lia-terms-service').prepend('<div class="tos-text lia-faq-answer"></div>'); $('.tos-text').html($terms); }); })(LITHIUM.jQuery); </@liaAddScript> RE: I'd be curious to know more about the issue you're encountering. We're using the "faq-toggleable-contents" OOTB component. We want the terms of service to appear when the Level 1 heading (Terms of service) is expanded, and not as an expandable level 2 heading under the level 1 heading (which is the way the FAQpage is designed to work). Cannot insert Terms of Service using jQuery I have struggled with this for several days now -- it's driving me nuts! I want to get our Terms of Service and add it to the FAQ page. I have created a new section (id = "terms-service" and heading exists with class of "lia-terms-service"). I have tried about 20 different ways to insert our TOS. This is where I gave up and posted this plea for help! $('.lia-terms-service').prepend('<div class="tos lia-faq-answer"></div>'); $('.tos').html(${text.format('page.user_signup.terms_of_service')}); If I comment out the second line, the new DIV is prepended and all is good -- but it has nothing in it. When I include the insertion, it falls over. Does anyone have any ideas? I'm sure there's a way but it has so far evaded capture! Thanks SolvedRe: LiQL: Exclude users with certain rank Hi Claudius I had a play with the ranks "table" and this worked: SELECT * FROM users WHERE rank.id IN ('2','3','4') ORDER BY kudos_received.sum(weight) DESC While not elegant, maybe this would serve? Assuming "Administrator" has an ID of "1", leaving it out of the list would exclude Administrators from the results. Re: API & FreeMarker Issue Tracker Hi SuzieH Can we pin luk's issue tracker post to the top of the Developer Discussion board feed so that we don't lose it as other posts arrive? This is a great initiative! Just a thought ... Re: How to check if a standard component has content? Hi wearesocialit You could do this with jQuery. We use this widget so I checked it with Dev Tools. It displays in our sidebar as a table with a header row and five data rows. You could check for the existence of the data rows and display/hide the taplet heading if data exists/doesn't exist. You might even be better off hiding the whole taplet if there is no data? Hope this helps ...