View Single Post
  #2  
Old 08-06-2014, 02:26 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 396,125
Hall of Famer is on a distinguished road
Default

In script file view/adoptview.php, you can find this for loop at around line 40:

PHP Code:
        for($i 0$i $adopts->length(); $i++){
            
$row = new TRow;
            
$idCell = new TCell(new RadioButton("""id"$adopts[$i]->getID()));                
            
$imageCell = new TCell(new Image($adopts[$i]->getEggImage(), $adopts[$i]->getType()));
            
$imageCell->setAlign(new Align("center"));
                
            
$type = new Comment($adopts[$i]->getType());
            
$type->setBold();
            
$description = new Comment($adopts[$i]->getDescription(), FALSE);
            
$typeCell = new TCell;
            
$typeCell->add($type);
            
$typeCell->add($description);            

            
$row->add($idCell);
            
$row->add($imageCell);
            
$row->add($typeCell);
            
$adoptTable->add($row);
        } 
You can change it to this:

PHP Code:
        for($i 0$i $adopts->length(); $i++){
            
$row = new TRow;
            
$idCell = new TCell(new RadioButton("""id"$adopts[$i]->getID()));                
            
$imageCell = new TCell(new Image($adopts[$i]->getEggImage(), $adopts[$i]->getType()));
            
$imageCell->setAlign(new Align("center"));

            
$row->add($idCell);
            
$row->add($imageCell);
            
$adoptTable->add($row); 
Thus the cell that contains type/description will be gone, but keep in mind your site may look a bit weird with some blank space that doesnt fit well. Lemme know if anything weird happens. ^^
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote