Modify

Opened 3 years ago

Closed 3 years ago

#2487 closed Aufgabe (fixed)

Text erlauben in getContentData(), auch wenn ein File eingebunden ist

Reported by: noRiddle Owned by: somebody
Priority: normal Milestone: modified-shop-2.0.8.0
Component: Shop Version: 2.0.7.2
Keywords: Cc:
Blocked By: Blocking:

Description

Wenn ein File in einem Content eingebunden ist und man möchte zusätzlich noch Text aus content_text anzeigen lassen geht dies nicht, weil die Funktion getContentData() aus der main-Klasse $content_data_array['content_text'] unsettet und mit $content_data_array['content_file'] füllt.
Somit kann man in popup_content.php z.B. keine mittels eines eingebundenen Files automatisiert erstellte Tabelle mit den Versandkosten einbinden und zusätzlich ein paar erklärende Worte anzeigen lassen.

Es sollte beides in der Template-Datei ausgegeben werden können, $content_data_array['content_file'] und $content_data_array['content_text'].

Gruß,
noRiddle

Attachments (0)

Change History (1)

comment:1 by Gerhard Waldemair, 3 years ago

Resolution: fixed
Status: newclosed

In 15128:

fix #2487 - add content_body with content_text if content_file is in use

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.