How to get a "ADD SECTION "button on my pages

Tourist
11 0 3

Hi there

Is it possible to have an " ADD SECTION" button on a newly created page in the supply theme?

At the moment I have something like that:

 

And I need something like this:

 

Thanks

Jakob

0 Likes
Highlighted
Shopify Expert
129 0 19

Hi,

It's impossible because the dynamic section supports to add unlimited in Home page only.

Richard Nguyen | PageFly CEO
0 Likes
Highlighted
Tourist
11 0 3

Thanks!

In this case all the stuff on the image below is only possible on the HOME page?

 

 

That is not very practical...
How do You get that content on newly  created pages? What is the purpose of the supply theme, if You can't put content You want on any page You want?

 

Thanks again

0 Likes
Highlighted
Shopify Expert
129 0 19

This is the feature of Shopify. I can give you a hint to do it manually. Please follow these step.

1. Clone page.liquid file inside templates folder of your theme to something like this page.your_page_title.liquid http://take.ms/4EwMu

2. Copy all content of page.liquid to new file

3. Remove {{ page.content }} in new file

3. Insert the code to include section like this http://take.ms/SVpSm

4. Navigate to page editing screen of the page which you want to edit and choose the template is the new template.

I hope this helps.

 

Richard Nguyen | PageFly CEO
2 Likes
Highlighted
Tourist
11 0 3

Nice!

Thanks

1 Like
Highlighted
Tourist
11 0 3

Well I did all the steps.

Unfortunately nothing changes in the sections customize menu on the left.

Still only

HEADER
COLLECTION
FOOTER

sections.....

 

Thanks nonetheless

0 Likes
Highlighted
Shopify Expert
129 0 19

Hi,

Could you please copy the content of this file in here?

Richard Nguyen | PageFly CEO
0 Likes
Highlighted
Tourist
11 0 3

Hi, I will post it soon

Thanks

0 Likes
Highlighted
New Member
1 0 1

Thank you for your code, however this doesn't really solve the problem.

I can add individual elements, but they duplicate data. (same pictures, same text, etc.)

There's a workaround for that, but you have to hard code each instance of each section, each time you add one.

http://www.codeshopify.com/blog_posts/theme-customization-the-settings-file

What we need is a way to include the actual "Add Section" button from the first (home) page.

I'm still in my trial period, but If there isn't a way to do that, I won't be a Shopify customer.

1 Like
Highlighted
New Member
1 0 1

 

I spent days looking for a solution to add Section to my Debut Themed online store, and the steps by Richard3 work !

 

i just had to play around with the sections. Here's the code i was able to use to achieve adding a dynamic image and txt section block to a page on the Debut Theme. im not a coder but it worked!

 

<div class="page-width">
<div class="grid">
<div class="grid__item medium-up--five-sixths medium-up--push-one-twelfth">
<div class="section-header text-center">
<h1>{{ page.title }}</h1>
</div>

<div class="rte">
{% section 'image-bar' %}
{% section 'rich-text' %}
{% section 'custom-content' %}
</div>
</div>
</div>
</div>

1 Like