Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#2077 closed Aufgabe (wontfix)

In Box search.php Funktion nur laden wenn nötig

Reported by: noRiddle Owned by: somebody
Priority: normal Milestone:
Component: Template Version: 2.0.6.0
Keywords: Cc:
Blocked By: Blocking:

Description

In der /templates/tpl_modified_responsive/source/boxes/search.php sollte man aus Performance-Gründen das Includen der Datei für die Funktion xtc_get_categories() mit in die if-Clause nehmen:

if (defined('SEARCH_AC_CATEGORIES')
    && SEARCH_AC_CATEGORIES == 'true'
    )
{
  require_once (DIR_FS_INC.'xtc_get_categories.inc.php');
  $box_smarty->assign('CATEGORIES', xtc_draw_pull_down_menu('categories_id', xtc_get_categories(array(array('id' => '', 'text' => TEXT_AC_ALL_CATEGORIES)), 0, false), isset($_GET['categories_id']) ? (int)$_GET['categories_id'] : '', 'id="cat_search"').xtc_draw_hidden_field('inc_subcat', '1'));
}

Gruß,
noRiddle

Attachments (0)

Change History (3)

comment:1 by Torsten Riemer, 4 years ago

Component: ShopTemplate

comment:2 by Gerhard Waldemair, 4 years ago

Resolution: wontfix
Status: newclosed

wie besprochen kann das geändert werden, ist aber keine performance Bremse.

comment:3 by Torsten Riemer, 4 years ago

Milestone: modified-shop-2.0.6.1

Modify Ticket

Action
as closed The owner will remain somebody.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.