Dynamic Publish/Unpublish Action Not Working

da darrenhallinan 26 Mar, 2019
1 Likes
Bug: Dynamic Publish/Unpublish Action Not Working
​
It seems the switch event is not being displayed or the result of the switch function is not being displayed.
​
Ill make reference to the Demo "dynamic actions" as the issue is on the demo also
​
I am referring to the "choose_article_publish_link" switch function which displays a task button in the list based on the current published status of the article
​
its simply not displaying anything
​
CC Version 6.0.10
​
Joomla 3.9.4
he healyhatman 26 Mar, 2019
If it's set to switch on true/false try making it on 0/1 instead
da darrenhallinan 27 Mar, 2019
Hi Healyhatman
​
I spotted that issue where the switch looks for a read data returns empty.
​
but this switch checks a value of a the published column for each row, 0/1 so the value will be a zero or one
​
take a look at the demo titled dynamic actions
he healyhatman 27 Mar, 2019
You're right it's not working. It's not working for my other forms either that used the same functionality .
​
WHAT'S WORKING (for me): The form is correctly published / unpublished
WHAT'S NOT WORKING (for me): The button is not correctly replaced after clicking.
​
And it's the replacement that's not happening, not anything to do with the switches. I put text in the publish event and it doesn't show.
teldrive teldrive 27 Aug, 2019
I also detected that inside an article with ccv6 plugin is not showed {chronoconnectivity6}demo_dynamic{/chronoconnectivity6}
This topic is locked and no more replies can be posted.