This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

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

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.