CMS MADE SIMPLE FORGE

Template Externalizer

 

[#9553] Hide parameters tab when active.

avatar
Created By: Tapio Löytty (Stikki)
Date Submitted: 2013-09-25 06:02

Assigned To: Jocelyn Lusseau (kraygoon)
Resolution: Accepted
State: Open
Summary:
Hide parameters tab when active.
Detailed Description:
Howdy,

Thanks for your work on this great module.

Parameters tab populates some of PHP notices from smarty templates if PHP error
reporting is set strict enough. I don't see point having whole tab visible at
all when module is active and in edit mode.

This would magically hide / remove whole "problem" of notices.

Thanks in advanced.

History

Comments
avatar
Date: 2013-09-25 07:12
Posted By: Jocelyn Lusseau (kraygoon)

Can you explain to me when PHP errors appear?
I've set 'php_value error_reporting E_STRICT' in my .htaccess and I have no
error appears.
      
avatar
Date: 2013-09-25 07:19
Posted By: Tapio Löytty (Stikki)

If E_NOTICE is enable, as i keep it enabled in my development envirmonet, tab
contents produces:



Exportation folder :

/var/www/projects/kumho.fi/tmp/
Notice: Undefined index: parametres_submit in
/var/www/projects/kumho.fi/tmp/templates_c/TemplateExternalizer^51d696357383bcbdb13c5292bcb6d847d9a7b523.module_file_tpl.TemplateExternalizer;defaultadmin.tab.parametres.tpl.php
on line 45

Notice: Trying to get property of non-object in
/var/www/projects/kumho.fi/tmp/templates_c/TemplateExternalizer^51d696357383bcbdb13c5292bcb6d847d9a7b523.module_file_tpl.TemplateExternalizer;defaultadmin.tab.parametres.tpl.php
on line 45
externalizer

CHMOD (write) :


Notice: Undefined index: parametres_submit in
/var/www/projects/kumho.fi/tmp/templates_c/TemplateExternalizer^51d696357383bcbdb13c5292bcb6d847d9a7b523.module_file_tpl.TemplateExternalizer;defaultadmin.tab.parametres.tpl.php
on line 56

Notice: Trying to get property of non-object in
/var/www/projects/kumho.fi/tmp/templates_c/TemplateExternalizer^51d696357383bcbdb13c5292bcb6d847d9a7b523.module_file_tpl.TemplateExternalizer;defaultadmin.tab.parametres.tpl.php
on line 56
0777

Template extension :


Notice: Undefined index: parametres_submit in
/var/www/projects/kumho.fi/tmp/templates_c/TemplateExternalizer^51d696357383bcbdb13c5292bcb6d847d9a7b523.module_file_tpl.TemplateExternalizer;defaultadmin.tab.parametres.tpl.php
on line 66

Notice: Trying to get property of non-object in
/var/www/projects/kumho.fi/tmp/templates_c/TemplateExternalizer^51d696357383bcbdb13c5292bcb6d847d9a7b523.module_file_tpl.TemplateExternalizer;defaultadmin.tab.parametres.tpl.php
on line 66
html

Stylesheet extension :


Notice: Undefined index: parametres_submit in
/var/www/projects/kumho.fi/tmp/templates_c/TemplateExternalizer^51d696357383bcbdb13c5292bcb6d847d9a7b523.module_file_tpl.TemplateExternalizer;defaultadmin.tab.parametres.tpl.php
on line 76

Notice: Trying to get property of non-object in
/var/www/projects/kumho.fi/tmp/templates_c/TemplateExternalizer^51d696357383bcbdb13c5292bcb6d847d9a7b523.module_file_tpl.TemplateExternalizer;defaultadmin.tab.parametres.tpl.php
on line 76
css

UDT extension :


Notice: Undefined index: parametres_submit in
/var/www/projects/kumho.fi/tmp/templates_c/TemplateExternalizer^51d696357383bcbdb13c5292bcb6d847d9a7b523.module_file_tpl.TemplateExternalizer;defaultadmin.tab.parametres.tpl.php
on line 86

Notice: Trying to get property of non-object in
/var/www/projects/kumho.fi/tmp/templates_c/TemplateExternalizer^51d696357383bcbdb13c5292bcb6d847d9a7b523.module_file_tpl.TemplateExternalizer;defaultadmin.tab.parametres.tpl.php
on line 86
php

Operating time :


Notice: Undefined index: parametres_submit in
/var/www/projects/kumho.fi/tmp/templates_c/TemplateExternalizer^51d696357383bcbdb13c5292bcb6d847d9a7b523.module_file_tpl.TemplateExternalizer;defaultadmin.tab.parametres.tpl.php
on line 96

Notice: Trying to get property of non-object in
/var/www/projects/kumho.fi/tmp/templates_c/TemplateExternalizer^51d696357383bcbdb13c5292bcb6d847d9a7b523.module_file_tpl.TemplateExternalizer;defaultadmin.tab.parametres.tpl.php
on line 96
120

 


Notice: Undefined index: parametres_submit in
/var/www/projects/kumho.fi/tmp/templates_c/TemplateExternalizer^51d696357383bcbdb13c5292bcb6d847d9a7b523.module_file_tpl.TemplateExternalizer;defaultadmin.tab.parametres.tpl.php
on line 106

Notice: Trying to get property of non-object in
/var/www/projects/kumho.fi/tmp/templates_c/TemplateExternalizer^51d696357383bcbdb13c5292bcb6d847d9a7b523.module_file_tpl.TemplateExternalizer;defaultadmin.tab.parametres.tpl.php
on line 106
To change the parameters, the mode of development should be disabled.

      
avatar
Date: 2013-09-25 07:31
Posted By: Jocelyn Lusseau (kraygoon)

Thanks,

Can you try the last release (2.1.2) and give me a feedback ?
      
avatar
Date: 2013-09-25 07:51
Posted By: Tapio Löytty (Stikki)

Perfect!

Merci beaucoup.
      
Updates

Updated: 2013-09-25 06:08
resolution_id: => 6
assigned_to_id: 100 => 15432