I dont know whether your talking about Ifrits temple or Ixions so I'll put both:
Ifrit's Cloister of Trials in Kilika Island
The first thing you see is a pedestal. Approach it and take the nice fiery Kilika Sphere. Put the sphere into that slot by the door, causing it to burn. Grab the sphere and head on through the door. Put the sphere into the slot on the north wall. Take it out, and put it in on the slot on the left wall. Touch any Glyphs that appear. It should open up a wall. Take the blue sphere from the Pedestal and put it into a slot on the right side. GO through the wall opening and into a room with fire. Step on the symbols on the floor causing the pedestal to appear in the room. Take the red fiery sphere from the right wall and pop it into the pedestal. Now place the blue sphere form the previous room into that slot which ignites the fire. The fire is burned out. Push the pedestal into the slot on the floor and cross the gap. Go ahead and place the sphere you find down in the gap by the northern door. Take it out, burning the door, and make your way through.
Ixion's Cloister of Trials in Djose Temple
Take the two spheres in this room and insert them into the slots by the door. Go through.
Next, take 1 of the spheres by the door and insert it into the farthest right slot in the room.
Take the other sphere and insert it into the other slot on the far right of the room. This causes the pillar above to become charged.
Take the pedestal with the sphere in it, and push it under the charged pillar. This charges the sphere on the pedestal.
Take the charged Sphere and insert it into the slot by the door in this room.
Go to the far left of the room with the pedestal and step on the floor glyph.
Grab the two spheres that are charging the pillar on the ceiling, and put them into the pedestal.
Now, push the Pedestal with the spheres into the Pit of lighting in the room to the north. This disables the electricity.
Go across the lightning pit and push the pedestal inwards.
Jump back to the main room. Step on the floor glyph on the far left again to recover the pedestal.
Take both spheres from the pedestal, and put the into the two slots all the way back into the entrance room.
Go back to the pedestal room and take the charged sphere. Put it into the slot to the left of the door leading to the lightning pit.
Go to the pedestal and ride the new platform up. On this level, go to all 5 pedestals in the rooms, and push them into the wall as far as they go. This unlocks a staircase.
Ride to the lower level. Go to the far left in the room and touch the glyph on the wall. This reveals a destruction sphere.
Go back to the higher level and place the destruction sphere into the pedestal. Receive your prize, then climb the stairs.
Source:
www.galbadiax.com/ffx