Modify

Opened 5 years ago

Closed 5 years ago

#1968 closed Neues Feature (fixed)

Erweiterbarkeit print_order.php und print_packingslip.php

Reported by: Volker Strähle Owned by: somebody
Priority: normal Milestone: modified-shop-2.0.6.0
Component: Admin Version: 2.0.5.1
Keywords: Cc:
Blocked By: Blocking:

Description

In beiden Dateien ist kein Erweiterbarkeit vorgesehen, Es stehen nicht mal alle Order-Felder zur Verfügung die Daten der Klasse orders sind im Template nicht verfügbar.

Möglichkeit 1:

  $order = new order((int)$_GET['oID']);
  $smarty->assign('orderhead',$order);


Möglichkeit 2:

foreach(auto_include(DIR_FS_ADMIN.'includes/extra/print/','php') as $file) require ($file);

  // dont allow cache
  $smarty->caching = false;
  $smarty->template_dir=DIR_FS_CATALOG.'templates';

Mit Möglichkeit 2 ließen sich auch Dateien in einem Verzeichnis erstellen oder automatisieurter Verssand auslösen, ....

Attachments (0)

Change History (1)

comment:1 by Gerhard Waldemair, 5 years ago

Resolution: fixed
Status: newclosed

In 13375:

fix #1968 - auto_include for print_order and print_packingslip

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.