revising front page to several column revising front page to several column
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

revising front page to several column

Started by stock, September 24, 2005, 09:33:49 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

stock

Hello

I found some very useful text in your mods section but it says to post any queries elsewhere, so here goes.

I adapted my front page to have three columns and have done some tweaks to make this work. However, I not have a gap at the top of the 2nd and 3rd column and cannot see where this is happening. I dont think it is in theme but may be wrong. Could someone advise please? A scrrenshot is attached to clarify what is happening.

Thanks
Stock

stock

Hello,

after many hours of delving, I seem to have solved this. I'm afraid I can't give you all the code that was changed as it's way past when I used it. But if you look in mods as mentiioned in my previous post, you can get to the mod that was created to change the category front page into several boxes.

So, having put in the new code as mentioned, search for the following (after the note) as this has a bearing on the display. I hope this may be of some help to anyone. This is in theme.php and I changed the if...==   from 3 to 2.

Stock

please  now call this solved, thanks.


//the following figure has a bearing on the display of the catalogue thumbnails. Set at 3 gives a gap at top of 2nd and third column
If ($count%$columnCount==2) {
echo "</tr><tr>";
}
$count++;
   }
echo "</tr>";

spacebass5000

which mod did you use to have a multicolumn category listing? i am looking through em all and none of them have any docs that explain what they do...