Developing (v7+)

Limit ForEach Loop to 4 results

Hi, this may be a simple fix, but I can't seem to find any documentation on this. I have a custom block that iterates out pages and files based on specific attributes. Working great, but I would like to limit the loop output to 2 results at a time with a …

Forward not working in 8.2.1 "/forward/" after login

Hello guys! I really need this feature to work as it is a nust have for the work I am doing at the moment. Searched arounf here but cant find this feature of forward is working. Any help will be greatly appreciated. Thanks!

Having a problem installing PDF_Viewer

I tried the builtin installer, but it just hung, so I downloaded the zip and put the block as in the attachment. However the block does not show as waiting to be installed. Help! Thank you... Todd

Customizing Express Entry List (Condition if fields are empty)

I have an express entry list block that outputs data of consulting hours of teachers. The following result items are displayed: Consulting Time, Consulting Room, Consulting Room's Phone Number I have put some HTML around the result items, mayb…

Customization Browser Compatibility Issue

Having an issue with browser compatibility. I included a customization where clients can edit the size and color of the image slider text. The issue is that the design palette is empty in Chrome but if I go into Firefox, I'm able to edit the size, font…

Block and packages

hello, everyone I am new in concrete5 developer. I check all the documentation. I didn't get proper tutorial about how to create package with multiple block, including database interaction, single page, custom stylesheet and jquery. Can anyone help me t…

$files->filterByExtension('pdf'); isn't working :/

I'm working on a task that requires pulling back certain files types in the file manager and making them accessible via the UI. I am working through the documentation and need to bring back examples of files that have the extension .pdf. I'm just echo…

Image Slider Custom Template and Caching

I have created a custom template for the Image slider block which randomises the slides and displays the first four slides only. [code] if(count($rows) > 0) { shuffle($rows); $rows = array_slice($rows, 0, 4); } [/code] This works perfectly …

"Setup on child pages" does not work

For some reason the "Setup on child pages" in "Page Types" => "Output" => "Edit Mode" does not work, it redirects the whole page to an unstyled form and when you click save it redirects to another page saying 1 out of 4 but then does nothing. I have to cl…

Filter Posts