Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Cannot Create Second "main Content" Block Rate Topic   - - - - -

 
  • Ayokay
  • Junior Member
  • Members
  • Join Date: 12-Apr 11
  • 31 posts

Posted 30 June 2014 - 10:13 PM #1

In previous versions of CS-Cart, we could create multiple instances of the Main Content block. This was nice because certain categories we want to have full width content, whereas other we want a sidebar.

So we would create two grids: one for each layout mentioned above.

In CS-Cart 4.1.*, we are not able to create more than one Main Content block.

Is there a way to do this using the HTML w/ Smarty block?
Should I manually duplicate the Main Content block in the database?
Is there some other function for this that I'm not seeing?

Thanks,
Jack

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19782 posts

Posted 01 July 2014 - 07:51 AM #2

In previous versions of CS-Cart, we could create multiple instances of the Main Content block. This was nice because certain categories we want to have full width content, whereas other we want a sidebar.

So we would create two grids: one for each layout mentioned above.

In CS-Cart 4.1.*, we are not able to create more than one Main Content block.

Is there a way to do this using the HTML w/ Smarty block?
Should I manually duplicate the Main Content block in the database?
Is there some other function for this that I'm not seeing?


Hi, Jack

If you use it for categories, just add HTML w/ Smarty block and specify the following content:

{include file="views/categories/view.tpl"}

Hope that helps.

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.