tag:blogger.com,1999:blog-3364276629582168806.post542960264016695942..comments2022-11-30T21:04:27.633+01:00Comments on San Binario: [Prestashop 1.6][Guide] Enable Smarty Console on the new Prestashop 1.6danidomenhttp://www.blogger.com/profile/13517489064255883635noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-3364276629582168806.post-401464012825896392020-06-17T10:14:59.340+02:002020-06-17T10:14:59.340+02:00I was trying to get your code to work and I notice...I was trying to get your code to work and I noticed that the object name has changed from $template to $_template<br />With the underscore in place, the error message is gone.<br /><br />Now I need to find out why it does not open a new window but appends all debug info (unformatted) to the end of the page like {debug} does.<br /><br />If you have any suggestion where I would have to look, that Toeareghttps://www.blogger.com/profile/11195673577081805784noreply@blogger.comtag:blogger.com,1999:blog-3364276629582168806.post-5604976427283422352020-06-17T09:52:10.522+02:002020-06-17T09:52:10.522+02:00Thanks for you reply.
Problem is that the {debug} ...Thanks for you reply.<br />Problem is that the {debug} command does not format the output in a properly readable format. Especially the objects and arrays are unreadable due to the lack of formatting.<br />Toeareghttps://www.blogger.com/profile/11195673577081805784noreply@blogger.comtag:blogger.com,1999:blog-3364276629582168806.post-6244417391342879712020-06-16T20:58:22.719+02:002020-06-16T20:58:22.719+02:00Hi @Toeareg,
As this is very old now, maybe the t...Hi @Toeareg,<br /><br />As this is very old now, maybe the template files changed also over time on the most recent v1.6.X versions, so I recommend you to try simply to put the {debug} smarty piece of code directly on your tpl to display the toolbox.<br /><br />You can follow this another tutorial about this if it's works: http://rocinantesoftware.blogspot.com.es/2015/07/danidomenhttps://www.blogger.com/profile/13517489064255883635noreply@blogger.comtag:blogger.com,1999:blog-3364276629582168806.post-11869905615951071562020-06-16T16:37:32.592+02:002020-06-16T16:37:32.592+02:00I just found this tutorial but it doesn't work...I just found this tutorial but it doesn't work for me (PS 1.6.1.24).<br />I throws this error:<br />Notice on line 320 in file D:\home\to161\domains\to161.nl\public_html\tools\smarty\sysplugins\smarty_internal_templatebase.php<br />[8] Trying to get property of non-object<br /><br />Any idea how I can solve that?<br />Toeareghttps://www.blogger.com/profile/11195673577081805784noreply@blogger.comtag:blogger.com,1999:blog-3364276629582168806.post-80175821842980914192015-08-13T11:49:54.290+02:002015-08-13T11:49:54.290+02:00User must do hard code to disable functionality in...User must do hard code to disable functionality in production upon your method however in this tutorial users can disable UI simply just using UI controsl.ويتوhttps://www.blogger.com/profile/17339120272844247859noreply@blogger.comtag:blogger.com,1999:blog-3364276629582168806.post-82298347015661684332015-08-13T11:48:19.151+02:002015-08-13T11:48:19.151+02:00Nice tutorial :)Nice tutorial :)ويتوhttps://www.blogger.com/profile/17339120272844247859noreply@blogger.comtag:blogger.com,1999:blog-3364276629582168806.post-64121861190381371912015-07-08T13:18:43.018+02:002015-07-08T13:18:43.018+02:00Hi Dani,
Thanks for the writeup, and for translati...Hi Dani,<br />Thanks for the writeup, and for translating it to English. FYI, I use an alternative method that you might find interesting... one that doesn't change the core code (and doesn't try to imitate 1.5). The article can be found here: http://rocinantesoftware.blogspot.com.es/2015/07/prestashop-16-smarty-debug-console.htmlEd Eichmanhttps://www.blogger.com/profile/04589507047461754483noreply@blogger.com