Developing (v7+)

Can we create/update a page using PHP?

Hello there, wonder if anyone can help. I am trying to write a script that will used on a daily basis to check to see if a certain page exists. We will be updating it if so, creating it if not. Currently I can check to see if the page exists: …

Multiple file upload

Hi all, i was wondering why i cant add an file input with file manager with a multiple attribute, or am i missing something? [code] $al = Loader::helper('concrete/asset_library'); echo $al->file('ccm-b-image', 'images[]', t('Choose image')); [/code]…

Minifying Code

I was hoping someone knew of an actual add-on that is capable of minifying the inline code. I have been trying to do this with external resources (minify.php ect) with very little success. Any suggestions?

External database

Has anyone in a dedicated or virtual hosting environment (not a shared hosting one) utilized an external database that was separate from where the concrete core was installed? I'm trying to determine if there will be a negative performance impact in t…

C5 works OK on SAN, but not on NAS

My developers tell me that there is a problem with the server. Something about speed. I need your expertise! Please *HELP* 1. Status A. The source code was installed on 'NAS' (Network Attached Storage) of a QA server for server dualization (server r…

Registration form clearing data if error occurs

Hi all, I suspect this might be a simple one but I'm not sure where to start... I have quite a long registration form for new users and if they miss one of the required steps and hit submit, it returns with an error however all of their completed data …

Display, Edit, and Save a Custom Attribute on Website

I am new to PHP, I have been working on this for some time. Can anyone provide me some simple example code of how to edit and save a custom user attribute? I know how to display the code, but how can I let them edit and save it?

Google Page Speed Insights - Remove Render Blocking JavaScripts

We are trying our best to improve website performance of our concrete based websites. We are testing a particular website using Google Page Speed insights and get the following warning (see below): The part that we need advice on is the 2 blocking scri…

Transferring Domain and Concrete5 Site

The situation: I’m helping a friend update his website that is currently hosted by HIBU. He paid hibu to create and host and now has no access to the site except through update requests. I’m planning to rebuild his site on concrete and would like to mov…

echo very 9th item of array a different code

HI I have been trying to get my code to output a different script for every 9th item in an array, but i keep going in circles, to make it really simple please see below what i'm trying to do: [CODE] …

Filter Posts