Illustrated guide for custom AbanteCart template development

Started by ravindre, November 14, 2013, 12:57:34 PM

Previous topic - Next topic

shankar_7950

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

abantecart

It looks like your template is missing layouts completely, including default page layout. Try to import layout from default template.
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

finzero

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 :)

johca

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.

galangdj

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.

juandesign

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

abolabo

"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

kelbel3abh

Quote from: juandesign 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

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

kelbel3abh

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

kok

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.

abolabo

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

sim

this custom template can support for abantecart version 1.2.1??

abolabo

"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

sim

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.

abolabo

yes. You should to install it manually.
just unpack this directory with contents into your public_html/extensions folder.
To download it click this.
Then go to menu extensions and install dev_tools.
After that you can to clone your own template via settings->appearance->clone template button
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

Forum Rules Code of conduct
AbanteCart.com 2010 -