How to edit main_template.pt?

hello can anyone help to edit macros? I am using plone 3

use z3c.jbot to ovewrite arbitrary templates from within your own policy package.

https://www.plone-entwicklerhandbuch.de/anhang/praxisbeispiele/z3c.jbot

-aj