Hello all!
I know I am going to catch hell for this... I have been experimenting with tweaks to the excellent yget template and one of the things I'd like to try doing is adding a table to the template. Yes... Yes... I know the evil of tables and about CSS goodness. Fact remains that IE sucks and tables help balance it. So what would I like to do? Make the link summary section (part where the links and descriptions actually show up on the page) all one table with each new link a separate row. I know about making changes to the link_summary.tpl file but if I add the table files to that then I end up with each link+description as it's own table instead of each link*description being its own row of a table.
Being a noob to Smarty type templating I am confused as to how this can be achieved. What would be the best place to add the opening table tag to the main template so that the link_summary.tpl file has the tr and td tags?
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| Question re: mod of yget |
| ||||
|
This may not be the best way or the most efficient way but if you look in index_center.tpl (just one of the places that calls link_summary) You'll see Code: include('./libs/link_summary.php');
Code: echo '<table>';
include('./libs/link_summary.php');
echo '</table>';
-------- That was the first that that jumped to my mind but there is probably a much simpler way by editing /libs/link_summary.php where it actually pulls the links. If you use the first way you will need to edit every single file that has this code Code: include('./libs/link_summary.php');
__________________ I accept donations for my time helping users like you on the forum and IRC. |
| The Following User Says Thank You to kbeeveer46 For This Useful Post: | ||
| |||
|
That seems to work! Thanks! Not too bad either... A quick search shows index_center.tpl, search_center.tpl and shakeit_center.tpl include link_summary.php and so would require the table tag change. |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Yget won't switch to 'mobile' | neoshady | Template Support | 6 | 09-29-2008 03:32 AM |
| After switching templates, yget still shows | jlebeau | Customization Assistance | 5 | 08-11-2008 11:28 PM |
| Google adsense revenue sharing, question | dadaas | Modification Tutorials | 0 | 10-03-2007 01:13 PM |
| yget & Safari, and yget login tab | sunstardude | Template Support | 7 | 06-05-2007 07:49 AM |
| "Top Today" and "Queued News" not showing when I mod yget | pierrem | "yget" | 3 | 02-23-2007 11:55 AM |




Linear Mode

