10 years ago
5
Topic
Hi :)
I know how to put 2 fields side by side in the old seblod version (http://www.seblod.com/v2/forum/105-General-Discussions/23804-2-fields-side-by-side-.html), but in the new one?
Get a VIP membership
10 years ago
1
Level 1
Hello Nuzzina,
nothing changed for that.
You can continue to use the seb_css3 variation to display fields "Horizontaly".
When you do that, you can set the "with". For example, if you want 3 fields on a line, set "33%" for the width parameter.

Regards.
Lionel

10 years ago
0
Level 2
But I can't see seb_css3...


10 years ago
0
Level 1
Hello Lionel,

thank you for clarifying this.

Is this also possible for seb_table template? I want to show several fields in one column of the table next to each other. When I choose variation seb_css3, nothing changes. See also my thread here.

Cheers
Gerhard
10 years ago
1
Level 1
Hello All,

@Nuzzina
seb_css3 is not removed, so if you have a normal installation of SEBLOD you must see it.
Which version of Joomla & SEBLOD are you using?

@Gebeer
In the seb_table, override position and variation are not working.
To adapt the render in a column, the best way is to use the plugin code "Before Render".
You put all your desired fields in the column with the typo "Clear" exept 1 field, this which will be displayed..
Then in the Before Render you can modify the value of this displayed field, something like that :

$custom_content = $fields['field1']->value . '<div>' . $fields['field2']->typo . '</div>';
$custom_content .= '<a href="'.$fields['field3']->link.'">' . $field['field3']->text . '</a>';
.....
then
$fields['field_displayed']->value = $custom_content;

it an exemple. If you want to see all properties you can use, simply make a var_dump on the $fields.
You can also remove some fields from the array $fields, like "unset( $fields['field2'] );",

regards.
Lionel
10 years ago
0
Level 2
I use Seblod 3.2.2 and Joomla! 2.5.17
Get a Book for SEBLOD