I have been searching every where like for weeks then gave up then started looking again. I found sites with explinations but was super confusing, then came across this and it made me a HAPPY MAN! just what i had wanted and what i was looking for.
Saves me doing changes to the templates and codes (phew) :)
Thanks a million.