Jump to content

sebastianr

Clients
  • Joined

  • Last visited

  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.    sebastianr reacted to a post in a topic: Add group id to post
  6.    sebastianr reacted to a post in a topic: Add group id to post
  7. 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.
  8. 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.
  9.    sobrenome reacted to a post in a topic: Rest api example /api/cms/records/ POST
  10. 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.
  11.    sebastianr reacted to a post in a topic: Rest api example /api/cms/records/ POST
  12.    sebastianr reacted to a post in a topic: Rest api example /api/cms/records/ POST
  13. Perfect. I didn't know Request.AddParameter("fields[24]", "This changes record title"); is how an array is passed via RESTSharp. Thank you!
  14. Anyone have an idea? The support does not want to help here, it would be above the standard... 🥴
  15.    IP-Gamers reacted to a post in a topic: Where can I find the RSS Feeds
  16. 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...
  17. Sorry, my fault. An Safari add-on blocked it 🤦‍♂️. Solved...
  18. Not a single page has an RSS logo. RSS is activated.
  19. What is now the url of the RSS feed?
  20. Where can I find the URL to the RSS feed I created in ACP?