-
Escape apostrophe in template files
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')?
-
Get record excerpt in custom plugin
With true as params, it works. Where can I find these methods in the documentation?
-
Get record excerpt in custom plugin
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}}
-
Localization, Home Page, SEO?
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?
-
-
-
Add group id to post
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.
-
Remove "Start a Club" Button
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.
-
-
Rest api example /api/cms/records/ POST
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.
-
-
-
Rest api example /api/cms/records/ POST
Perfect. I didn't know Request.AddParameter("fields[24]", "This changes record title"); is how an array is passed via RESTSharp. Thank you!
-
Rest api example /api/cms/records/ POST
Anyone have an idea? The support does not want to help here, it would be above the standard... 🥴
-
-
Rest api example /api/cms/records/ POST
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...
-
Where can I find the RSS Feeds
Sorry, my fault. An Safari add-on blocked it 🤦♂️. Solved...
-
Where can I find the RSS Feeds
-
Where can I find the RSS Feeds
-
Where can I find the RSS Feeds
Where can I find the URL to the RSS feed I created in ACP?
sebastianr
Clients
-
Joined
-
Last visited