Plugin Directory

Changeset 160148


Ignore:
Timestamp:
10/03/2009 08:58:01 AM (16 years ago)
Author:
teamplaylotto
Message:

updated readme

File:
1 edited

Legend:

Unmodified
Added
Removed
  • twitterlink-comments/trunk/readme.txt

    r160145 r160148  
    6161== Configuration ==
    6262
    63 * Add twitter field automatically -> Choose NO if you wish to add the field to your comments.php template yourself. (use name="atf_twitter_id")
     63* Add twitter field automatically -> Choose NO if you wish to add the field to your comments.php template yourself. (use `name="atf_twitter_id"`)
    6464
    6565* CSS classes -> The name of the class to use for the DIV and INPUT. Only alphanumeric and hyphen characters allowed
     
    7171* Link Format -> You can configure how the link is shown here. [username] will be replaced by the Twitter username of the user. Choose to open the link in a new window and if the link uses nofollow or not
    7272
    73 * Link Format -> manual : Use this if you want to control the position and format of the follow link. use `if($comment->twitlinkid){ // some code that uses $comment->twitlinkid }` example : `$twitterusername = $comment->twitlinkid; echo '<a href="http://twitter.com/'.$twitterusername.'">@'.$twitterusername.'</a>';`
     73* Link Format -> manual : Use this if you want to control the position and format of the follow link. use
     74`if($comment->twitlinkid){ // some code that uses $comment->twitlinkid }`
     75example :
     76`$twitterusername = $comment->twitlinkid;
     77echo '<a href="http://twitter.com/'.$twitterusername.'">@'.$twitterusername.'</a>';`
Note: See TracChangeset for help on using the changeset viewer.