Modify ↓
#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 , 4 years ago
| Component: | Shop → Template |
|---|
comment:2 by , 4 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
comment:3 by , 4 years ago
| Milestone: | modified-shop-2.0.6.1 |
|---|
Note:
See TracTickets
for help on using tickets.

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