Developing (v7+)

Default new page theme

Hi! First post here! So far my experience with concrete5 has been very good. There is one thing I can't figure out. First I created a new theme which you can see here http://bistroespresso.com/ (still some work to do in the main area) all is working gr…

Autonav help

Hi All, I've been a bit silly and saved over the original header_menu.php file so now my sub pages aren't droping into their own ul mark up :( If anyone can help me out that would be great. here's my code [code] [/code]

database design, axmls, db.xml, foreign keys and package!

Hi, Let's say I'm developing something big with a dozen of tables or more. I'm using mysql workbench to design my database. The engine is innodb and there's plenty of foreign keys. I create the sql from my model. I thought I could find some conv…

Page Properties Issue - changing page owner doesn't save

We are running 5.4.1.1 the latest version of c5 and have come across some sort of configuration or permissions issue. Under the page properties, when trying to change the owner of the page, the changes don't appear to be saved to the database. Has anyo…

Change page handle?

Howdy! Got what I hope is a simple question. I'm trying to set up a form that changes the name, and subsequently handle, of a page. Following the docs, I wrote this code (assume I've already validated that $handle is unique among all pages): $handle…

Might be useful to add body css classes based on page types

I see $c is a global object in all templates that shows the current page collection. Sometimes for some css juggling it comes very handy to have the page type available as a body css class. Here's the code I deciphered from the Page class/model: [co…

Way to hardcode custom block view template from another package?

I've seen discussion about this here before, but no answers outside of adding the block to the page defaults and setting the custom template there. Unfortunately, this won't work in my case. I'm trying to do an ajax refresh of a block and want to apply…

Problem with $db_logging

I am trying to learn more about how C5 works inside. So I added some debug/logging to dispatcher.php, using the database logging and debugging described by http://www.concrete5.org/documentation/developers/system/database-connectivity/ Here are the ch…

Logging does not work in block controller

Update: My controller wasn't syntax error free and that error died silently. this thread can be killed by authority :) i tried: Log::addEntry('bid: '.$this->bID); but nothing appeared in the log files.

How to get the Admin Super-user free of the users' Attributes?

Hello, I am testing Concrete5 and I would like to avoid to have to fill in all the newly created attributes each time I log in as admin. Is there a way to set things so that the attributes are only applied to the users not to the admin? It is ver…

Filter Posts