Name | Handle | Cache Settings | Cache Output | Cache Output on Post | Cache Output For Registered Users | Output Cache Lifetime |
---|---|---|---|---|---|---|
記事 | content | 有効 | 有効 | 有効 | 無効 | 0 |
HTML | html | 有効 | 有効 | 有効 | 有効 | 0 |
画像 | image | 有効 | 有効 | 有効 | 無効 | 0 |
ファイル | file | 有効 | 有効 | 有効 | 有効 | 0 |
水平線 | horizontal_rule | 有効 | 有効 | 有効 | 有効 | 0 |
特色 | feature | 有効 | 有効 | 有効 | 有効 | 0 |
オートナビ | autonav | 有効 | 有効 | 有効 | 無効 | 300 |
ページタイトル | page_title | 有効 | 有効 | 有効 | 無効 | 0 |
View clear_invalid_workflow_notifications.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// application/jobs/clear_invalid_workflow_notifications.php | |
namespace Application\Job; | |
use Concrete\Core\Entity\Notification\WorkflowProgressNotification; | |
use Concrete\Core\Job\Job; | |
use Concrete\Core\Support\Facade\Application; | |
use Doctrine\ORM\EntityManagerInterface; |
View ClearExpressEntries.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// application/src/Express/Command/ClearExpressEntries.php | |
namespace Application\Express\Command; | |
use Concrete\Core\Console\Command; | |
use Concrete\Core\Entity\Express\Entity; | |
use Concrete\Core\Entity\Express\Entry; | |
use Concrete\Core\Support\Facade\Application; | |
use Doctrine\ORM\EntityManagerInterface; |
View Output.md
View readme.md
Migrate legacy database connection to doctrine
Why we should migrate legacy codes?
Support read vs. read/write database connections #9126
Insert Query
$db->prepare($query)
View anonymize.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Concrete\Core\Support\Facade\Application; | |
use Concrete\Core\User\UserInfoRepository; | |
$app = Application::getFacadeApplication(); | |
/** @var UserInfoRepository $repository */ | |
$repository = $app->make(UserInfoRepository::class); | |
$updated = 0; | |
$failed = 0; |
View five_columns_grid.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
defined('C5_EXECUTE') or die("Access Denied."); | |
/** @var $c \Concrete\Core\Page\Page */ | |
/** @var $container \Concrete\Core\Entity\Page\Container */ | |
use Concrete\Core\Area\ContainerArea; | |
?> | |
<div class="grid grid-cols-2 md:grid-cols-4 xl:grid-cols-5 gap-x-4 gap-y-8"> |
View README.md
English
Overview
Concrete CMS version 8 uses jQuery 1.22.2 and jQuery UI 1.12.1, but these versions have officially been marked as the end of life. These libraries have some vulnerabilities, but the jQuery team won't fix them. They announced you should upgrade jQuery 3.5.0 or later.
The core team of Concrete CMS does not plan to update jQuery on version 8.x for backward compatibility. If you can update to Concrete CMS version 9, it'd be best to fix those vulnerabilities.
View view.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** @var \Concrete\Core\Page\Page $page */ | |
$totalMessages = 0; | |
foreach ($page->getBlocks() as $block) { | |
if ($block->getBlockTypeHandle() === 'core_conversation') { | |
/** @var \Concrete\Core\Conversation\Conversation $conversation */ | |
$conversation = $block->getController()->getConversationObject(); | |
if ($conversation) { | |
$totalMessages = $conversation->getConversationMessagesTotal(); | |
} |
View page_forbidden.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Application\Controller\SinglePage; | |
use Concrete\Core\Http\ResponseFactoryInterface; | |
use Concrete\Core\Url\Resolver\Manager\ResolverManagerInterface; | |
use Concrete\Core\Url\UrlImmutable; | |
use Concrete\Core\User\User; | |
use Symfony\Component\HttpFoundation\Response; |
View EventService.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// application/src/Calendar/Event/EventService.php | |
namespace Application\Calendar\Event; | |
use Concrete\Core\Entity\Calendar\Calendar; | |
use Concrete\Core\Entity\Calendar\CalendarEvent; | |
use Concrete\Core\Entity\Calendar\CalendarEventVersion; | |
use Concrete\Core\Page\Page; | |
use Concrete\Core\Page\Type\Type; |
NewerOlder