Developing (v7+)

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…

Get url for PageID on the fly for a block

I have created a block that will (eventually) use a switch case to feed certain categories of content via ID to anywhere its used and based on the category the page has been assigned. I have the content feeding through, but still stuck as to how you f…

Filter Posts