Downloads » Resources » PHx

PHx

  • Currently 4.8421052631579/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Votes: 19

PHx 2.1.3

* 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.

Works with MODx Version(s): 0.9.5
Submitted: Jul 13th 2007 | License: GPL - GNU Public | Downloads: 2541

Resource Image 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.

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

Previous Releases

PHx 2.1.2

fix: wordwrap now only wraps words longer than specified length instead of strings

Works with MODx Version(s): 0.9.5
Submitted: Feb 14th 2007 | License: GPL - GNU Public | Downloads: 1407

PHx 2.1.1

Changelog 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

Works with MODx Version(s): 0.9.2.1, 0.9.2
Submitted: Nov 28th 2006 | License: GPL - GNU Public | Downloads: 713
This resource has been deprecated.

PHx 2.0.1

- 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!

Works with MODx Version(s): 0.9.2.1, 0.9.2
Submitted: Nov 18th 2006 | License: GPL - GNU Public | Downloads: 448
This resource has been deprecated.

PHx 2.0

2.0 Final!

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

Works with MODx Version(s): 0.9.2.1, 0.9.2
Submitted: Nov 9th 2006 | License: GPL - GNU Public | Downloads: 513
This resource has been deprecated.

PHx 2.0 Beta Rev 3

- 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.

Works with MODx Version(s): 0.9.2.1, 0.9.2
Submitted: Nov 8th 2006 | License: GPL - GNU Public | Downloads: 401
This resource has been deprecated.

PHx 1.5.0

Fix: 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.

Works with MODx Version(s): 0.9.2.1, 0.9.2
Submitted: Nov 6th 2006 | License: GPL - GNU Public | Downloads: 433
This resource has been deprecated.

PHx 1.4.4

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

Works with MODx Version(s): 0.9.2.1, 0.9.2
Submitted: Oct 29th 2006 | License: GPL - GNU Public | Downloads: 439
This resource has been deprecated.

PHx 1.4.2

- fixed: issue reported with snippet placeholders sometimes disappearing.

Works with MODx Version(s): 0.9.2.1, 0.9.2
Submitted: Oct 24th 2006 | License: GPL - GNU Public | Downloads: 428
This resource has been deprecated.

PHx 1.4.1

by bS

fixed: userinfo to also look for manager id when using [+phx:userinfo=`field`+]

Works with MODx Version(s): 0.9.2.1, 0.9.2
Submitted: Oct 19th 2006 | License: GPL - GNU Public | Downloads: 429
This resource has been deprecated.


Extras

No results found.


( back to top )