Developing (v7+)

How to add a file programatically?

My Concrete5 block creates a PDF file and I would like to add it programatically to the File Manager. Is there a snippet of code that shows how to do that? Many thanks... Todd

Can no longer add pages

Hi, I am not sure what happened but after copying a few pages my website broke. All the pages I copied including the one I copied threw an error: File cannot be found , so I deleted those pages. And now my add new pages option disappeared and when I t…

Refresh block cache

Hi, I've been working on refreshing a specific page cache including block cache with a certain button, I'd use the refreshCache() function in the block.php model for this. Anyways, it appears that this whole function is commented out in the newer ve…

Collecting emails and name for file download

Just wondered if anyone could tell me a way of having a link to a file that only downloads if you fill out a form for name and email. Preferably I want to use 5.7 ? Can you have multiple registration forms?

3 seperate versions of the same site

Hi all, I am trying Concrete5 5.7 for the first time (beside the point but I am loving the improvements). I am setting up a large website we are separating the site into 3 groups, - Residential Customers - Commercial Customers - Builders/Develope…

Cannot load a PDF file for inline viewing

I have a script that dynamically generates a PDF file. My intent is to have the user view the file inline. The file is contained in the variable temp and I use the following header constructs: $temp = $pdf->generate(); header('Content-Length: ' . st…

Can't save block to global area

I am having this issue now. I don't get an error or anything and it seems like I can add a block to the global area in edit mode, though when I publish it simply disappears... [code] [/code] Any ideas?

Warning: 5.6.3.3 breaks 'Page Properties' Add-on

Just a warning when upgrading to 5.6.3.3 some old add-ons may break. The 'Page Properties' add-on is old but a couple of my older websites use this. Currently the 5.6.3.3 update has caused it to break. I will inform the developer but I do recommend…

Calendars

I'm starting to get to grips with C5 and all's going well. I'm really struggling to get a calendar onto the site. Upcoming Events - 2.2.2 works a treat with Google calendar. The down side is I want to show a month view calendar All the add-ons a…

Installation

Can I install backup files in a new installation? Where do I find define ('PASSWORD_SALT in data base table. Issues after transfer. ('PASSWORD_SALT was not used in Config.file set up for data base. Installed by simple scripts.

Filter Posts