News:

AbanteCart v1.4.2 is released.

Main Menu
support

Full clone with developer tool

Started by josmun, February 18, 2017, 10:52:20 AM

Previous topic - Next topic

josmun

I just full cloned the default template with developer tool 1.3beta. No errors during cloning or in logs. New template is made and enabled with all specific template/file present, but  "default" template file is still used. is there something else i have to do in order to get the full new template working?

Basara

Hello.
Why do you think 'default' template is used? I see you enable new in Design > Templates

josmun

#2
If i want to change something in the enabled new template, nothing changes so in the page tpl on top i wrote some text on both pages like, this is the default template and this is the newtemplate and i keep seeing this is the default template. I assume that with a full template the pages of that new template are used too instead of those from the default store? i also change things i the stylesheet of the new template and nothing. if i change them in the default css it changes

josmun

if have tried to change the logo in the admin section but nothing changes

Basara

The background on the settings page mean something is disabled. Please make sure your new template Extension is ON, your store is ON and new template assigned to store you use

josmun

It is not a extension therefore nothing to enable there,  but the new template is enabled as shown in picture above.
Permissions 777
And what do you mean with the background on the settings page is disabled? what more do i have to enable?

Basara

#6
How many stores you have?
And in your screenshot you edit Default template (left top corner)

josmun

#7
i have just 1 store. and what you see in the left top corner is the text i added in the page.tpl to see if the store is ussing my fully cloned new template  ;)

Basara

Hi.
When you clone what option do you select, clone to Extension or Core Template?

Basara

Please run clone wizard again and select Clone template to Extension.  ;)

josmun

I selected core template because i want a full clone and not an extension.

Basara

Quote from: josmun on February 20, 2017, 05:47:08 AM
I selected core template because i want a full clone and not an extension.

I suggest you to choose Extension option. New template will be separated into full template extension

josmun

ok i did that. throw away earlier made template(s) and now i've got a full template as a extension indeed. but i still have the same problems. default template is used and modifing the stylesheet changes nothing. only if i make changes in the default stylesheet. permissions on the test template 777. i cleared caches in browser and in the admin section. What is it? what am i doing wrong?????

josmun

I got this errors in de log file

2017-02-20 11:00:50 - warning: AbanteCart core v.1.2.9 chmod(): Operation not permitted in <b>/var/www/abantecart/extensions/developer_tools/admin/model/tool/developer_tools.php</b> on line <b>1609</b>

2017-02-21 6:54:58 - warning: AbanteCart core v.1.2.9 Invalid argument supplied for foreach() in <b>/var/www/abantecart/core/lib/layout_manager.php</b> on line <b>1749</b>

and below the webpage I found these errors (debug error i think?)

Name    Info
9101::App Warning
   Warning! Variable "button_back" in template "" overriding value and data type "string" Forcing new data type object. Possibly need to review your code! in /var/www/abantecart/core/engine/view.php on line 228
9101::App Warning
   Warning! Variable "button_reload" in template "" overriding value and data type "string" Forcing new data type object. Possibly need to review your code! in /var/www/abantecart/core/engine/view.php on line 228
9101::App Warning
   Warning! Variable "button_restore_defaults" in template "" overriding value and data type "string" Forcing new data type object. Possibly need to review your code! in /var/www/abantecart/core/engine/view.php on line 228
9101::App Warning
   Warning! Variable "button_save" in template "" overriding value and data type "string" Forcing new data type object. Possibly need to review your code! in /var/www/abantecart/core/engine/view.php on line 228
9101::App Warning
   Warning! Variable "button_reset" in template "" overriding value and data type "string" Forcing new data type object. Possibly need to review your code! in /var/www/abantecart/core/engine/view.php on line 228
9101::App Warning
   Warning! Variable "button_back" in template "" overriding value and data type "string" Forcing new data type object. Possibly need to review your code! in /var/www/abantecart/core/engine/view.php on line 228
9101::App Warning
   Warning! Variable "button_reload" in template "" overriding value and data type "string" Forcing new data type object. Possibly need to review your code! in /var/www/abantecart/core/engine/view.php on line 228
9101::App Warning
   Warning! Variable "button_restore_defaults" in template "" overriding value and data type "string" Forcing new data type object. Possibly need to review your code! in /var/www/abantecart/core/engine/view.php on line 228
9101::App Warning
   Warning! Variable "button_save" in template "" overriding value and data type "string" Forcing new data type object. Possibly need to review your code! in /var/www/abantecart/core/engine/view.php on line 228
9101::App Warning
   Warning! Variable "button_reset" in template "" overriding value and data type "string" Forcing new data type object. Possibly need to review your code! in /var/www/abantecart/core/engine/view.php on line 228
9101::App Warning
   Warning! Variable "button_back" in template "pages/extension/extensions/edit.tpl" overriding value and data type "string" Forcing new data type object. Possibly need to review your code! in /var/www/abantecart/core/engine/view.php on line 228
9101::App Warning
   Warning! Variable "button_reload" in template "pages/extension/extensions/edit.tpl" overriding value and data type "string" Forcing new data type object. Possibly need to review your code! in /var/www/abantecart/core/engine/view.php on line 228
9101::App Warning
   Warning! Variable "button_restore_defaults" in template "pages/extension/extensions/edit.tpl" overriding value and data type "string" Forcing new data type object. Possibly need to review your code! in /var/www/abantecart/core/engine/view.php on line 228
9101::App Warning
   Warning! Variable "button_save" in template "pages/extension/extensions/edit.tpl" overriding value and data type "string" Forcing new data type object. Possibly need to review your code! in /var/www/abantecart/core/engine/view.php on line 228
9101::App Warning
   Warning! Variable "button_reset" in template "pages/extension/extensions/edit.tpl" overriding value and data type "string" Forcing new data type object. Possibly need to review your code! in /var/www/abantecart/core/engine/view.php on line 228

Basara

Hello.
Looks like permissions problem. Your server not allow script to write/remove some files. You can change them via FTP or cPanel file manager

Forum Rules Code of conduct
AbanteCart.com 2010 -