登録日
2017年3月2日

メンバー検索

  

tatu_ryo

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

コミュニティバッジ

投稿

11から18までを表示 (計18)

express form の複数のHTMLインプットから画像がポストできない

写真を撮って応募してもらうサイトを作っています。
ゲストにexpress form のHTMLインプットから4点の画像を必須で投稿させたいのと、応募されたポストを閲覧できるようにエクスプレスエンティティを使用しています。

以前は(Version - 8.4.0だったと思います)上記の条件をクリアしポストしていたのですが、現状、2Mほどの写真を1点くらいしか送れません。
必須にすると「写真2は必須です」のようなエラーが出てポストできません。
めぼしいエラーログは出現せずどこを見ていけばいいのかわかりません。

バージョンを落として再インストールした方がいいでしょうか?

※アップデートを境にというよりはパッケージの「confirm_express_form_pack」というものをインストールした後に起こったように思います。定かではないですが。


# concrete5 Version
Core Version - 8.5.4
Version Installed - 8.5.4
Database Version - 20200609145307

# Database Information
Version: 5.6.33-log
SQL Mode: NO_ENGINE_SUBSTITUTION

# concrete5 Packages
Elemental Cloner (1.2.4), ExchangeCore reCAPTCHA (1.1.1), Leaps Elemental (1.0)

# concrete5 Overrides
blocks/express_entry_list/templates/support_program.php, blocks/express_entry_list/templates/hs_app_list.php, blocks/express_entry_list/templates, blocks/express_entry_list, blocks/express_form/templates/test.php, blocks/express_form/templates, blocks/express_form, controllers/single_page/register_complete.php, controllers/single_page, attributes/image_file/form.php, attributes/image_file, css/jquery-ui.css, js/_jquery.js, mail/user_registered_approval_complete.php, single_pages/register_complete.php, themes/leaps_elemental/blank.php, themes/leaps_elemental/css/bootstrap-leaps.css, themes/leaps_elemental/css/bootstrap-modified.css, themes/leaps_elemental/css/build/add-ons/calendar.less, themes/leaps_elemental/css/build/add-ons, themes/leaps_elemental/css/build/blocks/date-navigation.less, themes/leaps_elemental/css/build/blocks/faq.less, themes/leaps_elemental/css/build/blocks/feature-template-hover-description.less, themes/leaps_elemental/css/build/blocks/feature.less, themes/leaps_elemental/css/build/blocks/image-slider.less, themes/leaps_elemental/css/build/blocks/image.less, themes/leaps_elemental/css/build/blocks/next-previous.less, themes/leaps_elemental/css/build/blocks/page-attribute-display.less, themes/leaps_elemental/css/build/blocks/page-list-option-buttons.less, themes/leaps_elemental/css/build/blocks/page-list-template-thumbnail-grid.less, themes/leaps_elemental/css/build/blocks/page-list.less, themes/leaps_elemental/css/build/blocks/page-title-option-byline.less, themes/leaps_elemental/css/build/blocks/page-title.less, themes/leaps_elemental/css/build/blocks/tags.less, themes/leaps_elemental/css/build/blocks/testimonial.less, themes/leaps_elemental/css/build/blocks/topic-list.less, themes/leaps_elemental/css/build/blocks, themes/leaps_elemental/css/build/body.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/alerts.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/badges.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/bootstrap.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/breadcrumbs.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/button-groups.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/buttons.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/carousel.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/close.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/code.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/component-animations.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/dropdowns.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/forms.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/glyphicons.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/grid.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/input-groups.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/jumbotron.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/labels.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/list-group.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/media.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/mixins/alerts.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/mixins/background-variant.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/mixins/border-radius.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/mixins/buttons.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/mixins/center-block.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/mixins/clearfix.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/mixins/forms.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/mixins/gradients.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/mixins/grid-framework.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/mixins/grid.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/mixins/hide-text.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/mixins/image.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/mixins/labels.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/mixins/list-group.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/mixins/nav-divider.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/mixins/nav-vertical-align.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/mixins/opacity.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/mixins/pagination.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/mixins/panels.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/mixins/progress-bar.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/mixins/reset-filter.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/mixins/reset-text.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/mixins/resize.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/mixins/responsive-visibility.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/mixins/size.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/mixins/tab-focus.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/mixins/table-row.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/mixins/text-emphasis.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/mixins/text-overflow.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/mixins/vendor-prefixes.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/mixins, themes/leaps_elemental/css/build/bootstrap-3.4.0/mixins.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/modals.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/navbar.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/navs.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/normalize.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/pager.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/pagination.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/panels.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/popovers.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/print.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/progress-bars.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/responsive-embed.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/responsive-utilities.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/scaffolding.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/tables.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/theme.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/thumbnails.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/tooltip.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/type.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/utilities.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/variables.less, themes/leaps_elemental/css/build/bootstrap-3.4.0/wells.less, themes/leaps_elemental/css/build/bootstrap-3.4.0, themes/leaps_elemental/css/build/breadcrumb.less, themes/leaps_elemental/css/build/buttons.less, themes/leaps_elemental/css/build/captcha.less, themes/leaps_elemental/css/build/content.less, themes/leaps_elemental/css/build/custom-design-classes/area-content-accent.less, themes/leaps_elemental/css/build/custom-design-classes/block-sidebar-padded.less, themes/leaps_elemental/css/build/custom-design-classes/block-sidebar-wrapped.less, themes/leaps_elemental/css/build/custom-design-classes/blog-entry-list.less, themes/leaps_elemental/css/build/custom-design-classes/recent-blog-entry.less, themes/leaps_elemental/css/build/custom-design-classes/testimonial-bio.less, themes/leaps_elemental/css/build/custom-design-classes, themes/leaps_elemental/css/build/errors.less, themes/leaps_elemental/css/build/fonts/blue-sky.less, themes/leaps_elemental/css/build/fonts/defaults.less, themes/leaps_elemental/css/build/fonts/night-road.less, themes/leaps_elemental/css/build/fonts/royal.less, themes/leaps_elemental/css/build/fonts, themes/leaps_elemental/css/build/footer.less, themes/leaps_elemental/css/build/header.less, themes/leaps_elemental/css/build/miscellaneous-styles.less, themes/leaps_elemental/css/build/mixins.less, themes/leaps_elemental/css/build/mobile/navigation.less, themes/leaps_elemental/css/build/mobile, themes/leaps_elemental/css/build/pagination.less, themes/leaps_elemental/css/build/reset.less, themes/leaps_elemental/css/build/search.less, themes/leaps_elemental/css/build/single_pages.less, themes/leaps_elemental/css/build/tokyo2020.less, themes/leaps_elemental/css/build/_daisuki.less, themes/leaps_elemental/css/build/daisuki.less, themes/leaps_elemental/css/build/homesewing.less, themes/leaps_elemental/css/build/common.css, themes/leaps_elemental/css/build/reset.css, themes/leaps_elemental/css/build, themes/leaps_elemental/css/main.less, themes/leaps_elemental/css/presets/blue-sky.less, themes/leaps_elemental/css/presets/defaults.less, themes/leaps_elemental/css/presets/night-road.less, themes/leaps_elemental/css/presets/royal.less, themes/leaps_elemental/css/presets, themes/leaps_elemental/css/styles.xml, themes/leaps_elemental/css, themes/leaps_elemental/default.php, themes/leaps_elemental/elements/footer_bottom.php, themes/leaps_elemental/elements/footer_olympic.php, themes/leaps_elemental/elements/footer_single.php, themes/leaps_elemental/elements/footer.php, themes/leaps_elemental/elements/header_olympic.php, themes/leaps_elemental/elements/header_single.php, themes/leaps_elemental/elements/header_top.php, themes/leaps_elemental/elements/header.php, themes/leaps_elemental/elements/footer_daisuki.php, themes/leaps_elemental/elements/header_daisuki.php, themes/leaps_elemental/elements/header_hs.php, themes/leaps_elemental/elements/footer_hs.php, themes/leaps_elemental/elements, themes/leaps_elemental/full.php, themes/leaps_elemental/images/background-slider-blue-sky.png, themes/leaps_elemental/images/background-slider-default.png, themes/leaps_elemental/images/background-slider-night-road.png, themes/leaps_elemental/images/background-slider-royal.png, themes/leaps_elemental/images/background.png, themes/leaps_elemental/images/banner.png, themes/leaps_elemental/images/bg_repeat.png, themes/leaps_elemental/images/bg.png, themes/leaps_elemental/images/title.png, themes/leaps_elemental/images/title.svg, themes/leaps_elemental/images/daisuki/logo.svg, themes/leaps_elemental/images/daisuki/mv.svg, themes/leaps_elemental/images/daisuki/mv_sp.svg, themes/leaps_elemental/images/daisuki/_value.png, themes/leaps_elemental/images/daisuki/value.png, themes/leaps_elemental/images/daisuki, themes/leaps_elemental/images/logo_jasma.png, themes/leaps_elemental/images/hs/img_decoration01.png, themes/leaps_elemental/images/hs/img_decoration05.png, themes/leaps_elemental/images/hs/img_decoration02.png, themes/leaps_elemental/images/hs/img_decoration04.png, themes/leaps_elemental/images/hs/bg.png, themes/leaps_elemental/images/hs/img_decoration03.png, themes/leaps_elemental/images/hs/arr_top.png, themes/leaps_elemental/images/hs/arr_back_white.png.png, themes/leaps_elemental/images/hs/arr_circle.png, themes/leaps_elemental/images/hs/arr_white.png, themes/leaps_elemental/images/hs/arr_back_black.png, themes/leaps_elemental/images/hs/dummy.png, themes/leaps_elemental/images/hs, themes/leaps_elemental/images, themes/leaps_elemental/left_sidebar.php, themes/leaps_elemental/page_forbidden.php, themes/leaps_elemental/page_not_found.php, themes/leaps_elemental/page_theme.php, themes/leaps_elemental/right_sidebar.php, themes/leaps_elemental/thumbnail.png, themes/leaps_elemental/tokyo2020.php, themes/leaps_elemental/view.php, themes/leaps_elemental/sewing_daisuki.php, themes/leaps_elemental/homesewing_application.php, themes/leaps_elemental/js/jquery.plugins.js, themes/leaps_elemental/js, themes/leaps_elemental/homesewing_application_form.php, themes/leaps_elemental/homesewing_application_list.php, themes/leaps_elemental

# 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

# Server API
cgi-fcgi

# PHP Version
7.2.28

# PHP Extensions
bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dom, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, intl, json, libxml, mbstring, mysqli, mysqlnd, odbc, openssl, pcntl, pcre, PDO, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, readline, Reflection, session, shmop, SimpleXML, soap, sockets, sodium, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - -1
max_input_vars - 1000
memory_limit - 256M
post_max_size - 20M
upload_max_filesize - 20M
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - no value
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5

Posted on 6月 25, 2020 at 9:50 午後

Re: オプションリスト属性で複数の値を設定したとき、翻訳後の個々の値にタグ付けして出力したい

無理あると思いますが、これでやり過ごしました。
$document_category = $r->getAttribute('document_category', 'display');
$document_category = explode("<br/>" , $document_category);
array_pop($doc_category);

Posted on 1月 11, 2019 at 11:56 午前

オプションリスト属性で複数の値を設定したとき、翻訳後の個々の値にタグ付けして出力したい

検索ブロックのカスタムテンプレートで表示を調整しているのですが、
オプションリスト属性で複数の値を設定したとき、
タグ付けした個々の値を’翻訳して’出力するにはどうすれば良いのでしょうか。
※値はインターフェース翻訳の設定をしています。

$document_category = $r->getAttribute('document_category');
<?php
if ($document_category) {
echo "<div class=\"document_category\">";
foreach($document_category as $dc) {
echo '<span>'. $dc .'</span>';
};
echo "</div>";
} ?>



レンタルサーバー
cpi ACE01

# concrete5 Version
Core Version - 8.4.2
Version Installed - 8.4.2
Database Version - 20180716000000

# Server Software
Apache

# PHP Version
7.0.32

Posted on 1月 09, 2019 at 7:43 午後

Re: Re: Block Designer Pro のブロック内容(repeatableの中身)をPage Listから表示したい

返答遅くなってすみません、
$ulItem = $bObj->HeaderFeatureUl;
var_dump($ulItem);
でNULLがでます。
上記はarray型でもないようでした。

Posted on 2月 21, 2018 at 4:19 午後

Re: Block Designer Pro のブロック内容(repeatableの中身)をPage Listから表示したい

色々試してみてはいますが、concrete5及びblock designer proの理解度が低く現状は以下の通りです。

Repeatableスラッグが「HeaderFeatureUl」で、
取り出したいリピート要素のスラッグ名は「HeaderFeatureLi」なんですがそこまで辿りつかないです。。


//--------- 以下ソース

foreach($pages as $page) {
$blocks = $page->getBlocks('ContentHeader');//ContentHeader エリア名
$_blocks = array();
foreach($blocks as $block){
if($block->btHandle == 'cont_header'){//cont_header ハンドル名※block designer pro
$_blocks[] = $block;
}
}
$blocks = $_blocks;
//if (is_object($blocks[0])) {
$bObj = $blocks[0]->getInstance();
$headercopy = $bObj->HeaderCopy;//HeaderCopy スラッグ名 表示可(テキスト)

$file = File::getByID($bObj->HeaderImage);
$headerimgURL = $file->getURL();//HeaderImage スラッグ名 表示可(URL)

foreach($bObj as $item){
var_dump($item);
}
//}
}

//------ 以下var_dump($item)結果
array(3) {
[0]=>
string(14) "HeaderImage"
[1]=>
string(13) "HeaderCopy"
["HeaderFeatureUl"]=>
array(0) {}
}
array(0) {}
NULL
NULL
string(2) "67"
string(200) "メインコピーのテストテキストテキストテキストテキストテキストテキスト
テキストテキストテキストテキストテキストテキストテキストテキスト"

Posted on 2月 17, 2018 at 7:19 午後

Re: Block Designer Pro のブロック内容(repeatableの中身)をPage Listから表示したい

アドバイスありがとうございます、出先から戻り次第試してみます。

Posted on 2月 15, 2018 at 6:00 午後

Re: Block Designer Pro のブロック内容(repeatableの中身)をPage Listから表示したい

返信ありがとうございます。わかりづらくてすみません。
リピートするコンテンツ部のソースは色々試しましたがだめだったので先述のコードからは省いてます。

投稿のコード内、日本語箇所がそれぞれ以下にあたります。
「エリア名」ー テーマ内エリア名
「カスタムブロックハンドル」ー Block Derigner Pro の任意でつけた ハンドル名
「カスタムブロックスラッグ※表示1」ー Block Derigner Pro の任意でつけた スラッグ名
「カスタムブロックスラッグ※表示2」ー Block Derigner Pro の任意でつけた スラッグ名(上記とは別です。)

page_list カスタムテンプレートforeach($pages as $page){}内で
「$headercopy」で文字列、「&headerimgURL」で画像URLが問題なく表示可能です。

Posted on 2月 15, 2018 at 5:44 午後

Block Designer Pro のブロック内容(repeatableの中身)をPage Listから表示したい

以下のソースをpage_listのカスタムテンプレート内で実行してBlock Designer Pro のリピート要素以外のコンテンツは表示できましたが、
Repeatable設定している中のコンテンツは呼び出し方がわからず躓いています。
Repeatable内コンテンツの表示はどうすればいいかわかる方がおりましたら、ご教授いただけますと幸いです。


https://gist.github.com/hissy/5023088 を使わせてもらいました。
//------------

foreach($pages as $page) {
$blocks = $page->getBlocks('エリア名');
$_blocks = array();
foreach($blocks as $block){
if($block->btHandle == 'カスタムブロックハンドル'){
$_blocks[] = $block;
}
}
$blocks = $_blocks;
if (is_object($blocks[0])) {
$bObj = $blocks[0]->getInstance();
// print property of the block
$headercopy = $bObj->カスタムブロックスラッグ;
$file = File::getByID($bObj->カスタムブロックスラッグ);
$headerimgURL = $file->getURL();
}
}
//

# concrete5 Version
Core Version - 8.3.2

# mySQL
5.6.35

# concrete5 Packages
Block Designer (2.9.1), Block Designer Pro (2.8.5), Page Selector Attribute (2.0), Pixel Theme (2.0.1)

# Server Software
Apache/2.2.32 (Unix) mod_wsgi/3.5 Python/2.7.13 PHP/7.1.8 mod_ssl/2.2.32 OpenSSL/1.0.2j DAV/2 mod_fastcgi/2.4.6 mod_perl/2.0.9 Perl/v5.24.0

# Server API
apache2handler

# PHP Version
7.1.8

Posted on 2月 15, 2018 at 1:44 午後
« 前12次 »