Jump to content

Single page from several CMS content


Recommended Posts

Hello,

I would like to create a page that uses content from several CMS page content. Say I have this CMS structure:

CMS - About Us - Activity 1
               | Activity 2
               | Activity 3

"About Us" is a CMS category containing 3 pages (Activity 1, 2, 3).
I would like to assemble a page called "About Us" with the three activities displayed as rows:

<div class="row">
Activity 1 content
</div>
<div class="row">
Activity 2 content
</div>
<div class="row">
Activity 3 content
</div>

What would be the best approach for this? I guess I could modify the "CMS category page view".

This page looks like that now:

image.thumb.png.a94bd3cb9a31e0cfebe69b0fb5bceca0.png

 

I guess I have to make changes in cms.tpl: https://github.com/PrestaShop/PrestaShop/blob/1.6.1.24/themes/default-bootstrap/cms.tpl#L58

And add the content of those pages, instead of just the meta-title. Do I need to modify the PHP controller, too?

I am using Prestashop 1.6.

 

Edited by cdupont2 (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...