Developing (v7+)

How to programmatically add keywords to an existing page

Hi, I'm trying to programmatically add keywords to an existing page. I get keywords from a form, they look like $tags="kw1,kw2,kw3". Then i try with this : [code] $importTags = explode(",", $tags); $ak = CollectionAttributeKey::getByHan…

Multiple file picker not working (only single file per time)

Parameter described in this documentation page, at the end https://documentation.concrete5.org/developers/working-with-files-and-the-file-manager/working-with-existing-files/add-file-manager-support-to-your-blocks-and-single-pages multipleSelection op…

Table Names

I have just migrated a site and, with the help of the Database Migration add on which converted most of the tables, and a couple of 'Table not Found' interrupts help me to get the site up and running on the remote server. I have five tables : oauth2acce…

Add an fullscreen slideshow to the startpage

Hello I use concrete5 8.2.1 and want to add the following: When I call my homepage, I want to start a slideshow. This should be displayed maximized over the whole browser viewport. With a click on the slideshow or at the end of the slideshow should b…

Is there a "current folder" function?

Hi, I am trying to fix the file importing php in my Concrete5 (v8.3.2), because it does not consider the current folder permissions but the global permissions in order to allow the replacing of files. To get the current folder, I have found this pie…

It always show the smaller version of thumbnails

Hello, I have a image of size 700x100px in a content block. Now the problem is that on the desktop also it is showing the thumbnail image but it modifies the height and width of the image to actual size of the image. So It is showing thumbnail of 320x…

Checking user group

I am making a link which changes based on group membership (since the page you can access will change). I have been trying to use https://documentation.concrete5.org/developers/users-groups/groups/overview but am having issues. Currently, I am trying …

Download Image from File

Hello, Download image in the file manager doesn't work using the following code. I'm using c5 8.4.2. Please can someone help me? [code]$bf = File::getByID(1); $al = Loader::helper('concrete/asset_library'); echo $al->image('ccm-file', 'fID', t('Cho…

Site is no longer editable after adding some html script code

Hello I was searching for a way to add a script code to an concrete5 page. I found this: https://www.concrete5.org/community/forums/usage/adding-custom-script "If you're just trying to add some JavaScript then you could use an HTML block to place i…

Block Designer Pro Repeatable Fields, Collapse All Button

Ramon Leenders Block Designer Pro add on is indispensable (https://www.concrete5.org/marketplace/addons/block-designer-pro). He built in the ability to collapse repeatable field groups in order to better drag them into ordered positions. I've always w…

Filter Posts