Wildcat Media
Well-known member
Before I begin working on something in frustration...
I am looking to customize the output of a third-party add-on that I downloaded. As an example, I want to move the extra information it provides to a line beneath where it is currently displaying, in the same template.
I realize that execution order will affect which modifications are applied first. But that isn't the question.
I also realize I have the option of turning off that particular template modification for the third-party add-on and creating my own, but I could foresee using the add-on and my modification in the future on another project, forgetting exactly what I did, and then wonder why it's not working as I want it to. Plus, I feel my own add-on should automatically take care of modifying the output of the third-party add-on without intervention.
But here's my somewhat convoluted question. Let's say the add-on's template modification is set for an execution order of 10. All it does is a simple replacement operation. In my new template modification, I'm not sure what I'd use in the Find: field. This is what I'm guessing: The add-on's template modification is applied, and that becomes the new template.
So if I wanted to modify that, wouldn't I have to set my Replace: field to include the portion of the template that includes the add-on's modification, and then modify it further from there? (I realize I'd have to set my execution order to a number higher than 10 to make it work.)
Or would I need two modifications? One to automatically undo the previous modification (execution order 11), and a second one to perform the modification I want to do (execution order 12)?
Again, I want to automate it so I don't have to worry about disabling the third-party add-on's template modification. More for my own sanity and ease of use in the future.
I am looking to customize the output of a third-party add-on that I downloaded. As an example, I want to move the extra information it provides to a line beneath where it is currently displaying, in the same template.
I realize that execution order will affect which modifications are applied first. But that isn't the question.
I also realize I have the option of turning off that particular template modification for the third-party add-on and creating my own, but I could foresee using the add-on and my modification in the future on another project, forgetting exactly what I did, and then wonder why it's not working as I want it to. Plus, I feel my own add-on should automatically take care of modifying the output of the third-party add-on without intervention.
But here's my somewhat convoluted question. Let's say the add-on's template modification is set for an execution order of 10. All it does is a simple replacement operation. In my new template modification, I'm not sure what I'd use in the Find: field. This is what I'm guessing: The add-on's template modification is applied, and that becomes the new template.
So if I wanted to modify that, wouldn't I have to set my Replace: field to include the portion of the template that includes the add-on's modification, and then modify it further from there? (I realize I'd have to set my execution order to a number higher than 10 to make it work.)
Or would I need two modifications? One to automatically undo the previous modification (execution order 11), and a second one to perform the modification I want to do (execution order 12)?
Again, I want to automate it so I don't have to worry about disabling the third-party add-on's template modification. More for my own sanity and ease of use in the future.