michalisefstathiou56628
michalisefstathiou56628

Hi guys, I am trying to make vdlp.redirect automatically log a redirect when a static page in the rainlab.pages plugin has its url edited

according to the documentation, I need to fire the vdlp.redirect.toUrlChanged event, and pass in the old and new slug, like so:

Event::fire('vdlp.redirect.toUrlChanged', [$oldSlug, $newSlug]);

I do that but nothing gets logged, I feel like i'm missing a step, has anyone dones this before and can help me out?

mjauvin
mjauvin

Did you write to the Author about this?

michalisefstathiou56628
michalisefstathiou56628

mjauvin said:

Did you write to the Author about this?

yes, but in the meantime I found in the changelog that integration with rainlab pages was recently removed, I am attempting to make my own implementation

1-3 of 3