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
beat the pyramid temple
you get the hammer in pyramid island
isle of ruins in the king's pyramid
the hammer is in the island that is in the 4th sea chart in the pyramid island.
finish goron temple, ice temple, and pyramid temple
The 4rth sea chart
no no no
up, right, right, up, and then up
phantom hourglass is released in 2007.
which part