where can i change the default (yget) template to a two columns template?
i use pligg 9.9
/libs/link_summary.php ???
thanks for any help!
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| change 1 column to 2 columns (yget) |
| |||
|
solved it. 1. just open /libs/link_summary.php 2. look at the end of the file 3. and replace the code - starting with "if ($new_search) { foreach($new_search as $link_id)" - with that one: if ($new_search) { foreach($new_search as $link_id) { $link->id=$link_id; $link->read(); $link_summary_output .= $link->print_summary('summary', true); } } else { if ($links) { $i=0; $link_summary_output .= "<table>"; foreach($links as $link_id) { if($i%2==0) { $link_summary_output .= "<tr><td valign='top' width='50%'>"; $link->id=$link_id; $link->read(); $link_summary_output .= $link->print_summary('summary', true); } else { $link_summary_output .= "</TD><td valign='top' width='50%'>"; $link->id=$link_id; $link->read(); $link_summary_output .= $link->print_summary('summary', true); $link_summary_output .= "</td></tr>"; } $i++; } $link_summary_output .= "</table>"; } } if(isset($fetch_link_summary) && $fetch_link_summary == true){ $main_smarty->assign('link_summary_output', $link_summary_output); } else { echo $link_summary_output; } ?> |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Navbar yget color change | justdefend | General Help | 3 | 02-11-2008 10:33 PM |
| HELP: Continuos parse errors when trying to change the template code | juanmartinbravo | General Help | 7 | 01-26-2008 05:03 AM |
| right column not displaying correctly | RLCain | Template Support | 9 | 06-03-2007 05:05 PM |
| [Fixed] cannot change admin password v 9.1 - yget template | PurpleCow | Bug Report | 2 | 02-21-2007 01:08 AM |




Linear Mode

