(OLD 5.7 Discussion FORUM)

Different view.php per site language

Hi, I'm developing multilingual website and I want to use different page-not-food...etc for each language as per the chosen interface language. Currently in the theme folder I can add only 1 view.php that throws page-not-food in english only doesn't…

log filled up with messages 'Set Block Cached Output'

My log is constantly filling up with thousands of messages like this: [code] Set Block Cached Output: 143 - 1 - 5968 Footer 03 - 2015-12-15 12:42:41 [/code] Is something wrong with my site configuration or can i turn something off to get rid of th…

How do I render a view from within a block action?

I can't find this anywhere on the internet. I've got the following code in my block: [code] public function action_getProductsInCollection() { $api = $this->getAPI(); $collectionId = filter_input( \INPUT_GET , 'collectionId' ,…

IP Banned, HUH?

Unable to complete action: your IP address has been banned. Please contact the administrator of this site for more information. The above is the message I receive as I attempt to log into my site to edit the content. Just installed fresh, default th…

Survey Block Submit Error

I have an error when click on (vote) button, the page redirects to itself and the submission of the survey doesn't save in the reports section or the database and the "You have voted to this survey" message and chart doesn't appear.

Add/Activate a Topic for a Page programmaticaly

I've created a page like so: [code] $blog = Page\Page::getByID(157); $template = \PageTemplate::getByHandle('blog_entry'); $entry = $blog->add($type, array( 'cName' => 'My title', 'cDescription' => 'description', 'cHandle' => 'my_title'…

Problem assigning edit permissions for one block on a page

I gave permissions for a group to edit one block on a page, but when I log in as a user in that group, I don't have the ability to edit anything - no edit controls in the top left and the one block isn't editable. I tried giving the group edit contents pr…

Adding Custom Template to a Block programmatically

So here's what I'm doing: [code] $data = array( 'formatting' => 'h1', 'bFilename' => 'byline.php', 'bIsActive' => '1', 'bName' => 'block_name'); $bt_title = BlockType::getByHandle('page_title'); $ax = Area\Area::getOrCreate($page, 'Main'); //$…

Bootstrap RTL

Hi, I'm developing a multilingual website that has RTL interfaces.. All is well except when I try to edit the RTL website, the CSS bootstrap RTL converts the concrete5 admin toolbar to RTL... Any idea how to keep the concrete5 admin toolbar boot…

Upgrading from 5.7.3.1 - Error

I am trying to upgrade a site and I keep getting errors in the process. I have tried automatic upgrade and manual upgrade, but it still doesnt want to work. The error I am getting is[code]An exception occurred while executing 'SELECT t0.cPath AS cPath1…

Filter Posts