ContributionsMost RecentMost LikesSolutionsRe: Email template issue caused by component.content.studio-title (content) luk wrote: :manlol: (and no decent emojis in 2018??) :robotlol: But some "Emojis support" mentioned in the Communities 2018 Roadmap. Can't wait Re: Email template issue caused by component.content.studio-title (content) Thank you luk ! Re: Email template issue caused by component.content.studio-title (content) Thank you, luk ! :smileyhappy: I am using Sass version of Foundation for emails to avoid dealing with most of that inlining and table markup stuff you mentioned. So when I wrote: "I double checked the context objects in my code ..." I mean double checking of the source code in my Foundation for Emails project source HTML file. But "npm run build" i.e. parsing/inlining made a difference :robotlol: I am not 100% sure yet but it looks like Foundation for emails compiler can't parse/inline the right way double quotes inside double quotes i.e. email context objects inside HTML links. In my case this one shall not pass parse/inline: href="${emailUrls.getTapestryUrl("/user/myprofilepage/tab/user-preferences%3Aprivate-messenger")}" This one parsed/inlined fine: href="${emailUrls.getTapestryUrl('/user/myprofilepage/tab/user-preferences%3Aprivate-messenger')}" The question is would HTML links containing the email context objects work properly if URL-address is inside the single quotes? Or I should manually change it to double quotes after my code is compiled/minified/inlined? Thank you! Re: Email template issue caused by component.content.studio-title (content) Thanks luk , You can take a look at my code if you want - https://glitch.com/edit/#!/join/bc431a18-c790-4eee-ba16-6191d76983cc I can't believe you guys are debugging email templates like this...Is there some Velocity engine template linter/debugger/validator? Can't stop wondering why Lithium platform in 2018 is still using those dinosaurs from Apache foundation... Email template issue caused by component.content.studio-title (content) TMLHi Lithium Developers, I am customizing community Email template “You have received a private message” in Studio -> Text Editor -> Email text. After I pasted my customized HTML code in the “HTML Content” field and pushed “Send Email to Self” got the following error message displayed: Sorry, we could not send the email at this time. Please wait a few minutes and try again. The component causing the issue is component.content.studio-title (content). If you have recently made changes to this page or component, please use this link to be taken to the Page Editor in Studio. If this is not the case, please contact your Administrator. And my template is not sending to my Email. What caused this issue and how it can be fixed? Here is the link to the HTML code I am trying to use in my template - https://glitch.com/edit/#!/join/bc431a18-c790-4eee-ba16-6191d76983cc Is there some way to debug email templates to see the line/column number of the code which caused the Velocity engine parser issue? Thanks! SolvedRe: Email template issue caused by component.content.studio-title (content) Thanks for the advise, Parshant , I created a support ticket but it looks like Support team is unable to help me: The error I see doesn't say much. It just points out that some of the context objects isn't used correctly. The Support is not equipped to troubleshoot custom code. I double checked the context objects in my code and didn't find any errors or typos. What could it be? Re: A custom component that shows 3 last posts selected from all the community blogs Thank you, Parshant , You are right, I am not very much familiar with the Lithium coding. It is actually not easy to learn some practically useful things from the documentation sections in the Lithosphere. I mean I miss code examples not the glossaries and tables with the key/values and their definitions. I am a little bit confused by the things like: ${msgs.subject} As I can see there is no such key "msgs" in the API 2.0 Collections glossary. But there is key "messages". Is the glossary out of date or I missed something? Could you please suggest me some practical tutorials/video lessons explaining how to use LiQL together with the FreeMarker to customize common community components like for example Latest Blog posts? Thank you! Re: A custom component that shows 3 last posts selected from all the community blogs Thank you, Payal ! Could you please take a look at my code above? Is it OK or I missed something? A custom component that shows 3 last posts selected from all the community blogs Hi, I am trying to build custom component/widget for the main page. The idea is to show our users in a visual manner 3 last posts selected from all the community blogs. Selected blog posts should be sorted by the time of publication in descending order. I want also to show the post subject, post cover image, link to the post, post time, post author's nickname and avatar for each of the 3 selected blog posts. Could you please take a look at my code below: <#-- SELECTS DATA AND ASSIGNING VARIABLES --> <#assign messageId = rest("2.0","/search?q=" + "SELECT id FROM messages WHERE board.id in ('Help', 'Blogs') AND depth = 0 ORDER BY post_time DESC LIMIT 3"?url).data.items /> <#assign subject1 = rest("/messages/id/${messageId[1].id}") /> <#assign subject2 = rest("/messages/id/${messageId[2].id}") /> <#assign subject2 = rest("/messages/id/${messageId[3].id}") /> <#assign cover1 = rest("messages/id/${messageId[1].id}/images") /> <#assign cover2 = rest("messages/id/${messageId[2].id}/images") /> <#assign cover3 = rest("messages/id/${messageId[3].id}/images") /> <#assign link1 = rest("/messages/id/${messageId[1].id}?restapi.response_style=view") /> <#assign link2 = rest("/messages/id/${messageId[2].id}?restapi.response_style=view") /> <#assign link3 = rest("/messages/id/${messageId[3].id}?restapi.response_style=view") /> <#assign post_time1 = rest("/messages/id/${messageId[1].id}?restapi.response_style=view") /> <#assign post_time2 = rest("/messages/id/${messageId[2].id}?restapi.response_style=view") /> <#assign post_time2 = rest("/messages/id/${messageId[3].id}?restapi.response_style=view") /> <#assign author1 = rest("/messages/id/${messageId[1].id}?restapi.response_style=view") /> <#assign author2 = rest("/messages/id/${messageId[2].id}?restapi.response_style=view") /> <#assign author3 = rest("/messages/id/${messageId[3].id}?restapi.response_style=view") /> <#-- SHOWS SELECTED DATA ON THE MAIN PAGE --> <#-- Shows Link and subject of the blog message #1 --> <a href="${link1.message.@view_href}">${subject1.message.subject}</a> <#-- Shows Cover Image of the blog post #1 --> <img src="${cover1.images.image.url}"/> <#-- Shows Post time of the blog post #1 --> ${post_time1.message.post_time.@view_date} <#-- Shows Author's avatar of the blog post #1 --> <img src="${author1.userAvatar.image.url}"/> <#-- Shows Author's login of the blog post #1 --> ${autthor1.author.login.@view_date} PS Is it possible to select from all the community's blogs without addressing every single blog (board) ID? Thank you! Re: User dropdown menu on XS and SM screens (responsive skin) Thank you for your help Parshant ! Fixed :robothappy: