Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated the readme in order to reflect a requirement: be directly und…
…er body
- Loading branch information
Showing
1 changed file
with
32 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,33 @@ | ||
# Block User Agent # | ||
|
||
Version: 1.0 | ||
|
||
## ## | ||
|
||
XSL template and regexp combined to help fight old browsers. | ||
|
||
### REQUIREMENTS ### | ||
|
||
- Symphony CMS version 2.2 and up (as of the day of the last release of this extension) | ||
|
||
### INSTALLATION ### | ||
|
||
|
||
- Unzip the block_user_agent.zip file | ||
- (re)Name the folder **block_user_agent** | ||
- Put into the extension directory | ||
- Enable/install just like any other extension | ||
- Go to the *Preferences* page to customize the regular expression | ||
- Include the xsl file located in extensions/block_user_agent/utilities | ||
- `<xsl:import href="../../extensions/block_user_agent/utilities/block_user_agent.xsl" />` | ||
- Call the block-user-agent template. Parameters are optional | ||
- `<xsl:call-template name="block-user-agent" />` | ||
|
||
*Voila !* | ||
|
||
http://www.deuxhuithuit.com | ||
|
||
### History ### | ||
|
||
- 1.0 - 2012-08-29 | ||
# Block User Agent # | ||
|
||
Version: 1.0 | ||
|
||
## ## | ||
|
||
XSL template and regexp combined to help fight old browsers. | ||
|
||
### REQUIREMENTS ### | ||
|
||
- Symphony CMS version 2.2 and up (as of the day of the last release of this extension) | ||
|
||
### INSTALLATION ### | ||
|
||
|
||
- Unzip the block_user_agent.zip file | ||
- (re)Name the folder **block_user_agent** | ||
- Put into the extension directory | ||
- Enable/install just like any other extension | ||
- Go to the *Preferences* page to customize the regular expression | ||
- Include the xsl file located in extensions/block_user_agent/utilities | ||
- `<xsl:import href="../../extensions/block_user_agent/utilities/block_user_agent.xsl" />` | ||
- You must call the block-user-agent template directly under the `<body>` tag. Parameters are optional | ||
- `<xsl:call-template name="block-user-agent" />` | ||
|
||
*Voila !* | ||
|
||
http://www.deuxhuithuit.com | ||
|
||
### History ### | ||
|
||
- 1.0 - 2012-08-29 | ||
First release: Param value and XSL template |