J!Extensions Store™
Forum
Welcome, Guest
Please Login to access forum.
Re:notifications (1 viewing) 
Go to bottom
TOPIC: Re:notifications
#4774
John Dagelmore
Admin
Posts: 3555
User Offline
Re:notifications 4 Years, 2 Months ago Karma: 75  
The parsing of placeholders is done in the file root\administrator\components\com_instantpaypal\framework\emails.php

in the section:

Code:

// PARSE THE EMAIL CONTENT $content = "<!DOCTYPE HTML><html><head><meta http-equiv='content-type' content='text/html' />{$css}</head><body>" . $content . "</body></html>"; $content = str_ireplace ( '{user_name}', $sale->user->name, $content ); $content = str_ireplace ( '{user_email}', $sale->user->email, $content ); $content = str_ireplace ( '{user_address}', $sale->user->bill_address . ' ' . $sale->user->bill_address2 . ' ' ....
To add new placeholder in the right side of the backend the file to edit is the view template file: root\administrator\components\com_instantpaypal\views\emails\tmpl\default_edit.php
 
Logged Logged  
  The administrator has disabled public write access.
      Topics Author Date
    emo
notifications
u-tech Laptop Repairs 2016/04/12 12:49
    thread link
thread linkthread link Re:notifications
John Dagelmore 2016/04/12 12:53
    thread link
thread linkthread linkthread link Re:notifications
u-tech Laptop Repairs 2016/04/12 13:09
    thread link
thread linkthread linkthread linkthread link Re:notifications
John Dagelmore 2016/04/12 13:13
Go to top