1
One of the problems with the SmartSections module is the way the categories and subcategories are listed. As it is, they are in a single column that, depending on the number of them, can continue down a page for ever.
I've made two screenshots that show what I'm refering to.
The first one is the way SmartSections displays the categories. The second picture shows how I want them to display.
Before:
http://www.portdreams.com/xt/uploads/support/before.jpgAfter:
http://www.portdreams.com/xt/uploads/support/after.jpgThe second one is just the following html code:
<table class="outer" align="center" border="0" cellpadding="0" cellspacing="1" width="90%">
<tbody>
<tr>
<td width="12%" align="left" class="itemHead"> td>
<td width="20%" align="left" class="itemHead"> td>
<td width="3%" align="left" class="itemHead"> td>
<td width="14%" align="left" class="itemHead"> td>
<td width="43%" align="left" class="itemHead"> td>
tr>
<tr>
<td class="even" align="right" valign="middle"> <b><a href="http://localhost/test/modules/smartsection/category.php?categoryid=1">Ciscoa>b> td>
<td class="odd" align="left" valign="middle"><div style="padding-left: 10px;">
<ul>
<li>
<a href="http://localhost/test/modules/smartsection/category.php?categoryid=2">Routera>li>
<li> <a href="http://localhost/test/modules/smartsection/category.php?categoryid=3">Switcha> li>
ul>
div>td>
<td class="even" align="left" valign="middle"> td>
<td class="even" align="right" valign="middle"> <b><a href="http://localhost/test/modules/smartsection/category.php?categoryid=9">Novella>b> td>
<td class="odd" align="left" valign="middle"><div style="padding-left: 10px;">
<ul>
<li>
<a href="http://localhost/test/modules/smartsection/category.php?categoryid=10">NetWare 5.1 - 6.5a>li>
<li> <a href="http://localhost/test/modules/smartsection/category.php?categoryid=11">NetWare OES Linuxa> li>
ul>
div>td>
tr>
<tr>
<td colspan="5" align="left" valign="middle" class="odd"><div style="padding-left: 10px;">
div> <div style="padding-left: 10px;">
div> <div style="padding-left: 10px;">
div> <div style="padding-left: 10px;">
div> <div style="padding-left: 10px;">
<span class="smartsection_category_dsc">span> div>td>
tr>
<tr>
<td class="even" align="right" valign="middle"> <b><a href="http://localhost/test/modules/smartsection/category.php?categoryid=6">HPa>b> td>
<td class="odd" align="left" valign="middle"><div style="padding-left: 10px;">
<ul>
<li>
<a href="http://localhost/test/modules/smartsection/category.php?categoryid=7">Routera>li>
<li><a href="http://localhost/test/modules/smartsection/category.php?categoryid=8">Switcha> li>
ul>
div>
td>
<td class="even" align="left" valign="middle"> td>
<td class="even" align="right" valign="middle"> <b><a href="http://localhost/test/modules/smartsection/category.php?categoryid=14">Microsofta>b> td>
<td class="odd" align="left" valign="middle"><div style="padding-left: 10px;">
<ul>
<li>
<a href="http://localhost/test/modules/smartsection/category.php?categoryid=16">Windows 2000a> li>
<li> <a href="http://localhost/test/modules/smartsection/category.php?categoryid=17">Windows 2003a>li>
<li>
<a href="http://localhost/test/modules/smartsection/category.php?categoryid=18">Windows XPa>li>
ul>
div>td>
tr>
<tr>
<td colspan="5" align="left" valign="middle" class="odd"><div style="padding-left: 10px;">
div> <div style="padding-left: 10px;">
div> <div style="padding-left: 10px;">
div>td>
tr>
tbody>
table>
So, what I want to do is put in my table below the "Categories Summaries" and above the "Last Published Articles".
In the smartsection_index.html template file, I don't know which code to take out and where to put my table code. Is this something anyone can help me with? Also, is there anything that would need to be changed (deleted) in the coresponding php file?
Thanks.