Author Topic: Custom Template  (Read 5938 times)

Offline altongasi

  • Newbie
  • *
  • Posts: 9
  • Karma: +1/-0
    • View Profile
Custom Template
« on: January 02, 2013, 02:44:18 PM »
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

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4152
  • Karma: +251/-9
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Custom Template
« Reply #1 on: January 02, 2013, 08:57:46 PM »
Not quite clear what you try to do. Do you need to add image?
We need your help to build better free open source eCommerce platform for everyone.
See how you can help

Offline altongasi

  • Newbie
  • *
  • Posts: 9
  • Karma: +1/-0
    • View Profile
Re: Custom Template
« Reply #2 on: January 03, 2013, 06:06:26 AM »
Exactly!!
« Last Edit: January 03, 2013, 06:40:21 AM by altongasi »

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4152
  • Karma: +251/-9
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Custom Template
« Reply #3 on: January 03, 2013, 10:57:21 AM »
Can you please post the screenshot with what you try to do?
We need your help to build better free open source eCommerce platform for everyone.
See how you can help

Offline altongasi

  • Newbie
  • *
  • Posts: 9
  • Karma: +1/-0
    • View Profile
Re: Custom Template
« Reply #4 on: January 03, 2013, 02:46:30 PM »
Here it is.... i wanna put image/icons on new blocks same as the one owns by built-in blocks.

Thanks for reply.

Offline altongasi

  • Newbie
  • *
  • Posts: 9
  • Karma: +1/-0
    • View Profile
Re: Custom Template
« Reply #5 on: January 03, 2013, 02:56:49 PM »
Continued.....

Please explain these 3 options' difference?

Thanks

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1779
  • Karma: +246/-11
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Custom Template
« Reply #6 on: January 04, 2013, 04:35:28 AM »
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

 

Powered by SMFPacks Social Login Mod