Hello,
I have a list that I display as a table with template seb_table.
I have multiple fields in one column, e.g. first name, last name, address.
Now each of fields gets displayed in a new row like this:
first name
last name
address
This is because they are wrapped like this
<div>first name</div>
<div>last name</div>
<div>address</div>
I need to display them like
first name last name
address
How can I get rid of the wrapping divs?
I tried different variations but no matter what variation I choose (Default, Empty, None,joomla, seb_css3, the output is always the same.
See also my post here.
I also tried putting a file markup.php in seb_table/fields. The content of seb_table/fields/markup.php is
<?php
/**
* @version SEBLOD 3.x Core
* @package SEBLOD (App Builder & CCK) // SEBLOD nano (Form Builder)
* @url http://www.seblod.com
* @editor Octopoos - www.octopoos.com
* @copyright Copyright (C) 2013 SEBLOD. All Rights Reserved.
* @license GNU General Public License version 2 or later; see _LICENSE.php
**/
defined( '_JEXEC' ) or die;
// The markup around each field (label+value/form) can be Overridden.
// Remove the underscore [_] from the Filename. (filename = markup.php)
// Edit the function name:
// - fields/markup.php => cckMarkup_[template]
// - fields/[contenttype]/markup.php => cckMarkup_[template]_[contenttype]
// - fields/[searchtype]/markup.php => cckMarkup_[template]_[searchtype]
// Write your Custom Markup code. (see default markup below)
// cckMarkup
function cckMarkup_seb_table( $cck, $html, $field, $options )
{
return $html;
}
?>
This method works fine for me in other templates (seb_blog, minima etc). But it seems to have no effect on the seb_table template output. The wrapping divs are still there.
How would you go about this?
Any answers would be really appreciated.