We launched new forums in March 2019—
join us there
.
In a hurry for help with your website?
Get Help Now!
Back to MODX.com
Forums
Docs
Revo Issues
Blog
My Forums
Products
Revo Discussions & Support
Revolution 2.2
Search
Answered
Is there any way to parse a Resource?
483 Posts
Fuzzical Logic
Reply #1,
14 years, 2 months ago
I have some need to parse a Resource via a Snippet. This is because the Resource's content may be gained from a Snippet. Is there any way to have ModX parse the Resource via a call?
This question has been answered by opengeek.
See the first response.
Website:
Extended Dialog
Development Blog:
on Extended Dialog
Add-ons:
AJAX Revolution
,
RO.IDEs Editor & Framework
(in works)
Utilities:
Plugin Compatibility List
Tutorials:
Create Cross-Context Resources
,
Cross-Context AJAX Login
,
Template-Based Actions
,
Remove Extensions from URLs
Failure is just another word for saying you didn't want to try. "It can't be done" means "I don't know how".
discuss.answer
MODX Staff
10,725 Posts
opengeek
Reply #2,
14 years, 2 months ago
Take a look at my
renderResources
extra for some ideas on rendering another Resource in it's entirety from within a script.
Jason Coward
Chief Architect @ MODX
http://www.jasoncoward.com
|
http://twitter.com/drumshaman
|
https://github.com/opengeek
483 Posts
Fuzzical Logic
Reply #3,
14 years, 2 months ago
Thanks again! Solved the problem.
Website:
Extended Dialog
Development Blog:
on Extended Dialog
Add-ons:
AJAX Revolution
,
RO.IDEs Editor & Framework
(in works)
Utilities:
Plugin Compatibility List
Tutorials:
Create Cross-Context Resources
,
Cross-Context AJAX Login
,
Template-Based Actions
,
Remove Extensions from URLs
Failure is just another word for saying you didn't want to try. "It can't be done" means "I don't know how".