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
pub_date not work
<
1
2
>
MODX Staff
10,725 Posts
opengeek
Reply #11,
14 years, 2 months ago
Yes, you must refresh() the cache after adding Resources in order for them to be registered for auto-publishing.
$modx->cacheManager->refresh();
Jason Coward
Chief Architect @ MODX
http://www.jasoncoward.com
|
http://twitter.com/drumshaman
|
https://github.com/opengeek
42 Posts
EvoBunny
Reply #12,
14 years, 2 months ago
That did the trick!
Never knew about having to clear the cache after adding resources
Thanks again for all the help!
<
1
2
>