Trigonometric and S symmetric solutions of triangle equations with variables on the faces