Message Text |
I have three link types: reciprocal, regular and simple. Reciprocal and regular display in two columns and are exactly the same except people either pay a submission fee (which becomes a regular link) or they have to place a reciprocal link to get into the directory.
The simple links only list business name, address, phone and I have them displaying in four columns at the bottom of the page.
To get this to work I had to place a few lines of code in index.php, which override the admin setting for link columns. Here's an example of what you would insert around line 667.
if ($thelink->type == 'regular') {$linkcolumns = 2;}
if ($thelink->type == 'recip') {$linkcolumns = 2;}
if ($thelink->type == 'simple') {$linkcolumns = 4;}
It is working pretty well for me so far. |