I'm attempting to modify a small part of a template and do so by creating an addon which I would like to share when done. I've watched some videos explaining how to insert things into a template however I'm wanting to chop a bit out and replace it with something else.
So in my mind I have two problems as it currently stands.
1. I have absolutely no idea and have seen no example code explaining how to replace code within a template.
2. The template which I wish to modify only has one hook located in it which is of no use to me, however.... I have discovered that the template that's of interest to me is seems to be grouped with another template ie it's a child of so I figure I can use the parent and somehow hook into the child.
I realise that I'm rambling and if you need any clarification please ask because I need direction
Thanks in advance.