Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
log
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tulip Li
log
Commits
f9ee55bd
Commit
f9ee55bd
authored
Sep 07, 2017
by
Tulip Li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
task3 理解section结构
parent
c9ec7845
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
0906.md
2017/09/0906.md
+22
-0
No files found.
2017/09/0906.md
0 → 100644
View file @
f9ee55bd
# Task three
### Creating A New Section
*
copying an existing section and making it work in the editor
*
copying folders/files : (examples from Grid section)
1.
grid.es6 -> _fe/js/components/sections/grid.es6_
2.
GridLayout.es6 -> _fe/js/utils/layouts/GridLayout.es6_
3.
GridLayoutButton.es6 -> _fs/js/components/layout
\_
buttons/GridLayoutButton.es6_
4.
content.json -> _fe/manifests
\_
data/verticals/base/section
\_
selections/grid/content.json_
5.
manifest.json (sections) -> _fe/manifests
\_
data/themes/base/sections/grid/manifest.json_
6.
manifest.json (section_selections) -> _fe/manifests
\_
data/verticals/base/section
\_
selections/grid/manifest.json_
7.
template.hrt -> _fe/manifests
\_
data/themes/base/sections/grid/thumbnail/template.hrt_
8.
template.hrt
9.
component.cjsx
10.
Pro sections
\
To mark a section as pro in FE and BE:
-
Set proFeature to true in section/manifest.json
-
Update section lists in feature
\_
cleaner.rb and premium_sections.rb
### Site Page And Section Structure
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment