I don't remember the exact details of the temple, so there is a very good website I use for walkthroughs myself. The link is below:
http://www.zeldadungeon.net/Zelda12-phantom-hourglass-walkthrough-02.php#2_2
There may be the occasional typo, but I think you'll understand what they are saying.
yes you get them in pyramid island temple
go north,east,east,north,north
you get the hammer in pyramid island
beat the pyramid temple
isle of ruins in the king's pyramid
finish goron temple, ice temple, and pyramid temple
the hammer is in the island that is in the 4th sea chart in the pyramid island.
The 4rth sea chart
no no no
phantom hourglass is released in 2007.
up, right, right, up, and then up
which part