You are here

tokens.html in Classified Ads 6.3

Same filename and directory in other branches
  1. 7.3 help/tokens.html

File

help/tokens.html
View source
<div class="classified-help">
  <p>Classified Ads exposes two tokens, based on a user object:</p>
  
  <ul>
    <li><code>ads</code>: a plain text list of Classified Ads by 
      the user (max 10). Best for email notifications and Drush commands.</li>
    <li><code>classified-ads-url</code>: the URL of a user's ads list. Can be used
      to point to their page on the site, from another page or a notification
      email. 
    </ul>
    
  <p>The optional <code>classified_notifications</code> module uses these tokens, 
    and its code in function <code>classified_notifications_mail()</code> 
    can be used as an example of how to use them, as default notification 
    messages include such tokens along with core tokens. These default messages
    are defined in file <code>classified_utils.inc</code>, function 
    <code>_classified_get_vars()</code>.</p>    
  </div>