MODx Community Forums
The MODx Blog
Donations
Feedburner Feeds
Documentation
Bugs & Requests
The Wiki
download MODx
plugins, modules, snippets
online demo
Dec 04, 2008, 12:56 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search via SMF
or Google:
modx forums
all of modxcms.com
web
MODxCMS.com
Forums
Help
Login
Register
News
:Read
Frequently Asked Questions (FAQ)
MODx Community Forums
»
Add-ons, Extensions & Elements
»
Manager, Parser & the Core
»
PHx
»
Support/Comments for PHx
Pages: [
1
]
2
3
...
15
Go Down
« Previous topic
Next topic »
Print
Author
Topic: Support/Comments for PHx (Read 44689 times)
0 Members and 1 Guest are viewing this topic.
bS
Coding Team
Posts: 398
Support/Comments for PHx
«
on:
Sep 28, 2006, 07:40 PM »
PHx (Placeholders Xtended) will add the capability of output modifiers when using placeholders, template variables and settings tags. It also supports nested tags.
*
Latest Version:
http://modxcms.com/PHx-1006.html
*
PHx Demo:
http://projects.zerobarrier.nl/modx/
*
Documentation:
http://wiki.modxcms.com/index.php/PHx
(wiki)
*
Technical Doc:
http://wiki.modxcms.com/index.php/PHx#Technical_Documentation
(explaining how PHx works )
To Do:
- Bringing you more documentation.
- Implementation of more common used filters/modifiers.
Feature Requests:
Use this forum to post any comments about this addition or any questions you have regarding its use.
«
Last Edit: Nov 28, 2006, 06:38 PM by bS
»
Logged
Armand Pondman
MODx Coding Team
::
Jot
::
PHx
Dr. Scotty Delicious
Coding Team
Posts: 1,172
Dr. of Fine Pirate Arts
Re: Support/Comments for PHx
«
Reply #1 on:
Sep 28, 2006, 10:22 PM »
this is a quote from the download page:
Quote
4) Create a new snippet in the manager called "PHx" and copy/paste the contents
Is it supposed to read 4) Create a new plugin.... ?
great software you have been putting out bS (Jot... and now PHx!). you have been a buSy coder lately.
-sD-
Logged
We pillage, we plunder, we rifle and loot. Drink up me 'earties, Yo Ho!
We kidnap and ravage and don't give a hoot. Drink up me 'earties, Yo Ho!
Yo Ho, Yo Ho! A pirate's life for me.
bS
Coding Team
Posts: 398
Re: Support/Comments for PHx
«
Reply #2 on:
Sep 29, 2006, 12:54 AM »
don't ya hate those copy/paste bugs
Logged
Armand Pondman
MODx Coding Team
::
Jot
::
PHx
davidm
Marketing & Design Team
Posts: 6,777
The best way to predict the future is to invent it
Re: Support/Comments for PHx
«
Reply #3 on:
Sep 30, 2006, 11:45 PM »
Waow, now this is really a great addition !
The ifempty and date modifiers will make my life easier
I love the easy syntax to use them too
Logged
.:
nodeo.net
: Pour un web libre, moderne et ouvert ! ::
david-molliere.net
:
Suivez en "live" mes expérimentations et billets sur les CMS et autres applications web
:.
***
Forums modxcms.fr
Participez à l'élaboration du site MODx francophone !
***
! Nouveau !
En live, ne manquez pas les news de modxcms.fr sur Twitter
! Nouveau !
MODx est l'outil idéal pour les developpeurs et webdesigners qui cherchent un framework de gestion de contenu hautement flexible et performant, tout en étant simple d'accès pour les utilisateurs finaux.
Config :
Apache 2.2.8 - MySQL 5.0.45 - PHP 5.2.6 | Debian 4.0 (Etch)
Réalisations sous MODx :
|
pargade-notaires.fr
|
soleil.info
|
gican.asso.fr
|
michelez-notaires.com
|
amadom.gerondicap.com
|
jocelyne-violet.net
zi
MODx Special Forces /
Administrator
Posts: 3,014
May Peace Be On You
Re: Support/Comments for PHx
«
Reply #4 on:
Oct 01, 2006, 05:33 AM »
Wow! Thats great
Thanks for the nice Plugin bS!
best regards.
zi
Logged
Subscribe to
MODx Commercial Support Plans
“Internet Explorer’s CSS rendering: WYSIWTF”. — someone genius
--------------------------------------------------
MODx Docs
MODx Wiki
Bug Tracker
Download Center
Donations
Forum Rules
ziDesigns
ziDesigns Resources
ziworks | Custom/Free MODx Templates
Uncle68
Moderators
Posts: 296
Re: Support/Comments for PHx
«
Reply #5 on:
Oct 01, 2006, 06:09 AM »
Could I use this for formating placeholders in Ditto? I want to remove <br> from articles when using [+summary+] in my template for Ditto. I tried to do it by [+summary:strip+] but it doesn't work.
Maybe I'm totally misunderstanding what to use PHx for, I'm kind of a newbie
I first pasted the Plugin code starting/ending with <?php ?> when creating the PlugIn, that removed my text completely. After looking into the existing plugins I saw that <?php ?> probably shouldn't be there, so I removed it. But now I instead only get an empty page saying "Array".
Btw, install instructions included in file still says create a snippet
Logged
Mark
Coding Team
Posts: 3,247
Ditto Developer
Re: Support/Comments for PHx
«
Reply #6 on:
Oct 01, 2006, 10:54 AM »
No, you can't use PHx with Ditto as it parses its placeholders before sending them to MODx. However, I do plan on incorperating PHx functionality into Ditto in the future.
Logged
Documentation
TRAC (Bugtracker)
Forum
How to get help
User Wiki
Credits
SVN Server
Ditto HQ
Stable Download
Development Download
Uncle68
Moderators
Posts: 296
Re: Support/Comments for PHx
«
Reply #7 on:
Oct 01, 2006, 11:31 AM »
Okej, sounds perfect! PHx is great, and Ditto will be even better when it supports PHx.
I'll find another way to get rid of line feeds in the Ditto summary, I'll try to find anything in the Ditto thread... or maybe that can't be made with Ditto, if so I wait until Ditto works with PHx .
Thanks for the reply
Logged
bS
Coding Team
Posts: 398
Re: Support/Comments for PHx
«
Reply #8 on:
Oct 01, 2006, 03:48 PM »
@Mark, you can include the chunkie.class.inc.php (available in Jot) in Ditto.
Chunkie is an API I created to simplify all the template logic and it uses the PHx parser.
I will release Chunkie with documentation somewhere these days.
«
Last Edit: Oct 01, 2006, 04:45 PM by bS
»
Logged
Armand Pondman
MODx Coding Team
::
Jot
::
PHx
bS
Coding Team
Posts: 398
Re: Support/Comments for PHx
«
Reply #9 on:
Oct 03, 2006, 08:15 PM »
Quick bug fix for version 1.0.2
in
phx.parser.class.inc.php, line 55:
replace:
Code:
$input = $modx->documentObject[$input];
with
Code:
$input = $modx->documentObject[str_replace("#","",$input)];
Logged
Armand Pondman
MODx Coding Team
::
Jot
::
PHx
bS
Coding Team
Posts: 398
Re: Support/Comments for PHx
«
Reply #10 on:
Oct 05, 2006, 02:35 PM »
PHx 1.3.0
is here.
I have added several new modifiers to make templating a lot simpler.
Also i'm introducing a way of conditional templating
Check it out!
I'll try to update the documentation asap in the mean time you can ask your questions here.
Logged
Armand Pondman
MODx Coding Team
::
Jot
::
PHx
Uncle68
Moderators
Posts: 296
Re: Support/Comments for PHx
«
Reply #11 on:
Oct 06, 2006, 03:45 AM »
Quote from: bS on Oct 05, 2006, 02:35 PM
PHx 1.3.0
is here.
Wow, this new version is fantastic. How do we get more people to know about this fantastic snippet? This should definitely be a core snippet, in my opinion it changes the way how to work with MODx and makes lots of things much easier and faster to implement.
Great work! Thank you!
Logged
bS
Coding Team
Posts: 398
Re: Support/Comments for PHx
«
Reply #12 on:
Oct 06, 2006, 07:45 AM »
Quote from: Uncle68 on Oct 06, 2006, 03:45 AM
Quote from: bS on Oct 05, 2006, 02:35 PM
PHx 1.3.0
is here.
Wow, this new version is fantastic. How do we get more people to know about this fantastic snippet? This should definitely be a core snippet, in my opinion it changes the way how to work with MODx and makes lots of things much easier and faster to implement.
MODx itselve will take care of this in the future. untill then you can use plugins such as PHx this to take you there already
Logged
Armand Pondman
MODx Coding Team
::
Jot
::
PHx
bS
Coding Team
Posts: 398
Re: Support/Comments for PHx
«
Reply #13 on:
Oct 09, 2006, 01:38 AM »
PHx 1.3.1
is here.
New demo location:
http://projects.zerobarrier.nl/modx/
.
I will try to add more in-depth documentation and examples on the demo site.
Logged
Armand Pondman
MODx Coding Team
::
Jot
::
PHx
banzai
Testers
Posts: 857
MODx Italia
Re: Support/Comments for PHx
«
Reply #14 on:
Oct 11, 2006, 07:23 AM »
I've just installed the plugin (vers.1.3.1) , but now all TVs in my template displays only "Array"
MODx Beta2 rev1417.
Disabled the Phx plugin everything works.
Logged
MODx Websites Showcase
Add your site to
www.modx.it
!
-----------------------------------------------------
FREE MODx Templates
www.tattoocms.it
-----------------------------------------------------
VIDEO: whats new in MODx 0.9.5
|
VIDEO: MODx PHP Application Framework
|
bubuna.com - Web & Multimedia Design
Pages: [
1
]
2
3
...
15
Go Up
Print
« Previous topic
Next topic »
Jump to:
Please select a destination:
-----------------------------
Announcements
-----------------------------
=> Important News
=> Security Notices
-----------------------------
Commercial Support
-----------------------------
=> [CS] About Commercial Support
-----------------------------
Development & Coding
-----------------------------
=> Commercial Inquiries & Bounties
=> Core Code
===> MODx Next
===> xPDO
=> Module, Plugin & Snippet Creation and Modification
=> In Development
=> Templates
=> Internationalization
===> Bulgarian
===> Chinese
===> Czech
===> Dutch
===> French
===> German
===> Irish
===> Italian
===> Japanese
===> Polish
===> Portuguese
===> Russian
===> Slovak
===> Spanish
===> Swedish
===> Persian - فارسي
-----------------------------
Support
-----------------------------
=> Release Support
===> 0.9.6.2
===> 0.9.6.1
===> 0.9.6
===> 0.9.5 and earlier
=> General Support
===> MODx 101
===> E-Commerce, E-Marketing, Analytics & SEO
===> Hosting Experiences
===> IIS / Windows Hosting Issues
=> Documentation, Tips & Tricks
===> Documentation Suggestions & Corrections
-----------------------------
Add-ons, Extensions & Elements
-----------------------------
=> Module, Plugin & Snippet Usage
=> General Repository Items Support
=> Navigation & Tagging/Taxonomy
===> Wayfinder & DropMenu
=> Creating & Repurposing Content
===> Ditto
===> Jot
===> QuickEdit
=> Users, Authentication & Personalization
===> WebloginPE
===> WebLogin, WebSignup and WebChangePwd
=> Rich Text Editors & File Browser
===> TinyMCE
===> FCKeditor
===> MCPuck File Browser
=> Forms, Form Processing & Anti-Spam
===> eForm
=> Search
===> AjaxSearch
=> E-business
=> Polls, Calendars, Address Book and Community
=> Third-party integrations
=> Images, Videos & Podcasts
===> MaxiGallery
=> Manager, Parser & the Core
===> Backup & Versioning
===> Doc Finder
===> ManagerManager
===> PHx
=> Templates
-----------------------------
General Discussions
-----------------------------
=> General MODx Discussions
=> Web Design and Development
=> Wishlist
=> You and Your Sites
=> modxcms.com Discussions and Suggestions
=> Off-topic
-----------------------------
Czech Community
-----------------------------
=> Oznámení
===> Důležitá oznámení/novinky
===> Bezpečnost
=> Podpora
===> FAQ (často kladené otázky)
===> Instalace
===> Moduly, pluginy, "snippets & code" (šablony zdrojových kódů)
===> Design & Šablony
=> Dokumentace, tutoriály (návody) a překlady
===> Dokumentace
===> Tutoriály (návody)
===> Překlady (lokalizace)
=> Komunita
===> Oznámení
===> Představte se, prosím
===> Ukázky práce
===> Různé aneb cokoli co se jinam nehodí
-----------------------------
Bulgarian Community
-----------------------------
=> Поддръжка
===> Често задавани въпроси
===> Инсталация
===> Модули, Плъгини, Снипети и код
===> Дизайн и Шаблони
=> Документация, Ръководства и Превод
===> Документация
===> Ръководства
===> Превод
=> Общество
===> Съобщения
===> Представете се
===> Представете сайта си
===> Дискусии извън MODx
-----------------------------
Dutch Community
-----------------------------
=> Ondersteuning
===> Veel gestelde vragen
===> Modules, Plugins, Snippets & Code
===> Design & Templates
=> Documentatie, Tutorials en Vertalingen
===> Documentatie
===> Tutorials
===> Vertalingen
=> Community
===> Aankondigingen
===> Stel jezelf voor
===> Site Showcase
===> De stamkroeg
-----------------------------
Finnish Community
-----------------------------
=> Tuki
===> UKK
===> Asennus
===> Moduulit, liitännäiset, koodinpätkät
===> Ulkoasu/Sivustopohjat
=> Dokumentaatio, oppaat ja käännökset
===> Dokumentaatio
===> Käännökset
===> Oppaat
=> Yhteisö
===> Tiedotteet
===> Esittele itsesi
===> MODx sivustosi
===> Kahvihuone
-----------------------------
Filipino Community
-----------------------------
=> Suporta
===> Kadalasang tanong
===> Instalasyon
===> Moduler, Maidadagdag, Karagdagang mga Code
===> Desenyo at Templates
=> Dokumentasyon, Mga Turo, Mga Salin
===> Dokumentasyon
===> Mga Turo
===> Mga Salin
=> Kumunidad
===> Anunsyo
===> Ipakilala ang sarili
===> Ang Galing ng pinoy
===> Tsismisan atbp
-----------------------------
French Community
-----------------------------
=> Support
===> FAQ
===> Installation
===> Module, plugin, snippets
===> Design/Templates
=> Documentation, Tutoriels et Traductions
===> Documentation
===> Traduction
===> Tutoriels
=> Communauté
===> Annonces
===> Présentez vous
===> Vos sites
===> Le Bistrot Français
-----------------------------
German Community
-----------------------------
=> Support (de)
===> FAQ (de)
===> Installation (de)
===> Module, Plugins, Snippets & Code (de)
===> Design & Templates (de)
=> Dokumentation, Tutorials und Übersetzung
===> Dokumentation
===> Tutorials (de)
===> Übersetzung
=> Community (de)
===> Ankündigungen
===> Stellt Euch vor
===> Beispielseiten
===> Off Topic / Verschiedenes
-----------------------------
Irish Community
-----------------------------
=> Tacaíocht
===> CC Ceisteanna Coitianta
===> Breiseáin (cláir bhreise), Snippets & Comhaid
===> Suiteáil
===> Dearadh & Teimpléid
=> Doiciméid, Teagascóireacht agus Aistriúchán
===> Doiciméadú
===> Teagascóireacht
===> Aistriúchán
=> Pobal
===> Fógraí
===> Cuir Tú Féin in Aithne
===> Gailearaí an Láithreáin
===> Caifé / An Tábhairne / Ábhar Cainte Eile / Ilghnéitheach
-----------------------------
Italian Community
-----------------------------
=> Supporto
===> FAQ
===> Installazione
===> Moduli, Plugin, Snippet e altro codice
===> Web Design e Template
=> Documentazione, Tutorial e Traduzione
===> Documentazione
===> Tutorial
===> Traduzione
=> Comunità
===> Annunci
===> Presentazioni
===> Siti in vetrina
===> Chiacchiere in libertà
-----------------------------
Japanese Community
-----------------------------
=> サポート
===> 良くある質問
===> インストール
===> モジュール・プラグイン・スニペット・本体
===> デザインやテンプレート
=> マニュアル・テュートリアル・翻訳
===> マニュアル
===> 事例集、テュートリアル
===> 日本語化
=> コミュニティ
===> お知らせ
===> MODxサイト展示場
===> 自己紹介
===> 雑談
===> 国産リソース
-----------------------------
Persian Community
-----------------------------
=> پشتيباني
===> راهنما
===> نصب
===> ماژول , پلاگین ها , کد ها و جزییات
===> طراحی و قالب ها
=> مستند سازی , آموزش ها و ترجمه ها
===> مستند سازی
===> آموزش ها
===> ترجمه ها
=> انجمن ها
===> اخبار
===> معرفی کردن خود
===> نمایش دادن سایت ها
===> بحث های عمومی و سایر موضوعات
-----------------------------
Polish Community
-----------------------------
=> Wsparcie
===> FAQ
===> Instalacja
===> Moduły, pluginy, snipety i kod
===> Wygląd i szablony
=> Dokumentacja, tutoriale i tłumaczenie
===> Dokumentacja
===> Tutoriale
===> Tłumaczenie
=> Społeczność
===> Ogłoszenia
===> Przedstaw się
===> Twój serwis WWW
===> Hyde Park
-----------------------------
Portuguese Community
-----------------------------
=> Suporte
===> FAQ - Dúvidas Frequentes
===> Instalação
===> Módulos, Plugins, Snippets e Código
===> Design e Templates
=> Documentação, Guias e Traduções
===> Documentação
===> Guias
===> Traduções
=> Comunidade
===> Anúncios
===> Apresente-se!
===> Bar da esquina (fora de tópico)
===> Portfólio de Sites
-----------------------------
Russian Community
-----------------------------
=> Поддержка
===> ЧАВО (FAQ)
===> Установка
===> Модули, плагины, сниппеты и код
===> Дизайны и шаблоны
=> Документация, Уроки, Перевод
===> Документация
===> Уроки
===> Перевод
=> Сообщество
===> Объявления
===> Представьтесь публике
===> Галерея сайтов
===> Диван
-----------------------------
Scandinavian Community
-----------------------------
=> Support
===> Frågor och svar
===> Installation
===> Moduler, plugins, snippets och kod
===> Design & sidmallar
=> Dokumentation, guider och översättningar
===> Dokumentation
===> Guider
===> Översättningar
=> Webbgemenskap
===> Meddelanden
===> Presentera dig själv
===> Visa upp dina webbsidor
===> Ordet fritt
-----------------------------
Spanish Community
-----------------------------
=> Soporte
===> FAQ
===> Instalación
===> Modulos, Plugins, Snippets & Código
===> Diseño y plantillas
=> Documentación, Tutoriales y Traducciones
===> Documentatción
===> Tutoriales
===> Traducciones
=> Comunidad
===> Anuncios
===> Presentaciones personales
===> Muestra de sitios
===> El Café
-----------------------------
TÜRKÇE (Turkish)
-----------------------------
=> Destek
===> SSS
===> Kurulum
===> Modüller, Pluginler, Snippetlar & Kodlar
===> Dizayn & Temalar
=> Belgeleme, Eğitmenler ve Çeviri
===> Belgeleme
===> Eğitmenler
===> Çeviri
=> Topluluk
===> Duyurular
===> Kendinizi Tanıtın
===> Site Vitrini
===> Konu Dışı