登録日
2012年8月25日

メンバー検索

  

yasugen

名前(ニックネーム)
yasu
自分のconcrete5サイト
ホームページ
自己紹介
concrete5.org のユーザー名
concrete5 Slack Team ID
Twitterアカウント
フォーラム総投稿数
92

コミュニティバッジ

投稿

31から40までを表示 (計92)

Re: グループ権限でコンポーザを使う(上級権限モード)

ありがとうございます。
手順書拝見してやってみます。
また報告します。

Posted on 10月 23, 2018 at 1:17 午後

グループ権限でコンポーザを使う(上級権限モード)

お世話になります。

管理者以外のアカウントのグループを権限指定しコンポーザを使って記事を書かせるようにしたいと思っています。
以下のページを参考にして設定しましたがコンポーザが開かず403エラーになってしまいます。
http://notnil-creative.com/blog/archives/2750


403 Error
You are not allowed to access this page.


権限などの設定は以下の通りです(上述のページから抜粋)。
・ログインユーザーが、コンポーザーで追加しようとしているページタイプの「プロパティを編集」と「コンテンツを編集」、「テーマを変更」の権限を持っている必要があります。
・ログインユーザーが、「下書き」ページ(フルサイトマップで「システムページを表示」にチェックすると出てきます)に対して、「サブページを追加」権限を持っている必要があります。
・「下書き」ページの「サブページ権限」が「ページタイプのデフォルトの権限設定を継承する。」になっている必要があります。
・ログインユーザーが、コンポーザーで追加しようとしているページの「公開場所」のページに対して、「サブページを追加」権限を持っている必要があります。


何かの権限設定が足りないのだと思いますがわかりません。

よろしくお願いいたします。



# concrete5 Version
Core Version - 8.3.2
Version Installed - 8.3.2
Database Version - 20180122213656

# concrete5 Packages
Easy Image Gallery (1.4.2), Open Graph Tags Lite (2.1.3), Simple Gallery (1.0.7), Stucco (2.1.4)

# concrete5 Overrides
themes/stucco/@page_theme.php, themes/stucco/blank.php, themes/stucco/css/bootstrap-theme.min.css, themes/stucco/css/bootstrap.css, themes/stucco/css/build/blocks/express_entry_detail.less, themes/stucco/css/build/blocks/express_entry_list.less, themes/stucco/css/build/blocks/faq.less, themes/stucco/css/build/blocks/feature.less, themes/stucco/css/build/blocks/image-slider.less, themes/stucco/css/build/blocks/next-previous.less, themes/stucco/css/build/blocks/page-list.less, themes/stucco/css/build/blocks/social-button.less, themes/stucco/css/build/blocks/testimonial.less, themes/stucco/css/build/blocks/topic-list.less, themes/stucco/css/build/blocks, themes/stucco/css/build/breadcrumb.less, themes/stucco/css/build/common.less, themes/stucco/css/build/fonts/akane.less, themes/stucco/css/build/fonts/defaults.less, themes/stucco/css/build/fonts/hisui.less, themes/stucco/css/build/fonts/ruri.less, themes/stucco/css/build/fonts/tomekon.less, themes/stucco/css/build/fonts, themes/stucco/css/build/footer.less, themes/stucco/css/build/front-page.less, themes/stucco/css/build/global-nav.less, themes/stucco/css/build/header.less, themes/stucco/css/build/mobile/navigation.less, themes/stucco/css/build/mobile, themes/stucco/css/build/pagination.less, themes/stucco/css/build/search.less, themes/stucco/css/build, themes/stucco/css/img/headeing_dot.svg, themes/stucco/css/img/page_top_arrow.png, themes/stucco/css/img, themes/stucco/css/main.less, themes/stucco/css/mon.css, themes/stucco/css/presets/akane.less, themes/stucco/css/presets/defaults.less, themes/stucco/css/presets/hisui.less, themes/stucco/css/presets/ruri.less, themes/stucco/css/presets/tomekon.less, themes/stucco/css/presets, themes/stucco/css/styles.xml, themes/stucco/css, themes/stucco/default.php, themes/stucco/description.txt, themes/stucco/fonts/glyphicons-halflings-regular.eot, themes/stucco/fonts/glyphicons-halflings-regular.svg, themes/stucco/fonts/glyphicons-halflings-regular.ttf, themes/stucco/fonts/glyphicons-halflings-regular.woff, themes/stucco/fonts, themes/stucco/full.php, themes/stucco/home.php, themes/stucco/inc/footer.php, themes/stucco/inc/header.php, themes/stucco/inc/header_home.php, themes/stucco/inc/header_top.php, themes/stucco/inc, themes/stucco/js/main.js, themes/stucco/js/mon.js, themes/stucco/js/vendor/modernizr-2.8.3-respond-1.4.2.min.js, themes/stucco/js/vendor, themes/stucco/js, themes/stucco/left_sidebar.php, themes/stucco/page_forbidden.php, themes/stucco/page_not_found.php, themes/stucco/page_theme.php, themes/stucco/right_sidebar.php, themes/stucco/thumbnail.png, themes/stucco/view.php, themes/stucco

# concrete5 Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/7.2.10

# Server API
apache2handler

# PHP Version
7.2.10

# PHP Extensions
apache2handler, bcmath, calendar, Core, ctype, date, dom, filter, hash, iconv, json, libxml, mysqli, mysqlnd, pcre, PDO, pdo_mysql, Phar, readline, Reflection, session, SimpleXML, SPL, standard, tokenizer, wddx, xml, xmlreader, xmlwriter, zip, zlib

# PHP Settings
max_execution_time - 180
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 10000
memory_limit - 1024M
post_max_size - 80M
upload_max_filesize - 128M
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - no value
session.gc_maxlifetime - 7200

Posted on 10月 22, 2018 at 3:27 午後

Re: 独自のCSSをサイト全体で使えるようにしたい

nipperさま

返信しておらず申し訳ありませんでした。
おかげさまで課題は残っていましたがなんとかサイト公開しました。

基本ができていなくてお恥ずかしいですが、ご指摘の通りIDではなくclassに修正しました。
有難うございました。

Posted on 7月 30, 2018 at 6:00 午後

Re: Re: 独自のCSSをサイト全体で使えるようにしたい

nipperさま

ありがとうございます。
テーマのカスタムCSSに追記してサイト全体に適用することで出来ました。

ちなみに、テーマのカスタマイズをしたい場合には、
application\themes\stuccoに、
packages\theme_stucco\themes\stuccoの全てのファイルをコピーして、そのファイルをカスタマイズしていくということなのでしょうか?

とすると、以下のページ「concrete5で独自のjavascriptやcssファイルをテーマに読み込む方法」で紹介されている内容はテーマのカスタマイズの方法になるのでしょうか?
http://concrete5.co.jp/blog/add-assets-to-concrete5-theme

Posted on 7月 06, 2018 at 4:36 午後

Re: Re: 独自のCSSをサイト全体で使えるようにしたい

akiさま
ありがとうございます。
どうやら私のやりたかったことはテーマのカスタムCSSで追記してできました。

Posted on 7月 06, 2018 at 4:31 午後

Re: Re: 独自のCSSをサイト全体で使えるようにしたい

aki様
ありがとうございます。
当方根本的に分かっていないようです。
元のファイル自体がありませんでした。

stuccoのファイルを予めコピーして編集するということなのでしょうか?

Posted on 7月 05, 2018 at 6:16 午後

Re: Re: 独自のCSSをサイト全体で使えるようにしたい

承知しました。
ファイル添付します。
よろしくおねがいします。

添付: page_theme.zip
Posted on 7月 04, 2018 at 8:53 午後

Re: 独自のCSSをサイト全体で使えるようにしたい

失礼しました。
以下の3つのファイルです。

●ファイル1 : application\bootstrap\app.php
use \Concrete\Core\Asset\AssetList;
use \Concrete\Core\Asset\Asset;
$al = AssetList::getInstance();
$al->register( 'css',
'mon',
'themes/stucco/css/mon.css',
array());


●ファイル2 : application\themes\stucco\page_theme.php

public function registerAssets()
{
$this->requireAsset('javascript', 'jquery');
$this->requireAsset('css', 'mon');
}


●ファイル3 : application\themes\stucco\css\mon.css

(内容は省略)

Posted on 7月 03, 2018 at 7:22 午後

独自のCSSをサイト全体で使えるようにしたい

お世話になります。

concrete5でサイトを構築しております。

concrete5 ver8.3.2
Stucco ver 2.1.4
easy_image_gallery ver 1.4.2
Simple Gallery ver 1.0.7

独自のCSSをサイト全体で使えるようにしたいと思い、いろいろと見て回りました。

以下のページで説明されていましたが、現状はアセットという仕様に変わったとのこと。
http://concrete5.co.jp/blog/add-assets-to-concrete5-theme

説明の通りにしているつもりなのですが、うまくいきません。
public function registerAssets()・・・・・と画面にでてレイアウトが崩れてしまいます。

stuccoテーマを使っている状況で、独自のCSSを追加する場合のファイルの配置と内容はどうすればいいのでしょうか?

各ファイル(3つ)の配置と内容は以下の通りです。



use \Concrete\Core\Asset\AssetList;
use \Concrete\Core\Asset\Asset;
$al = AssetList::getInstance();
$al->register( 'css',
'mon',
'themes/stucco/css/mon.css',
array());


public function registerAssets()
{
$this->requireAsset('javascript', 'jquery');
$this->requireAsset('css', 'mon');
}


(内容は省略)

Posted on 7月 02, 2018 at 5:19 午後

Re: Blogのページのトピックのフィルタを行うとエラーになってしまう

SQL文を頼りにソースを探したところ、
\concrete\src\Page\PageList.php
とわかったので、エラー原因と言われている並べ替えのカラムをselectに追加してみたところエラーはなくなった。

PageList.phpの598行目に
$this->query->addSelect('cv.cvDatePublic');
selectの項目を追加するステートメントを書き足した。

書き足したあとは以下の通り
$this->query->select('distinct p.cID');
$this->query->addSelect('p.cDisplayOrder');
$this->query->addSelect('cv.cvDatePublic');
}

エラーはでなくなったが、これでいいでしょうか?

Posted on 6月 28, 2018 at 2:27 午後