-
☆ A M B ☆
- 1,056 Posts
Quote from: worchyld at Apr 10, 2008, 07:55 AM
How do I get PHx to ask whether a document is a folder, or has other default document attributes?
ie:
[+phx:if=`isfolder`:isnot=``:then=`FOLDER`+]
Try creating a PHx Modifier snippet, this should be pretty easy using $modx->documentObject
http://wiki.modxcms.com/index.php/PHx/CustomModifiers
See post below... (Duh!--thx helio)
Hi,
[+phx:if=`[*isfolder*]`:isnot=`0`:then=`I’M A FOLDER`+]
:-)
are there any isset() functions for PHX, i couldn’t find anything about it.
Thanks...
ex: [+phx:isset=`[*longtitle*]`:`<h2>[*longtitle*]</h2>`+]
[*longtitle:isnot=``:then=`<h2>[*longtitle*]</h2>`*]
or if you wish [+phx:if=`[*longtitle*]`:isnot=``:then=`<h2>[*longtitle*]</h2>`+]
DirectResize 0.9 beta. PHPThumb, sets of configurations, configuration, binded to specific path. No backward compatibility. |
DirectResize 0.9. PHPThumb, наборы параметров, параметры, привязанные к определенным путям. Без обратной совместимости.
Unfortunately, DirectResize project is closed. If you want to continue development, PM me for access to project page on Google Code. К сожалению, проект DirectResize закрыт. Если вы желаете продолжить разработки, обращайтесь через ПМ для получения доступа к репозиторию на Google Code.
[PLUGIN] DirectResize - as Maxigallery but for single images ::
Download :: [url=
http://modxcms.com/forums/index.php/topic,21490]
Sorry for the newbie type question...
I installed the latest version of PHx and found that it turned off my Jot output when I had the custom place holders active. So my comments and form didn’t display at all. What do I need to do to allow PHx and Jot to co-exist?
Thanks
Now this is a real newbie question!:
I can see that PHx is really popular but I’m struggling to understand what the best implementation of it is - I really don’t understand what it does? I’ve read everything I can find but I think the example site is down at the moment so maybe that’s what I’m missing?
Many thanks...
I think I’m getting it - thank you