-
MODX Staff
- 10,725 Posts
You can use the new Freeze URI feature and specify the complete URI for Resources you do not want to include parent aliases when use_alias_path is enabled, or for those you do want to have custom parent paths, if disabled.
Thanks Jason. The Freeze URI option is some help, but it is certainly no replacement for being able to ignore alias path for an entire container. It's a problem when you have a lot of resources of both types as you have to edit a lot of resources either way.
I think this needs to be an added feature, but I would also love to see the "Batcher" plugin expanded to allow mass editing of any resource field and not just tvs. If I could apply Freeze URI checkbox to all resources using a specific template for example with Batcher that would ease the pain for situations like this and many others.
[ed. note: bmilton last edited this post 15 years, 1 month ago.]
Hi Guys,
I have a question that probably matches this thread.
Is it possible with a snippet to Set the Freeze URL to On, and then add the required URI?
I am haveing users create docs and want all of one container to have frozen URIs.
Stuart
I think it would have to be a plugin connected to OnBeforeDocFormSave.
It's definitely doable, and I don't think it would be very complicated.
Hi smcilreavy, did you ever get to try the plugin approach BobRay mentioned? Did you get it to work?
I would also like to freeze the URI for all documents in one container (remove the container's name from the URI's). But I'm not sure how to do it. I'm going to try some things and I'll report back if anything works.