Skip to content

Create new widget for footer section #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
May 30, 2016

Conversation

nanophate
Copy link
Member

@nanophate nanophate commented May 22, 2016

やりたいこと

H1かH2を上に表示し、Headingの下にはテキストを表示したい。
背景の色を自在に変えられるようにする。

screen shot 2016-05-16 at 6 35 08 pm

# やること - [x] BootstrapのCSSとHTMLをマッチング - [x] テキストボックスをbodyとtitleで読み込むように設定する。

screen shot 2016-05-16 at 6 41 54 pm

@nanophate
Copy link
Member Author

nanophate commented May 22, 2016

コンテンツが二重に表示になっている。

  • 問い合わせ中
    screen shot 2016-05-23 at 12 43 40 am

TO: Customer Support
FROM: Naoya

Dear, Scrivito Customer Support
Hi, I'm Naoya from YassLab.
I cerated a new widget and I encountered into a problem, whenever I published the content the text duplicates itself.... Can you help me?

返信が返ってきました。
attributeで同じ定義をしていたためでした。

TO: Naoya
FROM: Customer Support (Bartek)

Thank you for the code.
Ok there I see your problem. You basically read out the same attribute two times.
first you call
scrivito_tag :h4, widget, :text …
So you edit and print the attribute :text of your widget as the headline.
Below that you do the same only this time using a p-tag.
scrivito_tag :p, widget, :text …
So all you will have to do is replace the :text-Attribute in the second line with some other attribute you defined for your widget.

@yasulab
Copy link
Member

yasulab commented May 23, 2016

PRのdescriptionがとても分かりやすい...! 👍 ✨

@nanophate nanophate merged commit 9733137 into master May 30, 2016
@nanophate nanophate temporarily deployed to coderdojo-japan May 30, 2016 07:43 Inactive
@nanophate nanophate changed the title [WIP] Create new widget for footer section Create new widget for footer section May 30, 2016
@nanophate nanophate deleted the new-ft-footer-section-layout branch May 30, 2016 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants