Developing (v7+)

How to add double or float validation in a form?

There is integer validation in validation/form helper. For adding double or float validation, is overriding form helper class and validation/numbers file the only way to do it or is there an easier alternative?

Jquery conflicts

Hi, I'm really getting mad trying to sort out jquery conflicts !! If I read the documentation and forum threads I understand that there should be no need to include jquery library as it is already included in the header_required or footer ... But I'm t…

Permissions Changed?

I am using block permissions to alter the content of a certain block. public function view(){ $b = Block::getByID($this->bID); $bp = new Permissions($b); $this->canWrite = $bp->canWrite(); $this->set('canWrite', $bp->canWrite()); …

form_minisurvey.php

For the file [code] /concrete/core/controllers/blocks/form_minisurvey.php [/code] ...where do I put the replacement override file? I tried /controllers, /controllers/blocks, /blocks/, no avail. Thanks in advance.

Custom 404 page title

Does anyone know a way to create a custom page title for 404 pages? We are using setThemeByPath to look for page_not_found in a theme folder, but we don't see any way to have the page title to be anything other than ":: sitename." Ideally, we would like i…

Page List search with number is not correct

Hi all, I'm having a problem to search for products by its keywords. Here a little code: [code] public function view() { $productList = new PageList(); $productList->sortByDisplayOrder(); if (!empty($_GET['cKeyword']) && $q = trim($_GET['cKeywor…

Grid of images

Hi there - I'm looking for the best way to create an editable 4x4 grid of images. When clicked on the images need to just link to other pages in the site. Currently, there's a placeholder that's just a simple unordered list with elements and styled wi…

Pretty URLs for block actions - are they possible?

I was thinking about this the other day, and trying to figure out if it's possible or not. Right now, in a block view when you do $this->action('method') it spits out a super long url with a lot of parameters pointing directly at the index page. Not rea…

Filter Posts