Developing (v7+)

Site Hack .. tried to register forbidden variable index.php

Good Morning Team OK now one of servers a concrete5 site got attacked and the server shut it down. Apache error message: Apr 22 09:49:17 elastic4 suhosin[24059]: ALERT - tried to register forbidden variable '_SERVER[DOCUMENT_ROOT]' through GET var…

Styling autonav in Concrete5.6.1.2 issues

OK. So I followed several posts here without results: Copied view.php from the autonav within the C5 directory/blocks to the blocks/autonav/my_templates/ directory. Changed class="nav" to class="nav-header". Added a view.css file that I copied and po…

Auto Nav error

I have added an AutoNav block but get this error: Warning: include(/home/rdpcorg/public_html/concrete5.6.1.2/concrete/blocks/autonav/view.php) [function.include]: failed to open stream: No such file or directory in /home/rdpcorg/public_html/concrete5.6…

Hiding a page type from the list

I have a couple of page types that are only in internal use (ie. editors will never need them in their everyday work editing the site). Is there any way to hide those page types from the selection dialog when creating a page, and changing its design?

Remove related videos at end of youtube

I am using the plain yogurt theme and have added the basic youtube block that comes with it. Everything works fine, except I need to remove the related videos at the end. It can be a blank screen or anything, doesn't matter just not the related videos. …

Create Attribute Set on Package Install

I have figured out how to create Attributes on Package install: [code] $attr = CollectionAttributeKey::getByHandle('exclude_subpages_from_nav'); if( !$attr || !intval($attr->getAttributeKeyID()) ) { $attr = CollectionAttributeKey::add('bool…

page_Type controllers within theme that belongs to a package

I have a package that installs a theme, a block, a single page, etc. Within the theme i have custom page_types. I need to load a controller for the custom page type so i have crete this folder structure package_name/controllers/page_types/cust…

Override core single page from a package

Find couple of really old thread but can't make it work. Any though ?? I know this could end up of breaking some backward compatibility when upgrading. But actually i just want to restyle login/error... page and include the override files right …

Can't edit CSS in 5.6.1.2

Hi - for some reason my CSS has gone to the cache file files/cache/css on my new C5 install. I have a custom theme installed. I've tried clearing the cache and all sorts of things but can't get it work...

Filter Posts