Developing (v7+)

Custom Block Added Twice

My wife has a recipe blog that we are moving from a custom developed CMS to Concrete5. To begin she has created a custom page type that she will use to input the typical blog type information: banter, images, etc. I've created a custom block that she …

file manager is not working with custom theme

I am new to concrete5 and this close to giving up on it altogether because everytime I think I've got things working it all breaks again. :( I built a site layout the way I normally do (with html and css), then went through the process of following the…

Is there an alternative to layouts?

I'm having huge trouble with (5.6.x) layouts. They're super buggy - in complex situations, I frequently find all the layout columns moving their contents elsewhere, or throwing them out of the layout altogether. It's a real nightmare. I think I remembe…

get number of unread private messages

Hi there, I'm a bit puzzled over this one... I can get the total number of messages in someones mailbox by using: [code]$ui = UserInfo::getByID($loggedInUser->getUserID()); $inbox = UserPrivateMessageMailbox::get($ui, UserPrivateMessageMailbox::MBT…

Pro Events - display fortnight and event date limit

Hi, I'm using the Pro Events add-on. I've noticed if my Pro Events List Block directory names contains "week" or "month" then the dates display accordingly. Is there a similar function for displaying events for a fortnight? I've tried using [code] …

Using simplehtmldom in singlepage

Hi all, I've spent the evening getting my head around using simplehtmldom to import HTML from an external site and when used just in a standalone PHP file it worked beautifully using the following: [code]

Access Database Fields in a Block's controller.php

This is probably a dumb question, but... How can I (easily) access a block's database fields in its controller.php? I know I can get them using $fieldName in view.php, but they don't seem to be injected similarly in controller.php.

conversation block

I would like to get rid of the line for website in the conversation block that comes standard. what is the easiest way to accomplish this task. I would also like to make it so registered users only can make comments and have a place on the page for regist…

link not working

Hello, I am having a problem with a link not working on my site http://www.childtrauma.com/. The link is just below the slideshow on the right, with the text "Please support our cutting edge research..." It should be linking to our donations page, but for…

Filter Posts