Developing (v7+)

how to use a controller variable in a php code block

I'm sorry to ask this beginner's question. I just can't figure it out myself with only the documentation. I have a single page with its view at /application/single_pages/zzztest/view.php I have set up a controller at /application/controllers/single_p…

Is there a page mode for when modifying settings?

I know that you can use [code]$c->isEditMode()[/code] to establish if the page is in edit mode. When you're on a page you can press the gear icon and edit the "Composer, Page Design, Location, Attributes and Settings" without putting the page in edit mo…

how to delete an Express Data Object from within the Dashboard

for testing purposes I created some Data Objects from within the Dashboard (so not programmatically). Is there a way to delete these Data Objects also from within the Dashboard? If not, can I safely remove the concerning row in the ExpressEntities d…

v8.4: how to render view without a page

Following this: https://documentation.concrete5.org/developers/framework/routing/views I need to render a my_package/views/test.php view [code]

Conversation Block, Not working when added to Page Type - 8.5.5

Hi, what am I missing here, I want guests to be able to post to my comments block and then approve before they are visible, however I can't seem to get the block to be visible unless i'm logged in? Where do I need to set as guest can contribute? I have…

Website Down - Please Help

Hi guys, My website https://www.bamboodental.co.uk is down - was running on an older version of concrete5. Can you please help me? I can't even log in to the backend of the website. Any help is much appreciated - I don't know much about the develop…

Database connection file

Hello everybody, I was updating my Concrete site to the latest version, so I was using the trick of duplicating it, updating+testing the copy and then switching the two, when I noticed something. Usually the file with the database connection credentials,…

Exception Occurred - ResponseFactory::controller()

I've got this exception happening on a 8.5.4 production site: Exception Occurred: /concrete/src/Http/ResponseFactory.php:160 Argument 1 passed to Concrete\Core\Http\ResponseFactory::controller() must be an instance of Concrete\Core\Controller\Controlle…

Need to convert calendar event date to 12 hour

Hi I have a site with core calendar functionality. I am using the following which renders the date/time in 24hr clock for an event: [code]echo $formatter->getOccurrenceDateString($occurrence);[/code] But I need it to render date and time in 12 h…

Filter Posts