Modify

Opened 4 years ago

Closed 4 years ago

#2094 closed Bug/Fehler (fixed)

\includes\extra\default\center_modules\customer_greeting.php

Reported by: Volker Strähle Owned by: somebody
Priority: normal Milestone: modified-shop-2.0.7.0
Component: Shop Version: trunk
Keywords: Cc:
Blocked By: Blocking:

Description

Das Array $shop_content_data muss ebenfalls aktualisiert werden, andererseites können andere Variablen (z. B. {$webald_content} nicht genutzt werden, da immer wieder auf das gleiche, ursprüngliche Array zurückgegriffen wird.

require_once (DIR_FS_INC.'xtc_customer_greeting.inc.php');

$shop_content_data['content_text'] = str_replace('{$greeting}', xtc_customer_greeting(), $shop_content_data['content_text']);
$default_smarty->assign('text', $shop_content_data['content_text']);
//$default_smarty->assign('text', str_replace('{$greeting}', xtc_customer_greeting(), $shop_content_data['content_text']));

Attachments (0)

Change History (1)

comment:1 by Gerhard Waldemair, 4 years ago

Resolution: fixed
Status: newclosed

In 13720:

fix #2094 - fix array assign $shop_content_data for auto_include

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.