Developing (v7+)

Update Concrete 5.8.0.3 - not showing new 5.8.1 release update

When on .../index.php/dashboard/system/backup/update I am getting the following in C5.8.0.3 even though there appears to be a new release: C5.8.1 "Apply Downloaded Update No updates are ready to be installed." Any ideas? or is this a bug in C5.8.0…

get a file by his name

Hello, I would like to access a pdf file which I have created inside the "files" folder. I did not upload this file via the dashboard. What is the best way to get that file programmatically? Here is what I tried : $file = "/files/static/report.pdf";…

Anyway to refresh package db schema without reinstalling package?

Hi, Building a single page package that holds db.xml in the root package directory. Anytime I make a change to the db.xml file I have to reinstall the plugin to refresh it. When developing blocks you can refresh the block from the stacks area. Is th…

Error Following Add-On Block Controller.php Validation Function

I am building an Add-On for concrete5.8.1.0 and preparing it for submission. I had gone through 95%+ of the checklist items for submission and everything was working well until I revisited the validation function. The validation works correctly if the…

C5.7 backend frustratingly slow

I have a C5 5.7 install on a shared webspace that also runs our current website on C5 5.6. The 5.7 backend and un-cached frontend run on PHP 7.1 but are frustratingly slow - slower than the 5.6 back-end and un-cached pages running on PHP 5.6! Pages ta…

Validating a single page post

Is there a built in way to validate data submitted such as a blocks validate method? I just need to ensure a few inputs have values before the single page gets posted. Should I use javascript, or can I do this from a controller?

How can I make PageWrapperClass 100% height

Hi everyone I am currently building a custom theme using the secondary expandable menu by codyhouse. This nav expands full-height from the right on click. The contend is wrapped in a class which gets shifted left on click. Works just fine until I wra…

Searching within Custom Tables

Hi All I am working on a site that already have an existing MySQL database with information in that they want to pull into the site. The want to stick with it in its own database as the data is critical to them and will easily outlive the life of a web…

Creating a database for a single page

I am having trouble insert items in a table from my single page controller. It seems all the values are posting correctly. But I get an "Access or Syntax" violation. An exception occurred while executing 'INSERT INTO quickEvents (id, name, short, long,…

Filter Posts