(OLD 5.7 Discussion FORUM)

Editing Composer Pages

OK, you are on a Composer Page that you want to edit it. You click the gear Icon in the upper left and it launches the Composer Form so you can edit the page. You make your edits. you click "Save" in the lower right. Now you are sent to the page in E…

ThemeBlockClasses

In Elemental Theme There is Page_theme.php file which has below code.. "public function getThemeBlockClasses()" How to use in controller.php? I want to give Custom classes in blocks.... If any one have full use of "page_theme.php" would be gr…

Blocks in 5.7

How to use blocks in controller.php , BlockType::installBlockTypeFromPackage('page_list', $pkg); I have change page_list block and place folder in package directory (blocks>page_list>templates>pagelistnew.php) which works in 5.6. what do i do for w…

how to Install Page Type

I want to create page type via controller.php and below code is working in 5.6... $ct = CollectionType::getByHandle('home'); if((!is_object($ct)) || ($ct->getCollectionTypeID() < 1)) { $data['ctHandle'] = 'home'; $data['ctName'] = t('Home');…

URL for editing with Composer

In 5.6 we could use a URL /index.php/dashboard/composer/write/-/edit/[Page_ID] and that would take you to page with the Composer edit form. Is there a URL to put a page in Composer Edit mode like we could with 5.6?

File ID from Image block

I am trying to do something with Pagelists, I can grab all the blocks from a page and with the code below I can get the content out of a Content Block. I would like to do something similar with an Image block and get the FIle ID of the image in the bl…

Upgrade via Command Line

I'm trying to find a way in 5.7 to run the upgrade scripts from the command line. I know I could duplicate the functionality from the upgrade controller in a CLI script but I was curious to see if there was an out of the box solution available or if there…

Having Issue With Advanced Forms - Can Anyone Help?

I created a form and setup one of the fields to an email form. The form is supposed to send an email to the user who submits the form. Also, it takes over 30 seconds to submit the form. Can anyone give me a suggestion to solve these two issues? …

Maintenance view in custom theme

Hi, Within the app.php there is something like 'theme_paths'. I see a key for 'maintenance_mode'. I want to show a custom maintenance_mode page, with a custom theme (in a package). My idea was to enter next code in the overridable app.php: [co…

Menu

Hello all, I have just installed a Concrete 5.7 test site and added a few pages to see how it all works but I have come across an issue and don't see how to resolve it. the menu is working in a list format home page 1 page 2 but I want it in a lan…

Filter Posts