Developing (v7+)

What is "no-js" class?

I saw "no-js" class added to tag in the edit mode. There is no stylesheet attached to this class. Is it there to identify the page I am in is in the edit mode? [code] [/code] Is there another way (or better way) to identify the page is in the edit…

How to show the data from db table in my single pages

Hi I am developing web application using C5 I have the problem, how to show the data from database table in single pages. After getting the data from controller by following code controller: [code]public function on_start(){ Loader::model('…

Form submit to different emails

Is it possible to have a standard form block that send form to different emails depending on what the customer checks? Or is it an add-on or hard coded? How would this be done?

Trouble Overriding A Deeply Nested Template File

I'm having a hard time overriding a template file located here: packages/problog/blocks/problog_list/templates/simple/view.php I put mine here: packages/brp/blocks/problog_list/templates/simple/view.php but it's not working. My overrides cache…

Model variable in view?

I wrote in my model to list database items like... [code]public function leavecategory() { $cat=$db->GetArray("SELECT lc_category FROM `lms_leave_category`"); return $cat; }[/code] I want to use this $cat in my view to list in a select box... How ca…

Connecting to Exchange Web Services

Hi! Have anyone tried connecting to EWS in Concrete5? Is it possible? I can't find an addon to help me, so I'd have to do it from scratch. Any tips, hints, guides, links etc. would be much appreciated. /Thomas

Fill out form once only per visitor

Is there a way to give visitors only one go at filling out a form? For example if I have a questionnaire, how would I prevent a visitor from filling it out and submitting it multiple times?

Responsive works a treat but . . .

I decided I'd like to use Zurb foundation framework within C5 and found some great info (http://www.concrete5.org/documentation/how-tos/developers/creating-a-fresh-foundation-4-theme-for-concrete5/) It appears to work okay, my only question is, what ab…

Max File Size Error - File Manager NOT MySQL

Hi Gang I am creating a site for a friend of mine and it will have picture sets and video's. Pic uploads, no problem. Video's - HOUSTON WE HAVE A PROBLEM. After adjusting the php.ini file to 1000mb and increased the timeouts, I am still getting a …

Getting Helpers (etc.) From Inside Blocks Inside Packages?

There are a number of functions that use a $pkgHandle parameter to load stuff from within packages, such as getToolsURL() and Loader::helper(). How would you load a helper, or tool, or whatever from within a block inside a package? For example, from he…

Filter Posts