Developing (v7+)

Beta 5.4.1 -> Upload Complete

(Wasn't sure where to post this.) I noticed the nice addition of the "Upload Complete" dialog prompting for meta data entry after a file upload - that helps! Except, it only shows up when you upload through the dashboard, not when you upload throu…

Storing sessions in the database

Hi guys, I'm setting up a load balanced configuration that needs high availability, so I need to store the sessions in the database. Just wondering whether anyone has already done this in C5 and can give me any tips / pointers before I get started?? …

How to refer to a questionID on a form

Hello. I have this code on my external form template: [code] [/code] And then this code is part of a function in my template's controller: [code]$ui->setAttribute("model_name", $this->post('model_name')); [/code] This updates a user's attribut…

Including (or not) javascript files from /concrete/js

As I find myself adding another js file to a template that is already in the /concrete/js directory, I wonder if anyone has devised a smart way to not duplicate files when not needed. This time it is the jquery.scrollTo.js file that I need, which is in t…

Moved database, home page goes to login now

I've moved (synchronized from phpmysqladmin) my c5 database to a new server. I updated my config/site.php settings to point to new server. Everything works great, except I can no longer browse anonymously, and admin is the only user that has access. …

Deleted Page "Trash Bin" Addon -- need help

Hi, I've been working on a "trash bin" addon so that when you delete pages, they get moved to an out-of-the-way location instead of being permanently removed from your site. (You can permanently remove them by deleting from the trash bin). I've got it…

Slideshow block, changing link url

I updated the view.php to change the href link on the image to point to a specific page and pass the File ID. but when I did this the link text for the image is being displayed under the image. the change I made is below. [code] el.innerHTM…

Best Practice question

Just starting to work on a new package, it is going to have multiple blocks and multiple tables. Each of the blocks will require access to all the tables. Should I create the tables at the top package level or just in anyone of the blocks. Does …

Coding standards

When I heard that C5 is ZF app I was happy. I also really like that you've created strict coding standards. But I'm wondering why you didn't adopt the ZF coding standards completely (especially the underscore notation of private variables)?

Filter Posts