Greetings All !
mothra,
"...unless I get it up in the rock work like yours."
With regards to lighting, we have two choices. Either we deliver the light to the clam (... metal halides ...), or, we deliver the clam to the lights (... elevating the clam to the upper water column ...).
Since you're using T5 lighting, I suggest elevating the clam.
"Do all clams tolerate being placed in the rockwork or do some species prefer sandy bottom?"
Tridacna crocea actually excretes chemicals that allow it to "dig" into calcium/limestone based rocks ... hence one of it's common names, "Boring Clam."
"Do all clams tolerate being placed in the rockwork or do some species prefer sandy bottom?"
I've had success placing clams onto rocks, substrate, and areas with neither rocks nor substrate. What's important is that the animal have a firm point of attachment, correct light source, correct current, etc ... . BTW, the clam will let you know if it's not happy where you've placed it ... too much mantle extension, too little mantle extension, repeated efforts to dislodge itself from its placement ... .
If you haven't already come across it, "Giant Clams. A Comprehensive Guide to the Identification and Care of Tridacnid Clams" (Daniel Knopp, 1996), is a great book ... .
HTH.