PDA

View Full Version : Getting individual info fields



MG
03-29-2004, 03:43 PM
Is there a way to pull out each field from the DB one by one? I want to really customize the layout of my listings and it's a real pain since they're in these "upper-left" / "upper-right" categories and the file doesn't call them individually.

I also want to put the info on listing_browse in a different order than listingview and I think this is a similar problem with the same solution.

Thanks for all the help! I will be sure to post up my templates when I am done as I've taken out a lot of stuff that other people may find usefull too.

RealtyOne
03-29-2004, 05:07 PM
the text is incorrect but look around and you will find the correct function for this.

This will display the listing info with no formating.
renderlistingsinforaw($listingID,'price');
where price is in the listing elements so price can be any row/colom you like.
just get the function name correct before trying to use this. :)

MG
03-29-2004, 05:58 PM
Perfect, thanks. The function is renderSingleListingItem($listingID, $name) and it also displays the caption, but I just edited that part out of style.php