<![CDATA[ Include publishedon in Wayfinder output? - My Forums]]> https://forums.modx.com/thread/?thread=40706 <![CDATA[Re: Include publishedon in Wayfinder output?]]> https://forums.modx.com/thread/40706/include-publishedon-in-wayfinder-output?page=2#dis-post-235198 drwagner13 Mar 08, 2011, 09:29 PM https://forums.modx.com/thread/40706/include-publishedon-in-wayfinder-output?page=2#dis-post-235198 <![CDATA[Re: Include publishedon in Wayfinder output?]]> https://forums.modx.com/thread/40706/include-publishedon-in-wayfinder-output?page=2#dis-post-235197 https://github.com/splittingred/Wayfinder/issues]]> splittingred Mar 08, 2011, 09:19 PM https://forums.modx.com/thread/40706/include-publishedon-in-wayfinder-output?page=2#dis-post-235197 <![CDATA[Re: Include publishedon in Wayfinder output?]]> https://forums.modx.com/thread/40706/include-publishedon-in-wayfinder-output#dis-post-235196 BobRay Mar 08, 2011, 08:55 PM https://forums.modx.com/thread/40706/include-publishedon-in-wayfinder-output#dis-post-235196 <![CDATA[Re: Include publishedon in Wayfinder output?]]> https://forums.modx.com/thread/40706/include-publishedon-in-wayfinder-output#dis-post-235195 drwagner13 Mar 08, 2011, 08:39 PM https://forums.modx.com/thread/40706/include-publishedon-in-wayfinder-output#dis-post-235195 <![CDATA[Re: Include publishedon in Wayfinder output?]]> https://forums.modx.com/thread/40706/include-publishedon-in-wayfinder-output#dis-post-235194
I can think of these options:

1. Hack the Wayfinder code
2. Create a publishedon TV with an @EVAL binding that gets the publishedon value (not sure this would work) or save the publishedon date in it manually (that would work).
3. Use getResources instead of Wayfinder.
4. Write a custom snippet to use instead of Wayfinder.
]]>
BobRay Dec 26, 2010, 09:07 PM https://forums.modx.com/thread/40706/include-publishedon-in-wayfinder-output#dis-post-235194
<![CDATA[Re: Include publishedon in Wayfinder output?]]> https://forums.modx.com/thread/40706/include-publishedon-in-wayfinder-output#dis-post-235193
I’m sure you already did this, but if not, take a look in the DB and make sure the document you’re testing on *has* a published field setting.

What do you see if you include &debug=`1` in the parameters?]]>
BobRay Dec 26, 2010, 08:50 PM https://forums.modx.com/thread/40706/include-publishedon-in-wayfinder-output#dis-post-235193
<![CDATA[Re: Include publishedon in Wayfinder output?]]> https://forums.modx.com/thread/40706/include-publishedon-in-wayfinder-output#dis-post-235192 But the example given is: [[+my_TV]] which i understand as TV or settings resource fields (which are somewhat like reserved TV`s and we retrive them as same) pulled from each resource wayfinder rolling.
if we use it with `*` instead of `+` (as placeholder) it will give us the output of the tv for the page the snippet is called from.
correct me if i don’t getting this right.

Bob, i’ve tried that and it dosen’t work. I even tried all those options uncached, and still nothing.]]>
gOmp Dec 26, 2010, 05:37 PM https://forums.modx.com/thread/40706/include-publishedon-in-wayfinder-output#dis-post-235192
<![CDATA[Re: Include publishedon in Wayfinder output?]]> https://forums.modx.com/thread/40706/include-publishedon-in-wayfinder-output#dis-post-235191 BobRay Dec 26, 2010, 05:05 PM https://forums.modx.com/thread/40706/include-publishedon-in-wayfinder-output#dis-post-235191 <![CDATA[Re: Include publishedon in Wayfinder output?]]> https://forums.modx.com/thread/40706/include-publishedon-in-wayfinder-output#dis-post-235190 sottwell Dec 26, 2010, 10:04 AM https://forums.modx.com/thread/40706/include-publishedon-in-wayfinder-output#dis-post-235190 <![CDATA[Re: Include publishedon in Wayfinder output?]]> https://forums.modx.com/thread/40706/include-publishedon-in-wayfinder-output#dis-post-235189
I think you need to use pub_date instead of publishedon

  • publishedon - The date the Resource was published.
  • pub_date - The scheduled date for a Resource to be published.
so i guess he was right.

I reproduced this. I’m getting a blank instead of the placeholder which should have been there, no matter what settings resource fields i’m trying. maybe wayfinder isn’t process them.

(although in the documentation it’s said that:
With the current version of WayFinder in Revolution, you can access your own custom TVs by using a placeholder without the ’wf.’ prefix.
http://rtfm.modx.com/display/ADDON/Wayfinder#Wayfinder-TemplateVariables

_

https://github.com/splittingred/Wayfinder/issues (?) (:]]>
gOmp Dec 26, 2010, 09:05 AM https://forums.modx.com/thread/40706/include-publishedon-in-wayfinder-output#dis-post-235189