1
JamesSAEP
Static Index Page for SmartSections Module
  • 2006/1/27 21:50

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


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.jpg

After:
http://www.portdreams.com/xt/uploads/support/after.jpg


The 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">&nbsp;td>
      <
td width="20%" align="left" class="itemHead">&nbsp;td>
      <
td width="3%" align="left" class="itemHead">&nbsp;td>
      <
td width="14%" align="left" class="itemHead">&nbsp;td>
      <
td width="43%" align="left" class="itemHead">&nbsp;td>
      
    tr>
    
    <
tr>
      <
td class="even" align="right" valign="middle">          &nbsp;<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">Switchali>
          ul>
      div>td>
      <
td class="even" align="left" valign="middle">&nbsp;td>
      <
td class="even" align="right" valign="middle">&nbsp;<b><a href="http://localhost/test/modules/smartsection/category.php?categoryid=9">Novella>btd>
      <
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 Linuxali>
          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">spandiv>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">Switchali>
          ul>
      div>
      td>
      <
td class="even" align="left" valign="middle">&nbsp;td>
      <
td class="even" align="right" valign="middle">&nbsp;<b><a href="http://localhost/test/modules/smartsection/category.php?categoryid=14">Microsofta>btd>
      <
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 2000ali>
            <
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.

Login

Who's Online

338 user(s) are online (253 user(s) are browsing Support Forums)


Members: 0


Guests: 338


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits