Please can anyone offer some sound dietary advice on my mothers irritable bowel?

It has plagued her for years and seems to cause her no end of suffering, from bloating to cramping, loose stools to constipation.

She has been on peppermint capsules, and a mix of other mess from the doctors or over-the-counter. All with varying degrees of benefit.

Has anyone suffered this? And can offer any suggestions?