Developing (v7+)

In edit mode

I have the following which works when the user is logged in but how do I get it to only work when they are actually in the edit mode on the page. [code] $cp = new Permissions($c); if($cp->canWrite() && $cp->canAddSubContent()){ echo('.navbar…

Dynamically pulling in blocks and/or areas from other pages

I've been chewing on this one for a while and I think it's time to call in the cavalry. I have two idea's I've been entertaining that center around the ability to dynamically pull in instances of a block from another page. One is for a c5 jquery mobi…

Accessing Hardcoded Blocks - Blog

Afternoon All, If i have a block hard coded into a page type theme file, and i want to make use of the getCommentCountString. However this assumes there's a block attached to an area, whereas I've hard coded it like so: [code] [/code] Is there a…

Moving blocks does not work

I've built a page using layouts, now the client wants to move some elements up/down the page to re-order. I have clicked on the little + sign and selected move up. This works OK. When I save the page - back to where it was. I'm using version 5.5.…

Master Text Block

Hi, i have searched for a similar question but haven't found anything so I am starting this topic: Is it possible in concrete5 to create something like a "master text block". So if I add this block to any site it will refer to the text/elements in t…

File set is not saving my re-ordering of images

I have a fileset that I have created, I got into the Fileset to re-order them and after I save my re-ordering and I go back into the File Set is it not saving my changes, it reverts back. Why is this happening?

Advanced permission notification and workflow

I see from the documentation that advanced permissions are possible at a fine grained level. I was interested to know if the permission to approve had any notification API behind it? For example if an author edits a page but the system admin doesn't wan…

Potentially Migrating a Portfolio site to C5

I've got a portfolio site I currently set up http://www.cartocopia.com and am considering migrating to C5. It looks like the main things I want to do are handled out of the box (image slider on main page, contact form, and some types of gallery). …

In edit mode all is fine, but I lose 2 columns in preview?!?!?!

I am trying to create my own theme in concrete 5. On the page I am currently working on http://www.billmosstents.com/test/index.php?cID=138&ctask=check-out&ccm_token=1345658274:9199236d0ac16554dd2afc82d925f505 all is well in edit mode: header, nav a…

"View" keyword with MVC?

I'm having trouble pinning this down. Basically I have a controller with different methods to dictate/map to multiple single pages. This works mostly, except this one single page which is using the default view() method. Here's what the directory loo…

Filter Posts