News:

AbanteCart v1.4.2 is released.

Main Menu
support

Custom Template

Started by altongasi, January 02, 2013, 02:44:18 PM

Previous topic - Next topic

altongasi

Hi All,

I've tried to add some HTML elements in Home Page as a block and activate the Frame, but I saw  difference that in new HTML elements there were no icons beside <a> element. Can anyone tell me how to put/add icons beside it?

Thanks  8) ;D ;D ;D

abantecart

Not quite clear what you try to do. Do you need to add image?
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

altongasi

#2
Exactly!!

abantecart

Can you please post the screenshot with what you try to do?
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

altongasi

Here it is.... i wanna put image/icons on new blocks same as the one owns by built-in blocks.

Thanks for reply.

altongasi

Continued.....

Please explain these 3 options' difference?

Thanks

abolabo

Quote from: altongasi on January 03, 2013, 02:56:49 PM
Continued.....

Please explain these 3 options' difference?

Thanks
Abantecart have two types of blocks - generic and custom. Custom based on abstract generic blocks like html_block, listing_block, banner_block etc.

all generic blocks have templates set. Template assist to placeholder (parent block of page layout). You can see it on design->layouts form.

When you creates new custom block and choose it's type, (in your case html_block), you can set any template of base block for it. When you choose "default" it's mean that block will use template depend on placeholder.  If you place your block to content_top or content_bottom placeholder it's will take html_block_content.tpl. If header - it will take html_block_header.tpl.
"Default" mean "automatically" by other words.
When you choose special template for your custom block it's mean that block will use it's tpl always... independently from placeholder.
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

Forum Rules Code of conduct
AbanteCart.com 2010 -