2thepoint Posted May 6, 2010 Share Posted May 6, 2010 i lost my tabs how can i fix it back?kind regards Link to comment Share on other sites More sharing options...
rocky Posted May 6, 2010 Share Posted May 6, 2010 You should go to the Preferences tab and make sure that the "PS directory" is "/" (without quotes), or edit config/settings.inc.php and make sure that the value of '__PS_BASE_URI__' is '/'. Link to comment Share on other sites More sharing options...
2thepoint Posted May 6, 2010 Author Share Posted May 6, 2010 The settings.inc.php had as config ‘PS_BASE_URI‘ is ‘themes/’ i changed it into '/themes/ Link to comment Share on other sites More sharing options...
rocky Posted May 6, 2010 Share Posted May 6, 2010 Why do you have your base directory set to "/themes/"? From the URL in your screenshot, it appears you've installed Prestashop is the root directory of your site, not in the "/themes/" subdirectory, so it should be "/". Link to comment Share on other sites More sharing options...
2thepoint Posted May 6, 2010 Author Share Posted May 6, 2010 i allready changed that 2 / but no luck Link to comment Share on other sites More sharing options...
rocky Posted May 6, 2010 Share Posted May 6, 2010 I'm not sure what else would cause the problem. From the screenshot, it appears that the Back Office is working, it is just the CSS that isn't working. I can't help any more without actually looking at your website. You need to figure out why the CSS isn't being loaded. Link to comment Share on other sites More sharing options...
2thepoint Posted May 6, 2010 Author Share Posted May 6, 2010 ok thanx for the tip Link to comment Share on other sites More sharing options...
Linkarta Posted June 22, 2014 Share Posted June 22, 2014 i have the same issue, whenever i go to widget and edit, then save i get this page without menubar what i've done is: i have 1.5.6.1 and i did another installation of 1.6... of course things got messy my developer, solved 90% of the problem and he travel...i'm left with this issue i don't know how to attach the screenshot... Link to comment Share on other sites More sharing options...
vekia Posted June 23, 2014 Share Posted June 23, 2014 i have the same issue, whenever i go to widget and edit what you mean by "widget" ? Link to comment Share on other sites More sharing options...
Linkarta Posted June 23, 2014 Share Posted June 23, 2014 what you mean by "widget" ? Leo manage widget, module of my theme Link to comment Share on other sites More sharing options...
vekia Posted June 23, 2014 Share Posted June 23, 2014 hello so all other subpages of back office works well? only widget page doesnt work? Link to comment Share on other sites More sharing options...
Linkarta Posted June 23, 2014 Share Posted June 23, 2014 Almost yes, the problem with widget is 2 things 1- when I save and navigate out I get scrambled page 2- I can't upload images on widget, like if I want to add a banner Minor issue I'm the menu of back office, search bar is missed placed Link to comment Share on other sites More sharing options...
Linkarta Posted June 23, 2014 Share Posted June 23, 2014 (edited) Almost yes, the problem with widget is 2 things 1- when I save and navigate out I get scrambled page 2- I can't upload images on widget, like if I want to add a banner Minor issue I'm the menu of back office, search bar is missed placed i think my problem is here: /public_html/modules/leomanagewidgets/popup.php but i'm not sure, and if yes, no idea how to fix the images problem i mean Edited June 23, 2014 by Linkarta (see edit history) Link to comment Share on other sites More sharing options...
Linkarta Posted June 23, 2014 Share Posted June 23, 2014 any advice? <?php define('_PS_ADMIN_DIR_', getcwd()); include( _PS_ADMIN_DIR_ .'/../../config/config.inc.php'); include( _PS_ADMIN_DIR_ .'/classes/LeoManageWidget.php'); include( _PS_ADMIN_DIR_ .'/leomanagewidgets.php'); global $adminfolder; $module = new leomanagewidgets(); $adminfolder = $module->getFolderAdmin(); ?> <html> <head> <title>Pop up</title> <link href="<?php echo __PS_BASE_URI__;?>css/admin.css" type="text/css" rel="stylesheet"/> <link href="<?php echo __PS_BASE_URI__.$adminfolder;?>/themes/default/css/admin.css" type="text/css" rel="stylesheet"/> <link href="<?php echo _MODULE_DIR_;?>leomanagewidgets/assets/admin/style.css" type="text/css" rel="stylesheet"/> <style type="text/css"> body{height:100%;background-color: #FFFFFF;} #container{height:100%} #content{height:90%;border: none;padding: 0px;} </style> <script src="<?php echo _MODULE_DIR_;?>leomanagewidgets/assets/admin/jquery-1.7.2.min.js" type="text/javascript"></script> <script src="<?php echo _MODULE_DIR_;?>leomanagewidgets/assets/admin/jquery-ui-1.10.3.custom.min.js" type="text/javascript"></script> <script src="<?php echo _MODULE_DIR_;?>leomanagewidgets/assets/admin/admin.js" type="text/javascript"></script> <script type="text/javascript" src="<?php echo __PS_BASE_URI__;?>js/tiny_mce/tiny_mce.js"></script> <script type="text/javascript" src="<?php echo __PS_BASE_URI__;?>js/tinymce.inc.js"></script> <script type="text/javascript"> var helpboxes = false; var id_language = <?php echo Tools::getValue('id_lang');?>; function changeLofLanguage(field, fieldsString, id_language_new, iso_code) { $('div[id^='+field+'_]').hide(); var fields = fieldsString.split('造'); for (var i = 0; i < fields.length; ++i) { $('div[id^='+fields+'_]').hide(); $('#'+fields+'_'+id_language_new).show(); $('#'+'language_current_'+fields).attr('src', '<?php echo __PS_BASE_URI__;?>img/l/' + id_language_new + '.jpg'); } $('#languages_' + field).hide(); id_language = id_language_new; } </script> <script src="<?php echo __PS_BASE_URI__;?>js/admin.js" type="text/javascript"></script> </head> <body> <div id="container"> <div id="content"> <?php $id_shop = Tools::getValue('id_shop'); $id_lang = Tools::getValue('id_lang'); $id = Tools::getValue('id_leomanagewidgets'); if(Tools::isSubmit('submitSave')){ $error = $module->_postValidation(); if(!isset($error['msg'])){ $return = $module->_postProcess(); $obj = $return['obj']; }else{ $obj = new LeoManageWidget($id, 0, $id_shop); } }else{ $obj = new LeoManageWidget($id, 0, $id_shop); } $task = Tools::getValue('task', $obj->task); $html = ''; if(file_exists(dirname(__FILE__).'/form_'.$task.'.php')){ require_once ( dirname(__FILE__).'/form_'.$task.'.php' ); }else{ ?> <script type="text/javascript"> window.parent.location.href = '<?php echo __PS_BASE_URI__.$adminfolder.'/index.php?tab=AdminModules&configure=' . $module->name . '&token=' . Tools::getValue('token');?>'; </script> <?php } ?> <div class="container_html"> <br/> <br/> <br/> <?php echo (isset($error['msg']) ? $error['msg'] : ''); ?> <?php if(isset($return) && $return){ ?> <?php echo $return['msg']; ?> <?php if($return['status'] == 'success'){ ?> <script type="text/javascript"> window.parent.location.href = '<?php echo __PS_BASE_URI__.$adminfolder.'/index.php?tab=AdminModules&configure=' . $module->name . '&token=' . Tools::getValue('token');?>'; </script> <?php } ?> <?php } ?> <?php echo $html; ?> </div> </div> </body> </html> Link to comment Share on other sites More sharing options...
Linkarta Posted June 23, 2014 Share Posted June 23, 2014 the image dir should be this, can this help? /modules/leomanagewidgets/img/banner_slide_1.jpg Link to comment Share on other sites More sharing options...
Recommended Posts