Re: 独自のCSSをサイト全体で使えるようにしたい
2018年7月4日 at 21:55
page_theme.phpの書き初めに必要なnamespace等の記述が無いですね。
<?php
namespace Application\Theme\Stucco;
use Concrete\Core\Area\Layout\Preset\Provider\ThemeProviderInterface;
class PageTheme extends \Concrete\Core\Page\Theme\Theme implements ThemeProviderInterface
{
public function registerAssets()
{
$this->requireAsset('javascript', 'jquery');
$this->requireAsset('javascript', 'mon');
$this->requireAsset('css', 'mon');
}
protected $pThemeGridFrameworkHandle = 'bootstrap3';
public function getThemeName()
{
以下略
いじる前の元のファイルを参考にしてみてください。
タグ:
Your post has been saved and will be published after approval by the forum moderator.
yasu
Re: Re: 独自のCSSをサイト全体で使えるようにしたい
ありがとうございます。
当方根本的に分かっていないようです。
元のファイル自体がありませんでした。
stuccoのファイルを予めコピーして編集するということなのでしょうか?