Developing (v7+)

[5.7] Image to JPG when generating a thumbnail?

Many of the images on my website are uploaded in PNG format. When I am generating a thumbnail from them, I'd like to convert them to JPG. I do have something like this: [code][/code] However, this outputs a PNG file with a .jpg extension - with tr…

Config changes in 5.7.4?

Hi, I've worked on some add-ons and created them for/in 5.7.3.x. Within the code I use the file config for, well..., config data. I noticed that something has changed. At least, I think so. I used to get some config values from the "generated overr…

No links working with 5.7

I am hoping someone can please help me with a customer site that is not behaving. We are going live (supposed to be now!) with a new site, our first using 5.7 (5.7.4.2), and when not logged in, all links throughout the site are simply going back to ind…

Concrete 5.7 Class Not Found

Hi, I'm trying to use a controller linked to my single page and I always get this error [see attached file]. Here's my controller code : [code]

API-based ecommerce

I have the following requirements: - I would like to integrate an API-based ecommerce solution with concrete5. That means, that all data about products, customers and so on is not stored in the concrete5 database but in the cloud and the data is retriev…

How to customise SecurimageController in Concrete5.7

Hello, I have a system Captcha in my contact form which works fine. In Concrete5.6, you just copy the core controller and modify it. Following this: https://github.com/concrete5/concrete5/issues/2088 - it all works fine. But I want to do that as pa…

5.7, just cant get autonav to render 1 level of subpages..

This should do it, as the config is just copy-pasted from the block widget, which shows them.. [code] $nav = BlockType::getByHandle('autonav'); $nav->controller->orderBy = 'display_asc'; $nav->controller->displayPages = 'top'; $nav->controller->dis…

Connect to other database (5.7)

Hello, I have created a custom form. The result of the form needs to be written to another database. How is this achieved? In Concrete 5.6 it was possible like this: [code] $db = Loader::db( 'newserver', 'newuser', 'newpassword', 'newdatabase', t…

Need help building a BLANK, themeless page

I need to create a completely BLANK page with the exception of the ability to add a block. I've tried creating variations of Single Pages but they keep grabbing the default header and footer contents and the theme styling. I need to create a blank page th…

overriding the file-manager.js

Hi, i am currently working on a small package adding a button to the menu that appears when selecting a file. i got most of my code working in the application directory but i want to save it in a package to use it on other sites. the problem i run…

Filter Posts