Developing (v7+)

Url parameters

Hello to everybody, I need to do something like this: I want to load content by url parameter for example: /projects/project-name /index.php?cID=2&project=project-name I need to load all projects in a single page, the project-name will be the id…

Block not displaying

I added a nav block to the footer of a site I am working on. When I am signed in or in edit mode it is visible. When I am signed out it is no where to be found. I have set up the nav through the default pages, set them up on child pages and made sure the …

Is it better to store page data as attributes or in blocks?

Hi all I'm creating some functionality which will generate pages programmatically from a form in the Dashboard. The pages will contain data like reference numbers and monetary amounts, and I'm wondering whether it's better to store that sort of informa…

API documentation error

Hi all, While surfing through the API docs, I am receiving a parse error in many pages, such as the "t" function and many others http://www.concrete5.org/api/Pages/_libraries---localization.php.html#functiont Parse error: syntax error, unexpecte…

Can I reinstall Concrete and link it to the original DB safely?

I started to build a new version of a site in a folder, and when I was happy with it I moved it to the root directory to have it seen by the domain name. I found one thing to fix in the config directory and now it works, but another domain I was trying to…

Output Buffer on Images being loaded into a page

I would like to run an output buffer on the output->thumbnail or on a block so that the page does not hang when I click the Gallery link, (whilst processing the pages) currently you would have to visit a gallery once to load the images into the cache. …

DateTime modification

Hi, I would like the default date that comes up in the selection dialogue on a date based user attribute to be something like 1990 rather than the current date as most users are going to be selecting dates prior to this time. I assume a modification of t…

Concrete 5 with Zend Framework

Hi all, I've been told to post my question here from Twitter, hope someone can advise. I am using ZF to develop a site (e-commerce) but i am looking for a standard and good CMS that i can integrate with. Is it possible to set up a site with ZF bu…

Retuning page attributes as an array

To output page attributes I'm using: $page = Page::getCurrentPage(); echo $page->getAttribute('handle'); If the attribute type is 'Select' then multiple selections are all output separated by spaces. Is it possible to get all selected values as an …

Apply IP-blocking to frontend in addition to backend?

Hi, I've noticed that the IP-blocking feature in Concrete5 only blocks access to the admin-login. Is there some additional documentation about this feature and have anybody succesfully migrated the check from the backend to the frontend? (either by…

Filter Posts