after a couple of hours stumbling on the forums i think i have to use the @SELECT functions to read from the gregarious database. Am i correct?
-
☆ A M B ☆
- 24,524 Posts
No, the @SELECT Template Variable binding explicitly queries the MODx database. With a snippet, you can directly query any database you can get access to, as with any other PHP code. If you really want to use a TV for some reason, you can use regular PHP code with the @EVAL binding. I wouldn’t recommend it though. I’d be inclined to make an AJAX app out if it myself.
Thank you. In other words: I have to convert gregarius to an snippet. Am i correct on this?
Is modx capable of searching within the gragarius database when it’s included in an snippet. I fear not.... (??)
DO a search and read on the FEEDx snippet, it is very good in
reading and formatting RSS feeds of all kinds... maybe it will
work with your app....
Website: www.mercologia.com
MODX Revo Tutorials: www.modxperience.com
MODX Professional Partner
I already tried FeedX. There’s nothing wrong with that snippet but it can’t "remember" posts. I want to integrate a full (imported) news site.
Wow thanks for that tip! Sounds promising. Ill keep you updated.