Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Illustrated guide for custom AbanteCart template development  (Read 54150 times)

Offline shankar_7950

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Illustrated guide for custom AbanteCart template development
« Reply #15 on: February 03, 2014, 07:14:57 AM »
Hi,


I have followed the steps and have an error while accessing my front end.

There has been an error processing your request
Please check error log for more info. You can check error log in the control panel if it is functional. Otherwise, refer to error log located in your web server


And i have found in error log file

AbanteCart core v.1.1.8 No layout found for page_id/controller 2::pages/index/home!

can you please help me to get rid out of this.

I am using the version abantecart_1.1.8

Regards,

Saravana Shankar.S

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 3189
  • Karma: +231/-9
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Illustrated guide for custom AbanteCart template development
« Reply #16 on: February 03, 2014, 11:22:10 PM »
It looks like your template is missing layouts completely, including default page layout. Try to import layout from default template.
We need your help to build better free open source eCommerce platform for everyone.
See how you can help

Offline finzero

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Illustrated guide for custom AbanteCart template development
« Reply #17 on: September 17, 2014, 01:52:07 AM »
Hi Admin,

I followed the Instructions, but i stuck on step 3.

1. First what you need is to install extension development tool from the link below:
work perfectly, the "Extension Developer Tools" appear in the system section

2. Build (clone) template extension from default_html5 template
work perfectly, i go to extensions folder and the new Extension is created

3. Generate Layout from default_html5 template
after i click generate button on step 2, the page redirect to "All Project" tab, but i see nothing there. according to the Illustration image, there should be the new project i've generate before. i checked on the "Extensions > All Extensions" the new template extension is there but didn't appear on All Project in the Developer Tools list.

am i missing something ? i'm using V1.1.9

thanks before :)
« Last Edit: September 17, 2014, 03:31:00 AM by finzero »

Offline johca

  • Newbie
  • *
  • Posts: 19
  • Karma: +5/-0
    • View Profile
Re: Illustrated guide for custom AbanteCart template development
« Reply #18 on: January 11, 2015, 02:34:53 AM »
I got it loaded a-ok, but no option to open project to select default_html5 and click "Save layout XML" button after the new template was generated.

Offline dorelljames

  • Newbie
  • *
  • Posts: 4
  • Karma: +2/-0
    • View Profile
    • Developer in Cebu City, Philippines | dorelljames
Re: Illustrated guide for custom AbanteCart template development
« Reply #19 on: January 21, 2015, 10:05:52 AM »
I'm using AbanteCart version 1.2.0 as of the moment and I've struggled finding that button/link to generate layout.xml. For those who come here seeking help and probably still using the Extension Developer Tools v.1.0 which I believe isn't optimized for the latest version then this is for you.

If you're using Google Chrome. Open DevTools using F12 keyboard. Inspect element beside the newly created project. This gets you closer to the source and see the link. Just expand until you see the link. See attachment for_version_1.2.0.png.

NOTE: Important not to install the newly created project/extension yet to properly create the layout.xml.

To generate, click on Others tab and click blank button with title "Save Layout XML". See attachment save_layout.png.

Hope that helps.
----

Dorell James Galang / dorelljames.com

Offline juandesign

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Illustrated guide for custom AbanteCart template development
« Reply #20 on: January 29, 2015, 01:00:14 AM »
Hello,
I tried to upload it but its saying that it only requires a .tar or .gz..When I download the file it was .zip..

Can you advice on this?
Cheers

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1685
  • Karma: +220/-10
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Illustrated guide for custom AbanteCart template development
« Reply #21 on: January 29, 2015, 03:39:19 PM »
what zip?
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline kelbel3abh

  • Newbie
  • *
  • Posts: 42
  • Karma: +5/-0
    • View Profile
Re: Illustrated guide for custom AbanteCart template development
« Reply #22 on: January 30, 2015, 01:00:19 AM »
Hello,
I tried to upload it but its saying that it only requires a .tar or .gz..When I download the file it was .zip..

Can you advice on this?
Cheers

Hey, instead of uploading the entire zipped folder you just downloaded, I unzipped the folder contents to my computer and used an FTP client, Filezilla, to bring my files over.  You will need to go through the folders until you find the extensions folder in your download and match it with the extensions folder in your backend files.  Then, drop the developer_tools folder into there (extensions.)  Does this make sense?  Basically, don't upload the zipped folder in Extensions within your Admin.  Hope this helps! ~ Kelly

Offline kelbel3abh

  • Newbie
  • *
  • Posts: 42
  • Karma: +5/-0
    • View Profile
Re: Illustrated guide for custom AbanteCart template development
« Reply #23 on: January 30, 2015, 01:30:07 AM »
I am a little stuck.  I followed all the directions, everything went smoothly, but when I switch to the new template in Settings/ Appearance, my pages are blank.  But, if I view page source, there is code there.  I am trying to save this as a template before I upgrade to the newest version of Abantecart.  Anybody have any ideas?  I looked in the extensions folder and the template is there, along with layout.xml.  Not sure what is wrong.  ~ Kelly

Offline natdroid

  • Jr. Member
  • **
  • Posts: 68
  • Karma: +20/-2
    • View Profile
    • Contact
Re: Illustrated guide for custom AbanteCart template development
« Reply #24 on: March 25, 2015, 03:28:51 AM »
I have followed the steps and have an error while switch to the new template Design >Layouts
There has been a critical error processing your request
AbanteCart core v.1.2.1 No layout found for page_id/controller ::! Requested data: template: html5_theme, page_id: , layout_id: in <b>/abantecart/htdocs/core/lib/layout_manager.php</b> on line <b>111</b>
« Last Edit: March 25, 2015, 04:11:55 AM by natdroid »
Hire a freelance Abantecart web developer
http://pph.me/natani
Balanced abantecart hosting https://goo.gl/CDePDg

Offline kok

  • Newbie
  • *
  • Posts: 42
  • Karma: +2/-1
    • View Profile
Re: Illustrated guide for custom AbanteCart template development
« Reply #25 on: April 10, 2015, 01:57:20 AM »
Hi there,

I had follow the step to created, but in step 3 when I select All projects tab,

NO click button for Open Project (refer attached file), which step I wrong?

Thank you.

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1685
  • Karma: +220/-10
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Illustrated guide for custom AbanteCart template development
« Reply #26 on: April 10, 2015, 07:48:24 AM »
looks like you tried to use wrong version of devtools.
See https://github.com/abantecart/developer_tools_extension for needed.
Just take folder
your_abantecart_major_version/code/extensions/developer_tools and move into your extensions directory
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline sim

  • Jr. Member
  • **
  • Posts: 61
  • Karma: +1/-1
    • View Profile
Re: Illustrated guide for custom AbanteCart template development
« Reply #27 on: April 20, 2015, 11:20:31 PM »
this custom template can support for abantecart version 1.2.1??

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1685
  • Karma: +220/-10
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Illustrated guide for custom AbanteCart template development
« Reply #28 on: April 21, 2015, 02:11:01 PM »
this custom template ....

what that mean?
please clarify
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline sim

  • Jr. Member
  • **
  • Posts: 61
  • Karma: +1/-1
    • View Profile
Re: Illustrated guide for custom AbanteCart template development
« Reply #29 on: April 21, 2015, 09:44:12 PM »
it mean in the abantecart version 1.2.1, can it support for custom template development? when me use the developer tools 1.2 to create the template, it cannot work, it say page you requested not found.