Development

Changeset 9008

You must first sign up to be able to contribute.

Changeset 9008

Show
Ignore:
Timestamp:
05/16/08 14:06:10 (5 months ago)
Author:
OrangeD
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfTextReplacementPlugin/README

    r9007 r9008  
    6464  RewriteCond %{REQUEST_URI} !\.png$ 
    6565  RewriteRule .* - [L] 
     66}}} 
     67Edit your app.yml to register the routes: 
     68{{{ 
     69  sfTextReplacementPlugin: 
     70    routes_register: true 
     71}}} 
     72optionally, you can define your own routes: 
     73{{{ 
     74sfTextReplacementImageSelector: 
     75  url: /textReplacement/:selector/:text.png 
     76  params: {module: sfTextReplacement, action: index} 
     77   
     78sfTextReplacementImage: 
     79  url: /textReplacement/:text.png 
     80  params: {module: sfTextReplacement, action: index} 
     81   
     82#Base Route - is needed to provide the base URL to the JavaScript. Whenever you change the routes above, change this one as well   
     83sfTextReplacementImageSelector: 
     84  url: /textReplacement/ 
     85  params: {module: sfTextReplacement, action: index}  
    6686}}} 
    6787Clear the symfony cache: