|
|
#1 |
|
Member
Join Date: Sep 2008
Posts: 30
Rep Power: 3 ![]() |
Hi,
I've changed the extrafields code in the viewlistings template so that checkbox extra fields will display in multiple columns. Code:
{* Extra Fields *}
{foreach from=$extrafields item=extras}
<tr class="{cycle values='row1,row2' advance=true}">
<td><strong>{$extras.title}:</strong></td>
<td>
{if isset($extras.value)}
{html_table loop=$extras.value cols=3 table_attr='border="0" cellpadding="2"' trailpad=""}
{/if}
</td>
</tr>
{/foreach}
{* End Extra Fields *}
I have been unable to figure out how to add a seperator (bullet before or comma after) each of the multiple results returned for each checkbox fields. Is this possible? Any help would be appreciated. Thanks Using 4.09 Designer |
|
|
|
|
|
#2 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,847
Rep Power: 111 ![]() |
Using the html_table plugin limits what you can do. Basically you can only pass an array in and it displays that inside the table. Another option would be to manually do it with some smarty math. Check out the default home.tpl on how I did it.
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | 68 @ Twitter | My Modules |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help needed changing viewlistings | sunshinemike | HTML, CSS, and Design Help | 1 | 02-18-2009 07:48 AM |
| Display First Name and Last Name in Viewlistings | nagrap2 | v4 Questions & Support | 3 | 01-16-2009 01:11 PM |
| viewlistings and custom fields | summer | v3.1 Modules & Modifications | 16 | 10-04-2006 03:44 AM |
| Changing viewlistings.tpl layout | GSP | v3.1 Modules & Modifications | 0 | 05-16-2006 03:12 PM |
| viewlistings problem | 7standing7 | v3.0 Questions & Support | 5 | 04-01-2006 10:23 AM |