Hi pablito,
From your description it sounds like the gate hinges are centrally mounted in the posts/walls. Suggest you resite the hinges so that the operating mechanism will be outside the wall. Cutting a channel you describe in a 6ft wall is a recipe for a disaster.
Regards S