AbanteCart Community

Shopping Cart Operations => Support => Topic started by: donthecat on November 27, 2017, 03:57:15 PM

Title: Two Cloning queries...
Post by: donthecat on November 27, 2017, 03:57:15 PM
Hi,

What's the basic difference between  "Clone to Extension" and "Clone to Core Template ?

After Cloning, in Blocks, is it normal for all Templates' Blocks to be visible ? (Screenshot attached)

Thanks
Title: Re: Two Cloning queries...
Post by: abolabo on November 28, 2017, 04:24:48 AM
Quote from: donthecat on November 27, 2017, 03:57:15 PM
What's the basic difference between  "Clone to Extension" and "Clone to Core Template ?
Difference in destination of clone. "Core Template" will be placed inside storefront/view folder. "Extension" - inside extension directory.

Quote from: donthecat on November 27, 2017, 03:57:15 PM
After Cloning, in Blocks, is it normal for all Templates' Blocks to be visible ? (Screenshot attached)

what means "visible"? Status?
On you screenshot you have custom banner blocks. Some block assigned into layout and it have status button. Other blocks just orphans (without statuses)
Title: Re: Two Cloning queries...
Post by: donthecat on November 28, 2017, 02:24:52 PM
QuoteDifference in destination of clone. "Core Template" will be placed inside storefront/view folder. "Extension" - inside extension directory.

Got that abalabo, just curious as to why the two options... what's are the advantages/differences in each ?

QuoteOn you screenshot you have custom banner blocks. Some block assigned into layout and it have status button. Other blocks just orphans (without statuses)
I have the default template and the one I cloned... if you see my screenshot, you will find 4 Main Banner Blocks.. 2 showing as ON and 2 Inactive... I presume that the Inactive ones pertain to the unused template. But why two ?
Title: Re: Two Cloning queries...
Post by: abolabo on November 29, 2017, 06:05:30 AM
Quote from: donthecat on November 28, 2017, 02:24:52 PM
But why two ?
Because it's a custom blocks. Each custom blocks use generic as pattern. For example html_block. You have it as generic but you cannot to use it in layout. You should to create custom html block and paste some html-content into it.
You can have a lot of you custom blocks in layout and all of them use html_block as "parent". Another words : custom blocks are descriptions of html-block. We had decided never delete and change it during block-management operations.
Main difference between generic and custom block is adding to database. You cannot to add generic block via admin.
The same approach with form-blocks etc.
So you should to enable, disable, adds and delete all custom blocks manually.
Title: Re: Two Cloning queries...
Post by: donthecat on March 19, 2018, 03:39:22 PM
I'm reopening my query cos I've been working on AbanteCart for the past 5 months and sorta getting the hang of it .... :-)

I'm attaching the screenshots of my Blocks...

My queries

Many Thanks for the anticipated responses...
Title: Re: Two Cloning queries...
Post by: Basara on March 20, 2018, 01:39:44 AM
Hi.
Blocks are parts of template layouts pages. If you clone or install templates which have blocks with same names you will get "duplicates".