Developing (v7+)

Translatable Strings in Javascript

I'm developing a block in which the js (in blocks/block_name/js/block_name.js) needs access to multiple strings that have been subject to c5's translation mechanism (t(), etc). What's the core mechanism for providing javascript translations?

using bootstrap-select jQuery plug-in - won't drop down

Trying to use the bootstrap-select control (slick wrapper jQuery plug-in) for some select HTML controls, and they behave properly when I'm logged in as editor. However, they don't drop down when clicked while I'm signed out. I am calling the $(s).select…

Formatting the Form Block

I am creating a form with questions that involve radio buttons denoting 1 to 10 (for rating). However, when I add the question I get 3 columns with the questions squeezed into the left cell, then the buttons then a gap and the numbers in the last cell. …

RSS Displayer Help

I am using RSS Displayer to show two different feeds on two different pages of my website. All of the sudden they both have stopped working. Nothing has changed with either of the feeds. The existing feeds say "Oops it looks like you've entered an invalid…

Setting Cookies for AWS Cloudfront

Despite reading the documentation and forums a number of times I'm still struggling to work out how to set cookies to access private content served via Amazon Web Service's Cloudfront per guidance here https://docs.aws.amazon.com/aws-sdk-php/v3/guide/s…

Form Block Field IDs

I'm trying to create a custom form block that behaves properly when multiple instances of the block are placed on a page. If I don't give every form field a unique id, c5 can repopulate the wrong fields after one of the forms has been submitted (which …

Config Values

I have some overrides for the default config file. How do I get those programatically?

Extract full Image Path from page image area

Hi, Ik like to get the full image url in a link from the image set on the page using a imageblock in composer. If I try the code below ik get the full block after v1: I only like to get the full url, so: http://www.xxx.xx/xxx/files/1614/5751/3…

Filter Posts