Developing (v7+)

Changing Concrete5 from test server to live

Hi I've developed a website in Concrete5 on a test server and now need to put it live on the client's domain. I've copied the site across and it works despite me not deploying the database. Why does it work without importing the database? What issues migh…

Connecting to a second Database?

Hi is it okay to use Loader::db() to connect to a second database (which is not a C5 database)? It looks like I can pass it hostname, username etc. I need to pull in data from another database Thanks Russell

Blank screen after file upload with Internet Explorer

We always get a blank screen after the file upload. This is causes by /concrete/tools/files/add_to_complete.php before the closing form tag, there's closing div tag which should be deleted. there are 11 closing tags and 10 opening tags..

Custom User Attributes

Is there a core function to get the optional values of a custom User Attribute? I know how to get list of user attributes, but how do get options I've created for select menus, checkboxes, radios, etc? Do I need to use the Page object? Thanks!

Get All Users in Multiple Groups?

I want to display a list of users based upon an arbitrary selection of groups. The UI will consist of a list of checkboxes - one for each group, much like selecting file sets in the File manager. UNLIKE the file manager, however, I want to pull out ALL us…

Mail accepting html

Hello there and thanks for reading. I'm having a bit of a problem understanding how to send a mail, accepting html. I have been looking in concrete5 html helper file, but without succes. Does anyone know the best way to set up mail accepting html in co…

zend auth issues for LDAP login

I'm actually trying to build an LDAP login with Active Directory, but I built it using the Zend Framework Auth and LDAP classes. Now that I'm actually trying to incorporate this into C5, I'm running into all sorts of issues getting the necessary classes t…

Display Content Based on Day & Time?

Is there a way I can display a piece of content based on the day and hour of day? It's for a radio station website. I want to be able to display which person is currently on-air. So Monday - Friday, 6am-9am would need to display the morning show. 9am-2…

Help about how to use external form and store form data in c5 db

I wish to *coding* a simple contact form where user can insert name, date of birth (using a date picker) and other stuff using the concrete5 widget, then validate this form and save the form data such as the simple form add-on way . In other word I wis…

Page list - adding a "is_featured" like filter

Hello everyone, I find the is_featured page very handy. So my questions is, it is possible to add more attribute types that work like the "is_featured" attribute type. I would like to add a attribute type "add_to_main_menu". I am already using the …

Filter Posts