<![CDATA[ Hoverhelp does not work in NewsPublisher 3? - My Forums]]> https://forums.modx.com/thread/?thread=103209 <![CDATA[Hoverhelp does not work in NewsPublisher 3?]]> https://forums.modx.com/thread/103209/hoverhelp-does-not-work-in-newspublisher-3#dis-post-555402 frischnetz Nov 21, 2017, 04:48 PM https://forums.modx.com/thread/103209/hoverhelp-does-not-work-in-newspublisher-3#dis-post-555402 <![CDATA[Re: Hoverhelp does not work in NewsPublisher 3?]]> https://forums.modx.com/thread/103209/hoverhelp-does-not-work-in-newspublisher-3#dis-post-555583
Thanks for discovering the problem and testing the solution.

]]>
BobRay Nov 30, 2017, 10:56 PM https://forums.modx.com/thread/103209/hoverhelp-does-not-work-in-newspublisher-3#dis-post-555583
<![CDATA[Re: Hoverhelp does not work in NewsPublisher 3?]]> https://forums.modx.com/thread/103209/hoverhelp-does-not-work-in-newspublisher-3#dis-post-555543
Will this be included in the next release of NewsPublisher?]]>
frischnetz Nov 30, 2017, 09:35 AM https://forums.modx.com/thread/103209/hoverhelp-does-not-work-in-newspublisher-3#dis-post-555543
<![CDATA[Re: Hoverhelp does not work in NewsPublisher 3?]]> https://forums.modx.com/thread/103209/hoverhelp-does-not-work-in-newspublisher-3#dis-post-555522
$replace['[[+npx.help]]'] = $this->modx->getOption('hoverhelp', $this->props, false, true)? $description : '';
]]>
BobRay Nov 29, 2017, 05:45 PM https://forums.modx.com/thread/103209/hoverhelp-does-not-work-in-newspublisher-3#dis-post-555522
<![CDATA[Re: Hoverhelp does not work in NewsPublisher 3?]]> https://forums.modx.com/thread/103209/hoverhelp-does-not-work-in-newspublisher-3#dis-post-555491 Quote from: BobRay at Nov 27, 2017, 10:41 PM
This line should be around line 1453 of the newspublisher.class.php file (under core/components/newspublisher/model/newspublisher/).

$replace['[[+npx.help]]'] = $this->modx->getOption('hoverhelp', $description, '', true);


I believe it should be:

$replace['[[+npx.help]]'] = $this->modx->getOption('hoverhelp')? $description : '';

This was the right place to look, but the suggested solution did not work. But I think this could be correct:

$replace['[[+npx.help]]'] = $this->modx->getOption('hoverhelp', $this->props, false)? $description : '';


(It works for me)

Thanks for the help!
]]>
frischnetz Nov 28, 2017, 12:20 AM https://forums.modx.com/thread/103209/hoverhelp-does-not-work-in-newspublisher-3#dis-post-555491
<![CDATA[Re: Hoverhelp does not work in NewsPublisher 3?]]> https://forums.modx.com/thread/103209/hoverhelp-does-not-work-in-newspublisher-3#dis-post-555487
$replace['[[+npx.help]]'] = $this->modx->getOption('hoverhelp', $description, '', true);


I believe it should be:

$replace['[[+npx.help]]'] = $this->modx->getOption('hoverhelp')? $description : '';


It should use the description of the TV as the hover help.]]>
BobRay Nov 27, 2017, 10:41 PM https://forums.modx.com/thread/103209/hoverhelp-does-not-work-in-newspublisher-3#dis-post-555487
<![CDATA[Re: Hoverhelp does not work in NewsPublisher 3?]]> https://forums.modx.com/thread/103209/hoverhelp-does-not-work-in-newspublisher-3#dis-post-555477 Quote from: BobRay at Nov 27, 2017, 07:39 AM

It could be a problem with the :notags filter itself, or a more general problem with a filter used on a language tag.

Is there anything relevant in the MODX Error log?

No, I created a minimal example with minimal template and I still got no help tags (descriptions) for TVs. They only work for regular MODX-fields like [[*pagetitle]] and the like. The page created no errors.

I checked ":notags". It works in principle.]]>
frischnetz Nov 27, 2017, 04:13 PM https://forums.modx.com/thread/103209/hoverhelp-does-not-work-in-newspublisher-3#dis-post-555477
<![CDATA[Re: Hoverhelp does not work in NewsPublisher 3?]]> https://forums.modx.com/thread/103209/hoverhelp-does-not-work-in-newspublisher-3#dis-post-555463
[[%resource_' . $field . '_help:notags]]


It could be a problem with the :notags filter itself, or a more general problem with a filter used on a language tag.

Is there anything relevant in the MODX Error log?]]>
BobRay Nov 27, 2017, 07:39 AM https://forums.modx.com/thread/103209/hoverhelp-does-not-work-in-newspublisher-3#dis-post-555463
<![CDATA[Re: Hoverhelp does not work in NewsPublisher 3?]]> https://forums.modx.com/thread/103209/hoverhelp-does-not-work-in-newspublisher-3#dis-post-555434 Quote from: BobRay at Nov 22, 2017, 08:41 PM
I'm not aware of any changes to that, but I'll try to find time to take a look.

Do you have this in your NewsPublisher tag?

&hoverhelp=`1`

Yes, as before when I used Version 2.

Apart from that, everything seems to work as before (or better). The name of the placeholder has not changed, has it?]]>
frischnetz Nov 23, 2017, 03:22 PM https://forums.modx.com/thread/103209/hoverhelp-does-not-work-in-newspublisher-3#dis-post-555434
<![CDATA[Re: Hoverhelp does not work in NewsPublisher 3?]]> https://forums.modx.com/thread/103209/hoverhelp-does-not-work-in-newspublisher-3#dis-post-555422
Do you have this in your NewsPublisher tag?

&hoverhelp=`1`
]]>
BobRay Nov 22, 2017, 08:41 PM https://forums.modx.com/thread/103209/hoverhelp-does-not-work-in-newspublisher-3#dis-post-555422