Jump to content

sebastianr

Clients
  • Posts

    20
  • Joined

  • Last visited

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Everything posted by sebastianr

  1. My code: <div class='ipsPageHeader ipsBox ipsResponsive_pull ipsPadding ipsClearfix' style='background-image: url('{file="$record->_record_image_thumb" extension="cms_Records"}')'> Result: <div class="ipsPageHeader ipsBox ipsResponsive_pull ipsPadding ipsClearfix" style="background-image: url(" https:=""xxx.com="" uploads="" monthly_2022_11="" connor-williams-iir32bprihe-unsplash.thumb.jpg.f54c7b887d3ac0e316547fafa1acd564.jpg="" ')'=""> How to escape the apostrophe to get correct url('image.jpg')?
  2. With true as params, it works. Where can I find these methods in the documentation?
  3. Hello, I want to add an excerpt of the record in my custom feed (first 100 letters...). I can't find a variable to achieve this. Can anyone give me some guidance? My current approach: {{if !empty( $records ) }} {{foreach $records as $record}} <div class="col-md-6"> <div class="blog_card"> <div class="author_info"> <div class="meta"> <span>{datetime="$record->mapped('date')"}</span> </div> </div> <h4 class="blog_title"> {$record->_title} </h4> <p class="blog_desc"> {$record->_description} <!-- ???? --> </p> <a href="{$record->url( "getPrefComment" )}" title='{lang="view_this_cmsrecord" sprintf="\IPS\Member::loggedIn()->language()->addToStack( 'content_db_lang_sl_' . $record::$customDatabaseId, FALSE ), $record->_title"}' class="read_more">Read more</a> </div> </div> {{endforeach}} {{endif}}
  4. We are a multilingual community and do not really understand the "best practice" for multilingual content. Activate and provide language packages from the system: done, easy Create forum categories for different languages: done, easy Create a multilingual home page? How? Where can I specify which language has a custom page and even specify that it is the index page for language X? How to adjust the sitemap.xml so that Google etc. indexes the community multilingual?
  5. Hello, is it possible to add the group id as an css class to a posting? I need to style up postings from some groups.
  6. Where is the template file to remove the "Start a Club" Button? I'm not able to change the group permissions to "disallow", cause the users create the clubs via the REST API.
  7. Yeah, same thing. Took me also weeks until to ask for support here. If the REST API would accept a json body, it would be easier.
  8. Perfect. I didn't know Request.AddParameter("fields[24]", "This changes record title"); is how an array is passed via RESTSharp. Thank you!
  9. Anyone have an idea? The support does not want to help here, it would be above the standard... 🥴
  10. Since the REST API does not accept a json body, what does the URL have to look like to transfer "fields"? Can someone please give an example? Something like: https://www.domain.com/api/cms/records/4?key=mykey&category=7&author=1&fields="field_8":"content here..." Isn't working...
  11. Sorry, my fault. An Safari add-on blocked it 🤦‍♂️. Solved...
  12. Not a single page has an RSS logo. RSS is activated.
  13. Where can I find the URL to the RSS feed I created in ACP?
  14. I'm getting INVALID_RECIPIENT using the POST /core/messages API. Whats wrong with my request? REQUEST DATA { "key": "****************", "from": "12", "to": "1,11", "title": "Sample title", "body": "Sample content..." } RESPONSE { "errorCode": "1C374\/3", "errorMessage": "INVALID_RECIPIENT" }
×
×
  • Create New...