Home  Extras  MODx Add-Ons  PHx

PHx



featured audited
Forums Support Thread Votes: 54
Tags: Style, plugin, editing, template, filter
Submitted: Jul 13, 2007
Released: May 19, 2009
Downloads: 5254
License: GPL - GNU Public
Package Website


PHx 2.1.3 | Author: bS

Works with the following Version(s): 0.9.5

PHx (Placeholders Xtended) will add the capability of output modifiers when using placeholders, template variables and settings tags. The recursive parser allows for nested tags. Custom modifiers can be added by creating "mini-snippets" in the MODx resource manager.


Download


Description

PHx (Placeholders Xtended) extends the use of placeholders, template variables and settings tags so you can easily format how the final output should look like. When enabled it plugs into the MODx parser, extends it's functionality and as a bonus makes it truly recursive. PHx will also eliminate the need for lesser parameter snippets where you'd use them to format a value for display. Great for templating!

Transforming a value is is as easy as adding :modifier.

Read the full documentation available on
http://wiki.modxcms.com/index.php/PHx

Instructions

Installation

New Install:

1) Download and extract the archive.
2) Create a directory called "phx" in your MODx Directory/assets/plugins directory
3) FTP or copy the files into MODx Directory/assets/plugins/phx
4) Create a new plugin in the manager called "PHx" and copy/paste the contents of phx.plugin.txt into the code field.
5) Check "OnParseDocument" at the System Events tab

Update:

1) Download and extract the archive.
2) Backup and delete the contents of MODx Directory/assets/snippets/phx
3) Create a directory called "phx" in your MODx Directory/assets/plugins directory
4) FTP or copy the files into MODx Directory/assets/plugins/phx
5) Update the "PHx" plugin in the manager and copy/paste the contents of phx.plugin.txt into the code field.
6) Check "OnParseDocument" at the System Events tab

Configuration (optional)
On the Configuration tab -> Plugin configuration enter: &phxdebug=Log events;int;0 &phxmaxpass=Max. Passes;int;50

Read the full documentation available on
http://wiki.modxcms.com/index.php/PHx
Updates* Modifiers can now be imported from files, as well as snippets. Place files within the PHx directory (in the "modifiers" folder). The file name should match the name of the modifier. Modifier code placed in a snippet with the same name will take priority over file-based codes, so it can be overriden on a site-by-site basis.




Sub-Packages



Previous Releases


2.1.2

Forums Support Thread Votes: 32
Tags: Style, plugin, editing, template, filter
Submitted: Feb 14, 2007
Released: Feb 14, 2007
Downloads: 1669
License: GPL - GNU Public
Package Website


PHx 2.1.2 | Author: bS

Works with the following Version(s): 0.9.5

PHx (Placeholders Xtended) will add the capability of output modifiers when using placeholders, template variables and settings tags. The recursive parser allows for nested tags. Custom modifiers can be added by creating "mini-snippets" in the MODx resource manager.


Download


Description

PHx (Placeholders Xtended) extends the use of placeholders, template variables and settings tags so you can easily format how the final output should look like. When enabled it plugs into the MODx parser, extends it's functionality and as a bonus makes it truly recursive. PHx will also eliminate the need for lesser parameter snippets where you'd use them to format a value for display. Great for templating!

Transforming a value is is as easy as adding :modifier.

Read the full documentation available on
http://wiki.modxcms.com/index.php/PHx

Instructions

Installation

New Install:

1) Download and extract the archive.
2) Create a directory called "phx" in your MODx Directory/assets/plugins directory
3) FTP or copy the files into MODx Directory/assets/plugins/phx
4) Create a new plugin in the manager called "PHx" and copy/paste the contents of phx.plugin.txt into the code field.
5) Check "OnParseDocument" at the System Events tab

Update:

1) Download and extract the archive.
2) Backup and delete the contents of MODx Directory/assets/snippets/phx
3) Create a directory called "phx" in your MODx Directory/assets/plugins directory
4) FTP or copy the files into MODx Directory/assets/plugins/phx
5) Update the "PHx" plugin in the manager and copy/paste the contents of phx.plugin.txt into the code field.
6) Check "OnParseDocument" at the System Events tab

Configuration (optional)
On the Configuration tab -> Plugin configuration enter: &phxdebug=Log events;int;0 &phxmaxpass=Max. Passes;int;50

Read the full documentation available on
http://wiki.modxcms.com/index.php/PHx
Updatesfix: wordwrap now only wraps words longer than specified length instead of strings



2.1.1

Forums Support Thread Votes: 32
Tags: Style, plugin, editing, template, filter
Submitted: Nov 28, 2006
Released: Nov 28, 2006
Downloads: 849
License: GPL - GNU Public
Package Website


PHx 2.1.1 | Author: bS

Works with the following Version(s): 0.9.2 | 0.9.2.1

This version has been marked as deprecated. Please use a newer version.

PHx (Placeholders Xtended) will add the capability of output modifiers when using placeholders, template variables and settings tags. The recursive parser allows for nested tags. Custom modifiers can be added by creating "mini-snippets" in the MODx resource manager.


Download


Description

PHx (Placeholders Xtended) extends the use of placeholders, template variables and settings tags so you can easily format how the final output should look like. When enabled it plugs into the MODx parser, extends it's functionality and as a bonus makes it truly recursive. PHx will also eliminate the need for lesser parameter snippets where you'd use them to format a value for display. Great for templating!

Transforming a value is is as easy as adding :modifier.

Read the full documentation available on
http://wiki.modxcms.com/index.php/PHx

Instructions

Installation

New Install:

1) Download and extract the archive.
2) Create a directory called "phx" in your MODx Directory/assets/plugins directory
3) FTP or copy the files into MODx Directory/assets/plugins/phx
4) Create a new plugin in the manager called "PHx" and copy/paste the contents of phx.plugin.txt into the code field.
5) Check "OnParseDocument" at the System Events tab

Update:

1) Download and extract the archive.
2) Backup and delete the contents of MODx Directory/assets/snippets/phx
3) Create a directory called "phx" in your MODx Directory/assets/plugins directory
4) FTP or copy the files into MODx Directory/assets/plugins/phx
5) Update the "PHx" plugin in the manager and copy/paste the contents of phx.plugin.txt into the code field.
6) Check "OnParseDocument" at the System Events tab

Configuration (optional)
On the Configuration tab -> Plugin configuration enter: &phxdebug=Log events;int;0 &phxmaxpass=Max. Passes;int;50

Read the full documentation available on
http://wiki.modxcms.com/index.php/PHx
UpdatesChangelog 2.1.1:

- fix: uncached snippet behaviour

Changelog 2.1.0:
increase overall performance by adding cache to modifiers that are used multiple times:

- added: caching for custom modifiers
- added: role caching
- added: userinfo caching



2.0.1

Forums Support Thread Votes: 32
Tags: Style, plugin, editing, template, filter
Submitted: Nov 18, 2006
Released: Nov 18, 2006
Downloads: 582
License: GPL - GNU Public
Package Website


PHx 2.0.1 | Author: bS

Works with the following Version(s): 0.9.2 | 0.9.2.1

This version has been marked as deprecated. Please use a newer version.

PHx (Placeholders Xtended) will add the capability of output modifiers when using placeholders, template variables and settings tags. The recursive parser allows for nested tags. Custom modifiers can be added by creating "mini-snippets" in the MODx resource manager.


Download


Description

PHx (Placeholders Xtended) extends the use of placeholders, template variables and settings tags so you can easily format how the final output should look like. When enabled it plugs into the MODx parser, extends it's functionality and as a bonus makes it truly recursive. PHx will also eliminate the need for lesser parameter snippets where you'd use them to format a value for display. Great for templating!

Transforming a value is is as easy as adding :modifier.

Read the full documentation available on
http://wiki.modxcms.com/index.php/PHx

Instructions

Installation

New Install:

1) Download and extract the archive.
2) Create a directory called "phx" in your MODx Directory/assets/plugins directory
3) FTP or copy the files into MODx Directory/assets/plugins/phx
4) Create a new plugin in the manager called "PHx" and copy/paste the contents of phx.plugin.txt into the code field.
5) Check "OnParseDocument" at the System Events tab

Update:

1) Download and extract the archive.
2) Backup and delete the contents of MODx Directory/assets/snippets/phx
3) Create a directory called "phx" in your MODx Directory/assets/plugins directory
4) FTP or copy the files into MODx Directory/assets/plugins/phx
5) Update the "PHx" plugin in the manager and copy/paste the contents of phx.plugin.txt into the code field.
6) Check "OnParseDocument" at the System Events tab

Configuration (optional)
On the Configuration tab -> Plugin configuration enter: &phxdebug=Log events;int;0 &phxmaxpass=Max. Passes;int;50

Read the full documentation available on
http://wiki.modxcms.com/index.php/PHx
Updates- added: source template is now displayed in event log.
- added: event id in event log now resembles the number of passes.
- fixed: nesting issue with unset placeholders

The PHx wiki documentation is also updated!



2.0 Beta Rev 3

Forums Support Thread Votes: 32
Tags: Style, plugin, editing, template, filter
Submitted: Nov 8, 2006
Released: Nov 8, 2006
Downloads: 538
License: GPL - GNU Public
Package Website


PHx 2.0 Beta Rev 3 | Author: bS

Works with the following Version(s): 0.9.2 | 0.9.2.1

This version has been marked as deprecated. Please use a newer version.

PHx (Placeholders Xtended) will add the capability of output modifiers when using placeholders, template variables and settings tags. The recursive parser allows for nested tags. Custom modifiers can be added by creating "mini-snippets" in the MODx resource manager.


Download


Description

PHx (Placeholders Xtended) extends the use of placeholders, template variables and settings tags so you can easily format how the final output should look like. When enabled it plugs into the MODx parser, extends it's functionality and as a bonus makes it truly recursive. PHx will also eliminate the need for lesser parameter snippets where you'd use them to format a value for display. Great for templating!

Transforming a value is is as easy as adding :modifier.

Read the full documentation available on
http://wiki.modxcms.com/index.php/PHx

Instructions

Installation

New Install:

1) Download and extract the archive.
2) Create a directory called "phx" in your MODx Directory/assets/plugins directory
3) FTP or copy the files into MODx Directory/assets/plugins/phx
4) Create a new plugin in the manager called "PHx" and copy/paste the contents of phx.plugin.txt into the code field.
5) Check "OnParseDocument" at the System Events tab

Update:

1) Download and extract the archive.
2) Backup and delete the contents of MODx Directory/assets/snippets/phx
3) Create a directory called "phx" in your MODx Directory/assets/plugins directory
4) FTP or copy the files into MODx Directory/assets/plugins/phx
5) Update the "PHx" plugin in the manager and copy/paste the contents of phx.plugin.txt into the code field.
6) Check "OnParseDocument" at the System Events tab

Configuration
On the Configuration tab -> Plugin configuration enter: &phxdebug=Log events;int;0 &phxmaxpass=Max. Passes;int;50Don't forget this or your modifiers won't work



Read the full documentation available on
http://wiki.modxcms.com/index.php/PHx



Updates- added: "htmlent" modifier
- added: event logger
- added: plugin configuration string
- Improved infinite loop protection
- Improved MODx tag detection

Please look at the updated installation instructions and don't forget to update the plugin code in the manager, wiki will be updated asap.



2.0

Forums Support Thread Votes: 32
Tags: Style, plugin, editing, template, filter
Submitted: Nov 9, 2006
Released: Nov 9, 2006
Downloads: 654
License: GPL - GNU Public
Package Website


PHx 2.0 | Author: bS

Works with the following Version(s): 0.9.2 | 0.9.2.1

This version has been marked as deprecated. Please use a newer version.

PHx (Placeholders Xtended) will add the capability of output modifiers when using placeholders, template variables and settings tags. The recursive parser allows for nested tags. Custom modifiers can be added by creating "mini-snippets" in the MODx resource manager.


Download


Description

PHx (Placeholders Xtended) extends the use of placeholders, template variables and settings tags so you can easily format how the final output should look like. When enabled it plugs into the MODx parser, extends it's functionality and as a bonus makes it truly recursive. PHx will also eliminate the need for lesser parameter snippets where you'd use them to format a value for display. Great for templating!

Transforming a value is is as easy as adding :modifier.

Read the full documentation available on
http://wiki.modxcms.com/index.php/PHx

Instructions

Installation

New Install:

1) Download and extract the archive.
2) Create a directory called "phx" in your MODx Directory/assets/plugins directory
3) FTP or copy the files into MODx Directory/assets/plugins/phx
4) Create a new plugin in the manager called "PHx" and copy/paste the contents of phx.plugin.txt into the code field.
5) Check "OnParseDocument" at the System Events tab

Update:

1) Download and extract the archive.
2) Backup and delete the contents of MODx Directory/assets/snippets/phx
3) Create a directory called "phx" in your MODx Directory/assets/plugins directory
4) FTP or copy the files into MODx Directory/assets/plugins/phx
5) Update the "PHx" plugin in the manager and copy/paste the contents of phx.plugin.txt into the code field.
6) Check "OnParseDocument" at the System Events tab

Configuration (optional)
On the Configuration tab -> Plugin configuration enter: &phxdebug=Log events;int;0 &phxmaxpass=Max. Passes;int;50

Read the full documentation available on
http://wiki.modxcms.com/index.php/PHx
Updates2.0 Final!

- improved tag handling and event logging
- fix: standalone usage by snippets (Jot, Maxigallery)



1.5.0

Forums Support Thread Votes: 32
Tags: Style, plugin, editing, template, filter
Submitted: Nov 6, 2006
Released: Nov 6, 2006
Downloads: 583
License: GPL - GNU Public
Package Website


PHx 1.5.0 | Author: bS

Works with the following Version(s): 0.9.2 | 0.9.2.1

This version has been marked as deprecated. Please use a newer version.

PHx (Placeholders Xtended) will add the capability of output modifiers when using placeholders, template variables and settings tags. The recursive parser allows for nested tags. Custom modifiers can be added by creating "mini-snippets" in the MODx resource manager.


Download


Description

PHx (Placeholders Xtended) extends the use of placeholders, template variables and settings tags so you can easily format how the final output should look like. When enabled it plugs into the MODx parser, extends it's functionality and as a bonus makes it truly recursive. PHx will also eliminate the need for lesser parameter snippets where you'd use them to format a value for display. Great for templating!

Transforming a value is is as easy as adding :modifier.

Read the full documentation available on
http://wiki.modxcms.com/index.php/PHx

Instructions

Installation

1) Download and extract the archive.
2) Create a directory called "phx" in your MODx Directory/assets/plugins directory
3) FTP or copy the files into MODx Directory/assets/plugins/phx
4) Create a new plugin in the manager called "PHx" and copy/paste the contents of phx.plugin.txt into the code field.
5) Check "OnParseDocument" at the System Events tab

Read the full documentation available on
http://wiki.modxcms.com/index.php/PHx



UpdatesFix: issues with dynamic snippet values and the related nested values bug mentioned in the support topics (including the ditto navigation/phx issue)

Updating is highly recommended.



1.4.4

Forums Support Thread Votes: 31
Tags: Style, plugin, editing, template, filter
Submitted: Oct 29, 2006
Released: Oct 29, 2006
Downloads: 600
License: GPL - GNU Public
Package Website


PHx 1.4.4 | Author: bS

Works with the following Version(s): 0.9.2 | 0.9.2.1

This version has been marked as deprecated. Please use a newer version.

PHx (Placeholders Xtended) will add the capability of output modifiers when using placeholders, template variables and settings tags. The recursive parser allows for nested tags. Custom modifiers can be added by creating "mini-snippets" in the MODx resource manager.


Download


Description

PHx (Placeholders Xtended) extends the use of placeholders, template variables and settings tags so you can easily format how the final output should look like. When enabled it plugs into the MODx parser, extends it's functionality and as a bonus makes it truly recursive. PHx will also eliminate the need for lesser parameter snippets where you'd use them to format a value for display. Great for templating!

Transforming a value is is as easy as adding :modifier.

Read the full documentation available on
http://wiki.modxcms.com/index.php/PHx

Instructions

Installation

1) Download and extract the archive.
2) Create a directory called "phx" in your MODx Directory/assets/plugins directory
3) FTP or copy the files into MODx Directory/assets/plugins/phx
4) Create a new plugin in the manager called "PHx" and copy/paste the contents of phx.plugin.txt into the code field.
5) Check "OnParseDocument" at the System Events tab

Read the full documentation available on
http://wiki.modxcms.com/index.php/PHx



Updates- fixed: string modifiers
- added: conditional 'show' modifier
- code cleanup



1.4.2

Forums Support Thread Votes: 31
Tags: Style, plugin, editing, template, filter
Submitted: Oct 24, 2006
Released: Oct 24, 2006
Downloads: 569
License: GPL - GNU Public
Package Website


PHx 1.4.2 | Author: bS

Works with the following Version(s): 0.9.2 | 0.9.2.1

This version has been marked as deprecated. Please use a newer version.

PHx (Placeholders Xtended) will add the capability of output modifiers when using placeholders, template variables and settings tags. The recursive parser allows for nested tags. Custom modifiers can be added by creating "mini-snippets" in the MODx resource manager.


Download


Description

PHx (Placeholders Xtended) extends the use of placeholders, template variables and settings tags so you can easily format how the final output should look like. When enabled it plugs into the MODx parser, extends it's functionality and as a bonus makes it truly recursive. PHx will also eliminate the need for lesser parameter snippets where you'd use them to format a value for display. Great for templating!

Transforming a value is is as easy as adding :modifier.

Read the full documentation available on
http://wiki.modxcms.com/index.php/PHx

Instructions

Installation

1) Download and extract the archive.
2) Create a directory called "phx" in your MODx Directory/assets/plugins directory
3) FTP or copy the files into MODx Directory/assets/plugins/phx
4) Create a new plugin in the manager called "PHx" and copy/paste the contents of phx.plugin.txt into the code field.
5) Check "OnParseDocument" at the System Events tab

Read the full documentation available on
http://wiki.modxcms.com/index.php/PHx



Updates- fixed: issue reported with snippet placeholders sometimes disappearing.



1.4.1

Forums Support Thread Votes: 31
Tags: Style, plugin, editing, template, filter
Submitted: Oct 19, 2006
Released: Oct 19, 2006
Downloads: 579
License: GPL - GNU Public


PHx 1.4.1 | Author: bS

Works with the following Version(s): 0.9.2 | 0.9.2.1

This version has been marked as deprecated. Please use a newer version.

PHx (Placeholders Xtended) will add the capability of output modifiers when using placeholders, template variables and settings tags. It also supports nested tags.


Download


Description

PHx (Placeholders Xtended) extends the use of placeholders, template variables and settings tags so you can easily format how the final output should look like. When enabled it plugs into the MODx parser, extends it's functionality and as a bonus makes it truly recursive. PHx will also eliminate the need for lesser parameter snippets where you'd use them to format a value for display. Great for templating!

Transforming a value is is as easy as adding :modifier.

Read the full documentation available on
http://wiki.modxcms.com/index.php/PHx

Instructions

Installation

1) Download and extract the archive.
2) Create a directory called "phx" in your MODx Directory/assets/plugins directory
3) FTP or copy the files into MODx Directory/assets/plugins/phx
4) Create a new plugin in the manager called "PHx" and copy/paste the contents of phx.plugin.txt into the code field.
5) Check "OnParseDocument" at the System Events tab
Updatesfixed: userinfo to also look for manager id when using +phx:userinfo=`field`+



1.4

Forums Support Thread Votes: 31
Tags: Style, plugin, editing, template, filter
Submitted: Oct 15, 2006
Released: Oct 15, 2006
Downloads: 256
License: GPL - GNU Public


PHx 1.4 | Author: bS

Works with the following Version(s): 0.9.2 | 0.9.2.1

This version has been marked as deprecated. Please use a newer version.

PHx (Placeholders Xtended) will add the capability of output modifiers when using placeholders, template variables and settings tags. It also supports nested tags.


Download


Description

PHx (Placeholders Xtended) extends the use of placeholders, template variables and settings tags so you can easily format how the final output should look like. When enabled it plugs into the MODx parser, extends it's functionality and as a bonus makes it truly recursive. PHx will also eliminate the need for lesser parameter snippets where you'd use them to format a value for display. Great for templating!

Transforming a value is is as easy as adding :modifier.

Read the full documentation available on
http://wiki.modxcms.com/index.php/PHx

Instructions

Installation

1) Download and extract the archive.
2) Create a directory called "phx" in your MODx Directory/assets/plugins directory
3) FTP or copy the files into MODx Directory/assets/plugins/phx
4) Create a new plugin in the manager called "PHx" and copy/paste the contents of phx.plugin.txt into the code field.
5) Check "OnParseDocument" at the System Events tab
Updates- introducing custom modifiers!
- fix: TV's not displaying properly



1.3.1

Forums Support Thread Votes: 31
Tags: Style, plugin, editing, template, filter
Submitted: Oct 6, 2006
Released: Oct 6, 2006
Downloads: 175
License: GPL - GNU Public


PHx 1.3.1 | Author: bS

Works with the following Version(s): 0.9.2 | 0.9.2.1

This version has been marked as deprecated. Please use a newer version.

PHx (Placeholders Xtended) will add the capability of output modifiers when using placeholders, template variables and settings tags. It also supports nested tags.


Download


Description

PHx (Placeholders Xtended) extends the use of placeholders, template variables and settings tags so you can easily format how the final output should look like. When enabled it plugs into the MODx parser, extends it's functionality and as a bonus makes it truly recursive. PHx will also eliminate the need for lesser parameter snippets where you'd use them to format a value for display. Great for templating!

Transforming a value is is as easy as adding :modifier.

Read the full documentation available on
http://wiki.modxcms.com/index.php/PHx

Instructions

Installation

1) Download and extract the archive.
2) Create a directory called "phx" in your MODx Directory/assets/plugins directory
3) FTP or copy the files into MODx Directory/assets/plugins/phx
4) Create a new plugin in the manager called "PHx" and copy/paste the contents of phx.plugin.txt into the code field.
5) Check "OnParseDocument" at the System Events tab
Updates- fix: '' and '' characters (when not part of a special tag) will no longer break conditionals.



1.3.0

Forums Support Thread Votes: 31
Tags: Style, plugin, editing, template, filter
Submitted: Oct 5, 2006
Released: Oct 5, 2006
Downloads: 131
License: GPL - GNU Public


PHx 1.3.0 | Author: bS

Works with the following Version(s): 0.9.2 | 0.9.2.1

This version has been marked as deprecated. Please use a newer version.

PHx (Placeholders Xtended) will add the capability of output modifiers when using placeholders, template variables and settings tags. It also supports nested tags.


Download


Description

PHx (Placeholders Xtended) extends the use of placeholders, template variables and settings tags so you can easily format how the final output should look like. When enabled it plugs into the MODx parser, extends it's functionality and as a bonus makes it truly recursive. PHx will also eliminate the need for lesser parameter snippets where you'd use them to format a value for display. Great for templating!

Transforming a value is is as easy as adding :modifier.

Read the full documentation available on
http://wiki.modxcms.com/index.php/PHx

Instructions

Installation

1) Download and extract the archive.
2) Create a directory called "phx" in your MODx Directory/assets/plugins directory
3) FTP or copy the files into MODx Directory/assets/plugins/phx
4) Create a new plugin in the manager called "PHx" and copy/paste the contents of phx.plugin.txt into the code field.
5) Check "OnParseDocument" at the System Events tab
Updates- added: condional templating!
- added: several string modifiers
- added: internal placeholders
- added: 'inrole' modifier
- changed: 'userinfo' modifier, defaults to current user.

the extra modifiers will get updated in this doc asap



1.2

Forums Support Thread Votes: 31
Tags: Style, plugin, editing, template, filter
Submitted: Oct 2, 2006
Released: Oct 2, 2006
Downloads: 110
License: GPL - GNU Public


PHx 1.2 | Author: bS

Works with the following Version(s): 0.9.2 | 0.9.2.1

This version has been marked as deprecated. Please use a newer version.

PHx (Placeholders Xtended) will add the capability of output modifiers when using placeholders, template variables and settings tags. It also supports nested tags.


Download


Description

PHx (Placeholders Xtended) extends the use of placeholders, template variables and settings tags so you can easily format how the final output should look like. When enabled it plugs into the MODx parser, extends it's functionality and as a bonus makes it truly recursive. PHx will also eliminate the need for lesser parameter snippets where you'd use them to format a value for display. Great for templating!

Transforming a value is is as easy as adding :modifier.

Read the full documentation available on
http://wiki.modxcms.com/index.php/PHx

Instructions

Installation

1) Download and extract the archive.
2) Create a directory called "phx" in your MODx Directory/assets/plugins directory
3) FTP or copy the files into MODx Directory/assets/plugins/phx
4) Create a new plugin in the manager called "PHx" and copy/paste the contents of phx.plugin.txt into the code field.
5) Check "OnParseDocument" at the System Events tab
Updatesadded modifier 'map':

  • map=`value1=output1&value2=output2`
    Translates the value of placeholder/templatevar to a specified output.

    Example:
    +placeholder+ = 1
    +placeholder:map=`0=OFF,1=ON,2=UNKNOWN`+ = ON

    +placeholder+ = 2
    +placeholder:map=`0=OFF,1=ON,2=UNKNOWN`+ = UNKNOWN



  • fixed: parser infinite loop protection



    1.1

    Forums Support Thread Votes: 31
    Tags: Style, plugin, editing, template, filter
    Submitted: Sep 29, 2006
    Released: Sep 29, 2006
    Downloads: 139
    License: GPL - GNU Public


    PHx 1.1 | Author: bS

    Works with the following Version(s): 0.9.2 | 0.9.2.1

    This version has been marked as deprecated. Please use a newer version.

    PHx (Placeholders Xtended) will add the capability of output modifiers when using placeholders, template variables and settings tags. It also supports nested tags.


    Download


    Description

    PHx (Placeholders Xtended) extends the use of placeholders, template variables and settings tags so you can easily format how the final output should look like. When enabled it plugs into the MODx parser, extends it's functionality and as a bonus makes it truly recursive. PHx will also eliminate the need for lesser parameter snippets where you'd use them to format a value for display. Great for templating!

    Transforming a value is is as easy as adding :modifier.

    Read the full documentation available on
    http://wiki.modxcms.com/index.php/PHx

    Instructions

    Installation

    1) Download and extract the archive.
    2) Create a directory called "phx" in your MODx Directory/assets/plugins directory
    3) FTP or copy the files into MODx Directory/assets/plugins/phx
    4) Create a new plugin in the manager called "PHx" and copy/paste the contents of phx.plugin.txt into the code field.
    5) Check "OnParseDocument" at the System Events tab
    Updates* added support for MODx settings tags



    1.0

    Forums Support Thread Votes: 31
    Tags: Style, plugin, editing, template, filter
    Submitted: Sep 28, 2006
    Released: Sep 28, 2006
    Downloads: 93
    License: GPL - GNU Public


    PHx 1.0 | Author: bS

    Works with the following Version(s): 0.9.2 | 0.9.2.1

    This version has been marked as deprecated. Please use a newer version.

    PHx (Placeholders Xtended) will add the capability of output modifiers when using placeholders and template variables. It also supports nested tags.


    Download


    Description

    PHx (Placeholders Xtended) extends the use of placeholders, template variables and settings tags so you can easily format how the final output should look like. When enabled it plugs into the MODx parser, extends it's functionality and as a bonus makes it truly recursive. PHx will also eliminate the need for lesser parameter snippets where you'd use them to format a value for display. Great for templating!

    Transforming a value is is as easy as adding :modifier.

    Read the full documentation available on
    http://wiki.modxcms.com/index.php/PHx

    Instructions

    Installation

    1) Download and extract the archive.
    2) Create a directory called "phx" in your MODx Directory/assets/plugins directory
    3) FTP or copy the files into MODx Directory/assets/plugins/phx
    4) Create a new plugin in the manager called "PHx" and copy/paste the contents of phx.plugin.txt into the code field.
    5) Check "OnParseDocument" at the System Events tab




    Comments

    Please login to comment.

    Close ]


     
     
     

    Contact Us | Team Blog | FAQ | Site Credits

    © 2005-2009 the MODx CMS project. All rights reserved. Privacy Policy | Terms of Service