Git (Basic)

When you have a renamed file and changed file which should not be added to staging. git add -A filename This command w...

foreach loop

foreach loop This code creates a new variable named links which is an array, and uses foreach statement to loop over ea...

Grid layout and Flexbox

Bootstrap When you use Bootstrap way, you need a wrapper to make a row <div class="wrapper"> <div class="i...

JavaScript : putting a function into a variable and executing it

  start();   function start(){     notwork = function test2(){       console.log('This doesn't work');       sta...

Drupal: Omegaのサブテーマで領域のラベル表示を非表示にする

テーマから該当のテーマの設定ページに移り、Develpmentタブ内のRegion demo modeのチェックを外すと非表示になる。

Drupal Webformでチェックボックスを一つのみ表示する

いつも忘れるのでメモ。 DrupalでWebformモジュールを使ってフォームを作成する際、 チェックボックスを単体で使う場合の設定方法。 Select optionsを選び、ラベル名と選択肢のないようを書いた後、Mult...

Drupal: Beanモジュールで設定したブロックを匿名ユーザーにも表示する

Beanモジュールはデフォルトでは管理者権限者にしかブロックを表示されないように設定されている。 モジュール->BeanのPermissionから、PeopleページのPermissionページに飛び、 そこでBeanの項...

Drupal7 BeanモジュールでBlock typeを追加し指定のBlock typeでブロックを作成する

BeanモジュールでBlock typeを作成した後、Block typeを指定してブロックを追加する方法。 作成したBlock typeを指定してブロックを作成するには、 Structure -> Blocks -&gt...
Uncategorized

Drupal7でWebformモジュールを使用したページで”Sumitted by”が表示される

Webformのコンテントタイプの編集画面にて、Display settingsのDisplay author and date informationのチェックを外す。チェックが外れているにも関わらず表示されている場合は、一度チェックを入...

Drupal: ViewsでFile:PathをRelationshipに追加する場合

ViewsでFile:PathをRelationshipに追加し、フィールドにFile:Pathを追加すると、FileAttachmentとImageの両方のフィールドが使われているノードは同じノードが2重で表示されてしまう。 目的は...
タイトルとURLをコピーしました