mebjas Posted April 16, 2013 Share Posted April 16, 2013 Hello @ , Can anybody tell me which one is the .tpl file for admin back office catalog list?I need to make a minor change to the UI Link to comment Share on other sites More sharing options...
vekia Posted April 16, 2013 Share Posted April 16, 2013 you talking about latest prestashop 1.5.4 or about some earlier (than 1.5) versions? and other question: you want to add new position? If so you should use administration -> menus Link to comment Share on other sites More sharing options...
mebjas Posted April 16, 2013 Author Share Posted April 16, 2013 prestashop 1.5.3 Link to comment Share on other sites More sharing options...
vekia Posted April 16, 2013 Share Posted April 16, 2013 admin/themes/default/template/header.tpl you've got there something like: <ul id="menu"> {if !$tab} <div class="mainsubtablist" style="display:none"> </div> {/if} {foreach $tabs AS $t} {if $t.active} <li class="submenu_size maintab {if $t.current}active{/if}" id="maintab{$t.id_tab}"> <a href="#" class="title"> <img src="{$t.img}" alt="" />{if $t.name eq ''}{$t.class_name}{else}{$t.name}{/if} </a> <ul class="submenu"> {foreach from=$t.sub_tabs item=t2} {if $t2.active} <li><a href="{$t2.href|escape:'htmlall':'UTF-8'}">{if $t2.name eq ''}{$t2.class_name}{else}{$t2.name|escape:'htmlall':'UTF-8'}{/if}</a></li> {/if} {/foreach} </ul> </li> {/if} {/foreach} </ul> and this is menu Link to comment Share on other sites More sharing options...
mebjas Posted April 16, 2013 Author Share Posted April 16, 2013 sir but this is tpl for header I think I need the theme file for the product list in backoffice (catalog) its output looks like <table id="product" class="table product" cellpadding="0" cellspacing="0" style="width: 100%; margin-bottom:10px;"> <colgroup><col width="10px"> <col width="20px"> <col width="70px"> <col> Link to comment Share on other sites More sharing options...
Narahari Posted May 9, 2013 Share Posted May 9, 2013 Hi Sir, I Want the admin toolbar in customer login side, please tell me the code where we need to change this? Link to comment Share on other sites More sharing options...
vekia Posted May 9, 2013 Share Posted May 9, 2013 Hi Sir, I Want the admin toolbar in customer login side, please tell me the code where we need to change this? hello, if it is possible - please create new thread with your question. YOu also need to describe much more what you exactly expect. Im waiting for your new thread :-) regards Link to comment Share on other sites More sharing options...
jahyax Posted June 19, 2013 Share Posted June 19, 2013 sir but this is tpl for header I think I need the theme file for the product list in backoffice (catalog) its output looks like I am also looking for this file.. and I am having troubles looking for it, can anyone please help. -thanks in advance.. Link to comment Share on other sites More sharing options...
vekia Posted June 19, 2013 Share Posted June 19, 2013 I am also looking for this file.. and I am having troubles looking for it, can anyone please help. -thanks in advance.. what exactly you expect? Link to comment Share on other sites More sharing options...
jahyax Posted June 19, 2013 Share Posted June 19, 2013 (edited) Vekia, Sir, i am looking for the ".tpl" file that shows the list of all products on the back office... I cant seem to find it. i want to edit something.. Edited June 19, 2013 by jahyax (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted June 19, 2013 Share Posted June 19, 2013 ok, now it's clear for me - what ps version you use? Link to comment Share on other sites More sharing options...
jahyax Posted June 19, 2013 Share Posted June 19, 2013 sir, I am using the 1.5.4.1 version Link to comment Share on other sites More sharing options...
vekia Posted June 19, 2013 Share Posted June 19, 2013 _ADMIN_DIR_/themes/default/template/helpers/list/list_content.tpl Link to comment Share on other sites More sharing options...
jahyax Posted June 19, 2013 Share Posted June 19, 2013 Thank you, I will look into this Link to comment Share on other sites More sharing options...
jahyax Posted June 20, 2013 Share Posted June 20, 2013 (edited) _ADMIN_DIR_/themes/default/template/helpers/list/list_content.tpl Thank you Sir, found what I was looking for, I have one last question hopefully this is still the proper thread. When i look in to list of all products, I see 6 buttons 2 for each edit delete and duplicate.. how is this possible? but when i look into the list_content.tpl , there is only one action for the button. Edited June 20, 2013 by jahyax (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted June 20, 2013 Share Posted June 20, 2013 you've got "action" buttons defined in the products controller (admin) controllers/admin/AdminProductsController.php in the __construct() function you've got: $this->bulk_actions = array('delete' => array('text' => $this->l('Delete selected'), 'confirm' => $this->l('Delete selected items?'))); as i probably said, it's not as simple as it seems, because prestashop is based on object models, so list_content.tpl is related to all objects, not only products! Link to comment Share on other sites More sharing options...
jahyax Posted June 20, 2013 Share Posted June 20, 2013 (edited) <p> you've got available "actinon" buttons defined in the products controller (admin) controllers/admin/AdminProductsController.php in the __construct() function you've got: $this->bulk_actions = array('delete' => array('text' => $this->l('Delete selected'), 'confirm' => $this->l('Delete selected items?'))); as i probably said, it's not as simple as it seems, because prestashop is based on object models, so list_content.tpl is related to all objects, not only products! </p> wow! thank you for the insight.. ../AdminProductsController.php <<-- this file, i know I have done something because i made an override on this controller. thank you for pointing me into the right direction.. is there any other things or tips should i know, on removing the duplicate buttons without affecting the other list, because the other list are fine.. thanks in advance Edited June 20, 2013 by jahyax (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted June 20, 2013 Share Posted June 20, 2013 well , if you want to edit buttons related to certain objects - don't edit .tpl files, just object definiton. everything depends on what you exactly want to chage, if products - edit object definition in products controller, if for exampe: categories, edit categories object definition in categories controller Link to comment Share on other sites More sharing options...
weckie Posted July 21, 2013 Share Posted July 21, 2013 Hi, i got a q related to this. Since we have very slow internet connection, it takes very long to load the product list because of images need to load over and over again (in the list i mean). Can i temp. shut of the display of the images in the list, so loading goes faster. I tried looking in the list_content.tpl file, but cant see the loading of the images in there. Link to comment Share on other sites More sharing options...
Recommended Posts