Developing (v7+)

Legacy urls

Hi, I have just a little question : Why using legacy urls (ENABLE_LEGACY_CONTROLLER_URLS) ? Thanks.

$page->getCollectionPath() help

Hi, I’m trying to set up a multi language selection dropdown which goes to the correct page for the relating language. I have setup each page language under their corresponding suffix. On the dropdown for example I have used

Check it out: custom block creator!

*** This package is now available on the marketplace: http://www.concrete5.org/marketplace/addons/designer-content/ *** I've made a "custom block creator" which aims to solve the problem of allowing you (as the site designer) to specify exactly how som…

how to detect area when adding a block?

I want to be able to know the areaHandle for the area I'm attempting to add a block to, from within that block's controller. I put this in the block's add() function: [code] $b = Block::getByID($this->bID); $this->set('areaHandle', $b->getAreaHandle(…

Are there "INSTRUCTIONS" anywhere?

Hi. I'm hopelessly lost. I'm new to website building and was under the assumption that Concrete5 was "easy". I have a "home page" started, but when I add other pages for my business site (Services, About Us, Contact Us...), none of them appear on the …

List all options from a form (select, checkboxes)

Hi, Everything seems to be linked to a Collection (CollectionAttributeKey for instance), and simply getting all the values from a custom attribute is proving to be challenging. Is there a method that would list the options of an attribute, which I c…

Editing autonav so link returns to tab

Hi, I have an autonav which is made up of the main nav tabs and their subnavs underneath when the main tab is active. But when it's active the link disappears from the main nav tab but I need this to stay on. My main nav is made up of images only, the…

Changing an Area Handle

Hi. I'm editing a site that has no 'Main' editable area. I want to rename an existing area ('Content') to 'Main' without losing the existing content. I have changed the template area 'Content' to 'Main' then updated all areas in the Areas table where arHa…

Creating New Blocks ("adding" instead of "adding to")

I have created my own template with 3 horizontal boxes (or divs) across the page. Each block has a border that holds content. It works great except for the fact that I would like to add a new instance of block below. It seems that I can only "add to" t…

how are pk's sequenced in c5 database

I'm building an external script that sets a custom value in the table atNumber. But first I need to know how the avID in userAttributeValues is set, whenever a new custom value is added to the database. Does C5 use db identities or any other sequence ty…

Filter Posts